merged testing

This commit is contained in:
Martin Folkerts 2024-03-05 09:40:46 +01:00
commit e996a274db
20 changed files with 790 additions and 290 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
weeks_ago="0" weeks_ago="0"
data_dir="chemba"
# Parse command line arguments # Parse command line arguments
for arg in "$@"; do for arg in "$@"; do
@ -8,18 +9,24 @@ for arg in "$@"; do
--weeks_ago=*) --weeks_ago=*)
weeks_ago="${arg#*=}" weeks_ago="${arg#*=}"
;; ;;
--data_dir=*)
data_dir="${arg#*=}"
;;
*) *)
echo "Unknown option: $arg" echo "Unknown option: $arg"
exit 1 exit 1
;; ;;
esac esac
shift
done done
# Check if required arguments are set # Check if required arguments are set
if [ -z "$weeks_ago" ]; then if [ -z "$weeks_ago" ] || [ -z "$data_dir" ]; then
echo "Missing arguments. Use: build_mosiac.sh --weeks_ago=3" echo "Missing arguments. Use: build_mosiac.sh --weeks_ago=3 --data_dir=chemba"
exit 1 exit 1
fi fi
echo 2_CI_data_prep.R $weeks_ago $data_dir
cd ../r_app cd ../r_app
Rscript 2_CI_data_prep.R $weeks_ago Rscript 2_CI_data_prep.R $weeks_ago $data_dir

View file

@ -36,11 +36,14 @@ public function __construct(ProjectDownload $download, Carbon $date,)
*/ */
public function handle(): void public function handle(): void
{ {
logger(json_encode($this->download->project->getBoundingBoxesAsArray()));
$command = [ $command = [
sprintf('%srunpython.sh', base_path('../')), sprintf('%srunpython.sh', base_path('../')),
sprintf('--date=%s', $this->date->format('Y-m-d')), sprintf('--date=%s', $this->date->format('Y-m-d')),
sprintf('--days=%d', $this->days), sprintf('--days=%d', $this->days),
sprintf('--project_dir=%s', $this->download->project->download_path), sprintf('--project_dir=%s', $this->download->project->download_path),
sprintf('--bbox=%s', json_encode($this->download->project->getBoundingBoxesAsArray())),
]; ];
$process = new Process($command); $process = new Process($command);

View file

@ -44,9 +44,9 @@ public function handle(): void
$command = [ $command = [
sprintf('%sbuild_mosaic.sh', $projectFolder), sprintf('%sbuild_mosaic.sh', $projectFolder),
sprintf('--weeks_ago=%s', $weeksAgo), sprintf('--weeks_ago=%s', $weeksAgo),
sprintf('--data_dir=%s', $this->mosaic->project->download_path),
]; ];
$process = new Process($command); $process = new Process($command);
$process->setTimeout(220); $process->setTimeout(220);
$currentPath = '/usr/bin:/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin/Users/mfolkerts/anaconda3/bin:/Library/Apple/usr/bin'; $currentPath = '/usr/bin:/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin/Users/mfolkerts/anaconda3/bin:/Library/Apple/usr/bin';

View file

@ -5,12 +5,15 @@
use App\Models\Project; use App\Models\Project;
use App\Models\ProjectBoundingBox; use App\Models\ProjectBoundingBox;
use App\Models\ProjectEmailRecipient; use App\Models\ProjectEmailRecipient;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule; use Illuminate\Validation\Rule;
use Livewire\Component; use Livewire\Component;
use Livewire\WithFileUploads;
class ProjectManager extends Component class ProjectManager extends Component
{ {
use WithFileUploads;
public $formData = []; public $formData = [];
@ -23,6 +26,8 @@ class ProjectManager extends Component
public $showMailSettingsModal = false; public $showMailSettingsModal = false;
public $projectIdBeingDeleted; public $projectIdBeingDeleted;
public $span_json_path;
public $pivot_json_path;
/** /**
* Mount the component. * Mount the component.
@ -34,6 +39,7 @@ public function mount()
$this->resetFormData(); $this->resetFormData();
} }
public function editProject(Project $project) public function editProject(Project $project)
{ {
$this->showProjectModal = true; $this->showProjectModal = true;
@ -49,6 +55,10 @@ public function editMailSettings(Project $project)
private function loadFormData(Project $project) private function loadFormData(Project $project)
{ {
$this->formData = $project->toArray(); $this->formData = $project->toArray();
$this->pivot_json_path = $this->formData['pivot_json_path'];
$this->formData['pivot_json_path'] = null;
$this->span_json_path = $this->formData['span_json_path'];
$this->formData['span_json_path'] = null;
$this->formData['boundingBoxes'] = $project->boundingBoxes->toArray(); $this->formData['boundingBoxes'] = $project->boundingBoxes->toArray();
$this->formData['mail_recipients'] = $project->emailRecipients->toArray() ?: [ $this->formData['mail_recipients'] = $project->emailRecipients->toArray() ?: [
[ [
@ -172,6 +182,8 @@ private function resetFormData()
{ {
$this->formData = [ $this->formData = [
'name' => '', 'name' => '',
'pivot_json_path' => '',
'span_json_path' => '',
'boundingBoxes' => [], 'boundingBoxes' => [],
'mail_subject' => '', 'mail_subject' => '',
'mail_template' => '', 'mail_template' => '',
@ -188,8 +200,10 @@ private function validateForm()
$projectIdentifier = $this->formData['id'] ?? null; $projectIdentifier = $this->formData['id'] ?? null;
Validator::make([ Validator::make([
'name' => $this->formData['name'], 'name' => $this->formData['name'],
'boundingBoxes' => $this->formData['boundingBoxes'], 'pivot_json_path' => $this->formData['pivot_json_path'], // TODO: 'required|file|mimes:csv,txt|max:2048
'span_json_path' => $this->formData['span_json_path'],
'boundingBoxes' => $this->formData['boundingBoxes'],
], [ ], [
'name' => [ 'name' => [
'required', 'required',
@ -197,6 +211,24 @@ private function validateForm()
'string', 'string',
'max:255' 'max:255'
], ],
'pivot_json_path' => [
function ($attribute, $value, $fail) {
if ($value && !is_file($value->getRealPath())) {
$fail($attribute.' is geen geldig bestand.');
} elseif ($value && !in_array(mime_content_type($value->getRealPath()), ['application/json'])) {
$fail($attribute.' moet een JSON-bestand zijn.');
}
},
],
'span_json_path' => [
function ($attribute, $value, $fail) {
if ($value && !is_file($value->getRealPath())) {
$fail($attribute.' is geen geldig bestand.');
} elseif ($value && !in_array(mime_content_type($value->getRealPath()), ['application/json'])) {
$fail($attribute.' moet een JSON-bestand zijn.');
}
},
],
'boundingBoxes' => ['required', 'array', 'min:1'], 'boundingBoxes' => ['required', 'array', 'min:1'],
'boundingBoxes.*.name' => ['required', 'string', 'max:255'], 'boundingBoxes.*.name' => ['required', 'string', 'max:255'],
'boundingBoxes.*.top_left_latitude' => ['required', 'string'], 'boundingBoxes.*.top_left_latitude' => ['required', 'string'],

View file

@ -32,6 +32,16 @@ public static function saveWithFormData(mixed $formData)
{ {
$uniqueIdentifier = ['id' => $formData['id'] ?? null]; $uniqueIdentifier = ['id' => $formData['id'] ?? null];
$project = Project::updateOrCreate($uniqueIdentifier, $formData); $project = Project::updateOrCreate($uniqueIdentifier, $formData);
if ($formData['pivot_json_path']) {
$path = $formData['pivot_json_path']->storeAs($project->download_path .'/Data', 'pivot.geojson');
$project->pivot_json_path = $path;
$project->save();
}
if ($formData['span_json_path']) {
$path = $formData['span_json_path']->storeAs($project->download_path .'/Data', 'span.geojson');
$project->pivot_json_path = $path;
$project->save();
}
$project->upsertBoundingBox($formData); $project->upsertBoundingBox($formData);
$project->upsertMailRecipients($formData); $project->upsertMailRecipients($formData);
} }
@ -271,6 +281,7 @@ public function schedule()
if ($this->shouldSchedule()) { if ($this->shouldSchedule()) {
$this->scheduleReport(); $this->scheduleReport();
} }
} }
public function shouldSchedule(): bool public function shouldSchedule(): bool
@ -354,4 +365,10 @@ public function getMosaicsFor($year, $startWeekNumber)
return $return; return $return;
} }
public function getBoundingBoxesAsArray() {
return $this->boundingBoxes->map(function ($boundingBox) {
return $boundingBox->toArrayCustom();
})->toArray();
}
} }

View file

@ -21,4 +21,14 @@ public function project()
{ {
return $this->belongsTo(Project::class); return $this->belongsTo(Project::class);
} }
public function toArrayCustom()
{
return [
(float) $this->top_left_latitude,
(float) $this->top_left_longitude,
(float) $this->bottom_right_latitude,
(float) $this->bottom_right_longitude
];
}
} }

View file

@ -6,15 +6,15 @@
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^8.1", "php": "^8.1",
"fakerphp/faker": "^1.9.1",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10", "laravel/framework": "^10.10",
"laravel/jetstream": "^4.0", "laravel/jetstream": "^4.0",
"laravel/sanctum": "^3.2", "laravel/sanctum": "^3.2",
"laravel/telescope": "^4.17", "laravel/telescope": "^4.17",
"laravel/tinker": "^2.8", "laravel/tinker": "^2.8",
"queueworker/sansdaemon": "^1.2", "livewire/livewire": "^3.0",
"fakerphp/faker": "^1.9.1", "queueworker/sansdaemon": "^1.2"
"livewire/livewire": "^3.0"
}, },
"require-dev": { "require-dev": {
"laravel/pint": "^1.0", "laravel/pint": "^1.0",

View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a5ff3fc4e2c8e72915f0398a574a4266", "content-hash": "5c4b061866dd522ed729de3174d05b6b",
"packages": [ "packages": [
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",

View file

@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('projects', function (Blueprint $table) {
$table->string('pivot_json_path')->nullable();
$table->string('span_json_path')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('projects', function (Blueprint $table) {
$table->dropColumn('pivot_json_path');
});
}
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,11 +1,11 @@
{ {
"resources/css/app.css": { "resources/css/app.css": {
"file": "assets/app-3d9a9513.css", "file": "assets/app-67d2d127.css",
"isEntry": true, "isEntry": true,
"src": "resources/css/app.css" "src": "resources/css/app.css"
}, },
"resources/js/alpine.js": { "resources/js/alpine.js": {
"file": "assets/alpine-25cbe97a.js", "file": "assets/alpine-b920cb4b.js",
"isDynamicEntry": true, "isDynamicEntry": true,
"src": "resources/js/alpine.js" "src": "resources/js/alpine.js"
}, },
@ -13,7 +13,7 @@
"dynamicImports": [ "dynamicImports": [
"resources/js/alpine.js" "resources/js/alpine.js"
], ],
"file": "assets/app-e02e5043.js", "file": "assets/app-fef3848d.js",
"isEntry": true, "isEntry": true,
"src": "resources/js/app.js" "src": "resources/js/app.js"
} }

View file

@ -21,6 +21,18 @@
<x-input id="name" type="text" class="mt-1 block w-full" wire:model="formData.name" autofocus/> <x-input id="name" type="text" class="mt-1 block w-full" wire:model="formData.name" autofocus/>
<x-input-error for="name" class="mt-2"/> <x-input-error for="name" class="mt-2"/>
</div> </div>
<div class="col-span-6 sm:col-span-4">
<label for="pivot_json_path">Pivot geojson File</label>
<input type="file" id="pivot_json_path" wire:model="formData.pivot_json_path">
<x-input-error for="pivot_json_path" class="mt-2"/>
<label>{{ $projectManager->pivot_json_path }}</label>
</div>
<div class="col-span-6 sm:col-span-4">
<label for="span_json_path">Span geojson File</label>
<input type="file" id="span_json_path" wire:model="formData.span_json_path">
<x-input-error for="span_json_path" class="mt-2"/>
<label>{{ $projectManager->span_json_path }}</label>
</div>
@foreach($projectManager->formData['boundingBoxes'] as $key => $boundingBox) @foreach($projectManager->formData['boundingBoxes'] as $key => $boundingBox)
{{-- <div wire:key="bounding_box_{{ $key }}">--}} {{-- <div wire:key="bounding_box_{{ $key }}">--}}
<div class="col-span-6 sm:col-span-4"> <div class="col-span-6 sm:col-span-4">

View file

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 20,
"id": "b7ca7102-5fd9-481f-90cd-3ba60e288649", "id": "b7ca7102-5fd9-481f-90cd-3ba60e288649",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -11,6 +11,7 @@
"# pip install gdal\n", "# pip install gdal\n",
"\n", "\n",
"import os\n", "import os\n",
"import json\n",
"import datetime\n", "import datetime\n",
"import numpy as np\n", "import numpy as np\n",
"import matplotlib.pyplot as plt\n", "import matplotlib.pyplot as plt\n",
@ -27,7 +28,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 21,
"id": "330c967c-2742-4a7a-9a61-28bfdaf8eeca", "id": "330c967c-2742-4a7a-9a61-28bfdaf8eeca",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -37,7 +38,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 22,
"id": "49f8496a-a267-4b74-9500-a168e031ed68", "id": "49f8496a-a267-4b74-9500-a168e031ed68",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -48,7 +49,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 23,
"id": "5491a840-779c-4f0c-8164-c3de738b3298", "id": "5491a840-779c-4f0c-8164-c3de738b3298",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -59,7 +60,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 24,
"id": "eb1fb662-0e25-4ca9-8317-c6953290842b", "id": "eb1fb662-0e25-4ca9-8317-c6953290842b",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -73,7 +74,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 25,
"id": "244b5752-4f02-4347-9278-f6a0a46b88f4", "id": "244b5752-4f02-4347-9278-f6a0a46b88f4",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -180,7 +181,12 @@
"\n", "\n",
"BASE_PATH = Path('../laravel_app/storage/app') / os.getenv('PROJECT_DIR','chemba') \n", "BASE_PATH = Path('../laravel_app/storage/app') / os.getenv('PROJECT_DIR','chemba') \n",
"BASE_PATH_SINGLE_IMAGES = Path(BASE_PATH / 'single_images')\n", "BASE_PATH_SINGLE_IMAGES = Path(BASE_PATH / 'single_images')\n",
"def get_true_color_request_day_east(time_interval):\n", "\n",
"\n",
"\n",
"\n",
"\n",
"def get_true_color_request_day_west(time_interval, bbox, size):\n",
" return SentinelHubRequest(\n", " return SentinelHubRequest(\n",
" evalscript=evalscript_true_color,\n", " evalscript=evalscript_true_color,\n",
" input_data=[\n", " input_data=[\n",
@ -192,27 +198,8 @@
" responses=[\n", " responses=[\n",
" SentinelHubRequest.output_response('default', MimeType.TIFF)\n", " SentinelHubRequest.output_response('default', MimeType.TIFF)\n",
" ],\n", " ],\n",
" bbox=chemba_bbox_east,\n", " bbox=bbox,\n",
" size=chemba_size_east,\n", " size=size,\n",
" config=config,\n",
" data_folder=str(BASE_PATH_SINGLE_IMAGES / time_interval),\n",
"\n",
" )\n",
"\n",
"def get_true_color_request_day_west(time_interval):\n",
" return SentinelHubRequest(\n",
" evalscript=evalscript_true_color,\n",
" input_data=[\n",
" SentinelHubRequest.input_data(\n",
" data_collection=DataCollection.planet_data2,\n",
" time_interval=(time_interval, time_interval)\n",
" )\n",
" ],\n",
" responses=[\n",
" SentinelHubRequest.output_response('default', MimeType.TIFF)\n",
" ],\n",
" bbox=chemba_bbox_west,\n",
" size=chemba_size_west,\n",
" config=config,\n", " config=config,\n",
" data_folder=str(BASE_PATH_SINGLE_IMAGES / time_interval),\n", " data_folder=str(BASE_PATH_SINGLE_IMAGES / time_interval),\n",
"\n", "\n",
@ -240,7 +227,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 26,
"id": "5abb2cc0-5e2f-46cd-9676-3093d07b0624", "id": "5abb2cc0-5e2f-46cd-9676-3093d07b0624",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -258,7 +245,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 27,
"id": "a4937240-27f9-44c3-ad9c-cec6f2ffe4c8", "id": "a4937240-27f9-44c3-ad9c-cec6f2ffe4c8",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -286,7 +273,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 28,
"id": "848dc773-70d6-4ae6-b05c-d6ebfb41624d", "id": "848dc773-70d6-4ae6-b05c-d6ebfb41624d",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -296,75 +283,6 @@
"text": [ "text": [
"Monthly time windows:\n", "Monthly time windows:\n",
"\n", "\n",
"2023-11-26\n",
"2023-11-27\n",
"2023-11-28\n",
"2023-11-29\n",
"2023-11-30\n",
"2023-12-01\n",
"2023-12-02\n",
"2023-12-03\n",
"2023-12-04\n",
"2023-12-05\n",
"2023-12-06\n",
"2023-12-07\n",
"2023-12-08\n",
"2023-12-09\n",
"2023-12-10\n",
"2023-12-11\n",
"2023-12-12\n",
"2023-12-13\n",
"2023-12-14\n",
"2023-12-15\n",
"2023-12-16\n",
"2023-12-17\n",
"2023-12-18\n",
"2023-12-19\n",
"2023-12-20\n",
"2023-12-21\n",
"2023-12-22\n",
"2023-12-23\n",
"2023-12-24\n",
"2023-12-25\n",
"2023-12-26\n",
"2023-12-27\n",
"2023-12-28\n",
"2023-12-29\n",
"2023-12-30\n",
"2023-12-31\n",
"2024-01-01\n",
"2024-01-02\n",
"2024-01-03\n",
"2024-01-04\n",
"2024-01-05\n",
"2024-01-06\n",
"2024-01-07\n",
"2024-01-08\n",
"2024-01-09\n",
"2024-01-10\n",
"2024-01-11\n",
"2024-01-12\n",
"2024-01-13\n",
"2024-01-14\n",
"2024-01-15\n",
"2024-01-16\n",
"2024-01-17\n",
"2024-01-18\n",
"2024-01-19\n",
"2024-01-20\n",
"2024-01-21\n",
"2024-01-22\n",
"2024-01-23\n",
"2024-01-24\n",
"2024-01-25\n",
"2024-01-26\n",
"2024-01-27\n",
"2024-01-28\n",
"2024-01-29\n",
"2024-01-30\n",
"2024-01-31\n",
"2024-02-01\n",
"2024-02-02\n",
"2024-02-03\n", "2024-02-03\n",
"2024-02-04\n", "2024-02-04\n",
"2024-02-05\n", "2024-02-05\n",
@ -392,10 +310,7 @@
"2024-02-27\n", "2024-02-27\n",
"2024-02-28\n", "2024-02-28\n",
"2024-02-29\n", "2024-02-29\n",
"2024-03-01\n", "2024-03-01\n"
"2024-03-02\n",
"2024-03-03\n",
"2024-03-04\n"
] ]
} }
], ],
@ -435,43 +350,24 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": null,
"id": "2335139b-dfb1-4371-ae2c-c2b9c8cbf10c", "id": "2335139b-dfb1-4371-ae2c-c2b9c8cbf10c",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"#chemba_east = [34.8830, -17.3516, 34.9380, -17.2917] #Chemba\n", "\n"
"chemba_east = [32.6790, -25.0333, 32.7453, -25.0235] #Xinavane\n",
"resolution = 3\n",
"chemba_bbox_east = BBox(bbox=chemba_east, crs=CRS.WGS84)\n",
"chemba_size_east = bbox_to_dimensions(chemba_bbox_east, resolution=resolution)\n",
"\n",
"#chemba_west = [34.9460, -17.3500, 34.9839, -17.3110] #Chemba\n",
"chemba_west = [32.6213, -25.0647, 32.6284, -25.0570] #Xinavane\n",
"chemba_bbox_west = BBox(bbox=chemba_west, crs=CRS.WGS84)\n",
"chemba_size_west = bbox_to_dimensions(chemba_bbox_west, resolution=resolution) "
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 29,
"id": "77513576-2fed-4d17-a665-d11267b42390", "id": "77513576-2fed-4d17-a665-d11267b42390",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"def download_function(slot):\n", "def download_function(slot, bbox, size):\n",
" ### Chemba east side\n",
" # create a list of requests \n",
" list_of_requests = [get_true_color_request_day_east(slot)]\n",
" list_of_requests = [request.download_list[0] for request in list_of_requests]\n",
"\n",
" # download data chemba east with multiple threads\n",
" data = SentinelHubDownloadClient(config=config).download(list_of_requests, max_threads=15)\n",
" print(f' East downloaded ' +slot)\n",
"\n",
" ### Chemba west side\n",
" # create a list of requests\n", " # create a list of requests\n",
" list_of_requests = [get_true_color_request_day_west(slot)]\n", " list_of_requests = [get_true_color_request_day_west(slot, bbox, size)]\n",
" list_of_requests = [request.download_list[0] for request in list_of_requests]\n", " list_of_requests = [request.download_list[0] for request in list_of_requests]\n",
"\n", "\n",
" # download data chemba west with multiple threads\n", " # download data chemba west with multiple threads\n",
@ -505,17 +401,480 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"for slot in slots:\n", "for slot in slots:\n",
" download_function(slot)" " #areas = [[34.8830, -17.3516, 34.9380, -17.2917], [34.9460, -17.3500, 34.9839, -17.3110]]\n",
" areas = json.loads(os.getenv('BBOX','[[34.946,-17.3516,34.938,-17.2917],[34.883,-17.3516,34.938,-17.2917]]')) \n",
" for area in areas:\n",
" resolution = 3\n",
" bbox = BBox(bbox=area, crs=CRS.WGS84)\n",
" size = bbox_to_dimensions(bbox, resolution=resolution)\n",
" download_function(slot, bbox, size)"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 31,
"id": "68db3c15-6f94-432e-b315-c329e4251b21", "id": "68db3c15-6f94-432e-b315-c329e4251b21",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-03/d402cfafa9a6ae7d7d658652bf0efc8b/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-03/34e48c2310b8444431f14215de30f9aa/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-04/0b26641b3208b047de35046a36046b4f/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-04/47dd2f1d76f625645d1c166e41b7891d/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-03/d402cfafa9a6ae7d7d658652bf0efc8b/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-03/34e48c2310b8444431f14215de30f9aa/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-03/d402cfafa9a6ae7d7d658652bf0efc8b/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-03/34e48c2310b8444431f14215de30f9aa/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-03/d402cfafa9a6ae7d7d658652bf0efc8b/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-03/34e48c2310b8444431f14215de30f9aa/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-04/0b26641b3208b047de35046a36046b4f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-04/47dd2f1d76f625645d1c166e41b7891d/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-04/0b26641b3208b047de35046a36046b4f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-04/47dd2f1d76f625645d1c166e41b7891d/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-04/0b26641b3208b047de35046a36046b4f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-04/47dd2f1d76f625645d1c166e41b7891d/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-05/9fca53a2fef9850568d21520dcb054ed/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-05/d000a9edf2ebc152621dd43113999b6e/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-06/2cb2971fef19fb55e127e60ec59b400f/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-06/d0e73ee30531ef5f740e7a020924f6e4/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-07/1fb5a037f5c19e7ac6ebcd9ac0c011d3/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-07/656e1f90cbeaebdd0beb773ea9c632b5/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-05/9fca53a2fef9850568d21520dcb054ed/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-05/d000a9edf2ebc152621dd43113999b6e/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-05/9fca53a2fef9850568d21520dcb054ed/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-05/d000a9edf2ebc152621dd43113999b6e/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-05/9fca53a2fef9850568d21520dcb054ed/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-05/d000a9edf2ebc152621dd43113999b6e/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-06/2cb2971fef19fb55e127e60ec59b400f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-06/d0e73ee30531ef5f740e7a020924f6e4/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-06/2cb2971fef19fb55e127e60ec59b400f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-06/d0e73ee30531ef5f740e7a020924f6e4/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-06/2cb2971fef19fb55e127e60ec59b400f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-06/d0e73ee30531ef5f740e7a020924f6e4/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-07/1fb5a037f5c19e7ac6ebcd9ac0c011d3/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-07/656e1f90cbeaebdd0beb773ea9c632b5/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-07/1fb5a037f5c19e7ac6ebcd9ac0c011d3/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-07/656e1f90cbeaebdd0beb773ea9c632b5/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-07/1fb5a037f5c19e7ac6ebcd9ac0c011d3/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-07/656e1f90cbeaebdd0beb773ea9c632b5/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-08/58d1f1e00ac595ba309e35e1fc348d46/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-08/78af404d33e4a7a8a7c63dd7266e9940/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-09/074a64ef0bc1a643b564f223a0406de6/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-09/b5f8af8311ec9839c6837bd702ff704f/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-10/379dbdd27cb513603fb5d48744540e3a/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-10/6a3cb421bfe72d6f1e83e0a4d6a35b74/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-08/58d1f1e00ac595ba309e35e1fc348d46/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-08/78af404d33e4a7a8a7c63dd7266e9940/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-08/58d1f1e00ac595ba309e35e1fc348d46/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-08/78af404d33e4a7a8a7c63dd7266e9940/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-08/58d1f1e00ac595ba309e35e1fc348d46/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-08/78af404d33e4a7a8a7c63dd7266e9940/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-09/074a64ef0bc1a643b564f223a0406de6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-09/b5f8af8311ec9839c6837bd702ff704f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-09/074a64ef0bc1a643b564f223a0406de6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-09/b5f8af8311ec9839c6837bd702ff704f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-09/074a64ef0bc1a643b564f223a0406de6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-09/b5f8af8311ec9839c6837bd702ff704f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-10/379dbdd27cb513603fb5d48744540e3a/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-10/6a3cb421bfe72d6f1e83e0a4d6a35b74/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-10/379dbdd27cb513603fb5d48744540e3a/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-10/6a3cb421bfe72d6f1e83e0a4d6a35b74/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-10/379dbdd27cb513603fb5d48744540e3a/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-10/6a3cb421bfe72d6f1e83e0a4d6a35b74/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-11/963afad1af0c7114e9d5cc8fc3d4adb3/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-11/d6255d2b8f966beece2ee91f86eb1376/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-12/061e7c0b7299137876fb4b0588b5245c/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-12/6df3e48f4e103d1f984e6f331bd20d36/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-13/2ed2af1506c64726d923cd552489298f/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-13/ceeb939ee7bc791dbcacadd68ae43963/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-11/963afad1af0c7114e9d5cc8fc3d4adb3/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-11/d6255d2b8f966beece2ee91f86eb1376/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-11/963afad1af0c7114e9d5cc8fc3d4adb3/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-11/d6255d2b8f966beece2ee91f86eb1376/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-11/963afad1af0c7114e9d5cc8fc3d4adb3/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-11/d6255d2b8f966beece2ee91f86eb1376/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-12/061e7c0b7299137876fb4b0588b5245c/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-12/6df3e48f4e103d1f984e6f331bd20d36/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-12/061e7c0b7299137876fb4b0588b5245c/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-12/6df3e48f4e103d1f984e6f331bd20d36/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-12/061e7c0b7299137876fb4b0588b5245c/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-12/6df3e48f4e103d1f984e6f331bd20d36/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-13/2ed2af1506c64726d923cd552489298f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-13/ceeb939ee7bc791dbcacadd68ae43963/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-13/2ed2af1506c64726d923cd552489298f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-13/ceeb939ee7bc791dbcacadd68ae43963/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-13/2ed2af1506c64726d923cd552489298f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-13/ceeb939ee7bc791dbcacadd68ae43963/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-14/05fab2afd14dde5956b68064eabb5584/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-14/83ab15d2ef5ff12ab974f0a49bdbde87/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-15/83e21f5ef0afaf44f7585092c2130a64/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-15/25bca4ee6801370a109efd9928b6bad2/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-16/2e939b34baa944c9caeb0bb209eaa3ba/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-16/f5a9ca774ee072d83ec449b47fb11398/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-14/05fab2afd14dde5956b68064eabb5584/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-14/83ab15d2ef5ff12ab974f0a49bdbde87/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-14/05fab2afd14dde5956b68064eabb5584/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-14/83ab15d2ef5ff12ab974f0a49bdbde87/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-14/05fab2afd14dde5956b68064eabb5584/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-14/83ab15d2ef5ff12ab974f0a49bdbde87/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-15/83e21f5ef0afaf44f7585092c2130a64/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-15/25bca4ee6801370a109efd9928b6bad2/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-15/83e21f5ef0afaf44f7585092c2130a64/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-15/25bca4ee6801370a109efd9928b6bad2/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-15/83e21f5ef0afaf44f7585092c2130a64/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-15/25bca4ee6801370a109efd9928b6bad2/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-16/2e939b34baa944c9caeb0bb209eaa3ba/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-16/f5a9ca774ee072d83ec449b47fb11398/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-16/2e939b34baa944c9caeb0bb209eaa3ba/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-16/f5a9ca774ee072d83ec449b47fb11398/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-16/2e939b34baa944c9caeb0bb209eaa3ba/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-16/f5a9ca774ee072d83ec449b47fb11398/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-17/6002c8b4be4344e1a427993a1c8f07ee/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-17/6659119a965962848cab25ce29d2229f/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-18/6320223e658e8d5762cd3369fbb49395/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-18/0fbdec0a57e4d0b7d4f4f4e375559007/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-19/09087a431016ff6e49b7fafb76b5a137/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-19/77ebfbc4b72521a8ee8ed0644694a4d8/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-17/6002c8b4be4344e1a427993a1c8f07ee/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-17/6659119a965962848cab25ce29d2229f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-17/6002c8b4be4344e1a427993a1c8f07ee/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-17/6659119a965962848cab25ce29d2229f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-17/6002c8b4be4344e1a427993a1c8f07ee/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-17/6659119a965962848cab25ce29d2229f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-18/6320223e658e8d5762cd3369fbb49395/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-18/0fbdec0a57e4d0b7d4f4f4e375559007/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-18/6320223e658e8d5762cd3369fbb49395/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-18/0fbdec0a57e4d0b7d4f4f4e375559007/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-18/6320223e658e8d5762cd3369fbb49395/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-18/0fbdec0a57e4d0b7d4f4f4e375559007/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-19/09087a431016ff6e49b7fafb76b5a137/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-19/77ebfbc4b72521a8ee8ed0644694a4d8/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-19/09087a431016ff6e49b7fafb76b5a137/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-19/77ebfbc4b72521a8ee8ed0644694a4d8/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-19/09087a431016ff6e49b7fafb76b5a137/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-19/77ebfbc4b72521a8ee8ed0644694a4d8/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-20/de49a1ae7fc7cce6bbb51307b51421a7/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-20/9ea16bc23f981f09a6a07960d25ee917/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-21/60f07bbbd46a263e99acfd16afdd90e7/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-21/c703f5c937fe7d31c01e5dc0e1f1b3c6/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-22/4cc6c6c928fbe9261b235a1a2bd82988/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-22/9a6945737142920a66b01d9243a7dbb0/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-20/de49a1ae7fc7cce6bbb51307b51421a7/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-20/9ea16bc23f981f09a6a07960d25ee917/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-20/de49a1ae7fc7cce6bbb51307b51421a7/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-20/9ea16bc23f981f09a6a07960d25ee917/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-20/de49a1ae7fc7cce6bbb51307b51421a7/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-20/9ea16bc23f981f09a6a07960d25ee917/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-21/60f07bbbd46a263e99acfd16afdd90e7/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-21/c703f5c937fe7d31c01e5dc0e1f1b3c6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-21/60f07bbbd46a263e99acfd16afdd90e7/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-21/c703f5c937fe7d31c01e5dc0e1f1b3c6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-21/60f07bbbd46a263e99acfd16afdd90e7/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-21/c703f5c937fe7d31c01e5dc0e1f1b3c6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-22/4cc6c6c928fbe9261b235a1a2bd82988/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-22/9a6945737142920a66b01d9243a7dbb0/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-22/4cc6c6c928fbe9261b235a1a2bd82988/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-22/9a6945737142920a66b01d9243a7dbb0/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-22/4cc6c6c928fbe9261b235a1a2bd82988/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-22/9a6945737142920a66b01d9243a7dbb0/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-23/fa839ee60099fd816e3735b4bc2b8da9/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-23/f4c483ff844754609c15946f39062af0/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-23/fa839ee60099fd816e3735b4bc2b8da9/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-23/f4c483ff844754609c15946f39062af0/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-23/fa839ee60099fd816e3735b4bc2b8da9/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-23/f4c483ff844754609c15946f39062af0/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-24/948621c2612a3623fe0a8c6f2e232d4c/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-24/5d91bc78a218827aa0c4af8d2b68432f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-24/948621c2612a3623fe0a8c6f2e232d4c/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-24/5d91bc78a218827aa0c4af8d2b68432f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-24/948621c2612a3623fe0a8c6f2e232d4c/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-24/5d91bc78a218827aa0c4af8d2b68432f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-23/fa839ee60099fd816e3735b4bc2b8da9/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-23/f4c483ff844754609c15946f39062af0/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-24/948621c2612a3623fe0a8c6f2e232d4c/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-24/5d91bc78a218827aa0c4af8d2b68432f/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-25/09034667d9d66ad95bb45114be61c294/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-25/640ada1c04508b95d3d7ca885170dcd2/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-25/09034667d9d66ad95bb45114be61c294/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-25/640ada1c04508b95d3d7ca885170dcd2/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-25/09034667d9d66ad95bb45114be61c294/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-25/640ada1c04508b95d3d7ca885170dcd2/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-25/09034667d9d66ad95bb45114be61c294/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-25/640ada1c04508b95d3d7ca885170dcd2/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-26/b1aa534ff4b4f760afdd121039523470/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-26/812fa312f85f5645979751acbfdb4137/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-26/b1aa534ff4b4f760afdd121039523470/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-26/812fa312f85f5645979751acbfdb4137/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-26/b1aa534ff4b4f760afdd121039523470/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-26/812fa312f85f5645979751acbfdb4137/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-27/d4cbaea4023bc70fa32512e73c74130a/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-27/0ca3d8bf2c9b33a927b115f207331be5/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-27/d4cbaea4023bc70fa32512e73c74130a/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-27/0ca3d8bf2c9b33a927b115f207331be5/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-27/d4cbaea4023bc70fa32512e73c74130a/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-26/b1aa534ff4b4f760afdd121039523470/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-26/812fa312f85f5645979751acbfdb4137/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-27/d4cbaea4023bc70fa32512e73c74130a/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-27/0ca3d8bf2c9b33a927b115f207331be5/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-02-28/1e84c7daad84245d60c0117309786237/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-28/0d2f1410b8fa5255b6098413e05b377f/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-27/0ca3d8bf2c9b33a927b115f207331be5/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-28/1e84c7daad84245d60c0117309786237/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-28/0d2f1410b8fa5255b6098413e05b377f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-28/1e84c7daad84245d60c0117309786237/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-28/0d2f1410b8fa5255b6098413e05b377f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-28/1e84c7daad84245d60c0117309786237/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-28/0d2f1410b8fa5255b6098413e05b377f/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-29/08baa805ee5178e3b20ff5f04f1481c6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-29/d0d870079653f92c754e85f897b7f7b6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-29/08baa805ee5178e3b20ff5f04f1481c6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-29/d0d870079653f92c754e85f897b7f7b6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-29/08baa805ee5178e3b20ff5f04f1481c6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"['../laravel_app/storage/app/chemba/single_images/2024-02-29/08baa805ee5178e3b20ff5f04f1481c6/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-02-29/d0d870079653f92c754e85f897b7f7b6/response.tiff']\n",
"['../laravel_app/storage/app/chemba/single_images/2024-03-01/64455452d2ff2d41bae9e25445244dec/response.tiff', '../laravel_app/storage/app/chemba/single_images/2024-03-01/cf97b72e82132dca014a764f85f3ea05/response.tiff']\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-02-29/d0d870079653f92c754e85f897b7f7b6/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-03-01/64455452d2ff2d41bae9e25445244dec/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-03-01/cf97b72e82132dca014a764f85f3ea05/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-03-01/64455452d2ff2d41bae9e25445244dec/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-03-01/cf97b72e82132dca014a764f85f3ea05/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-03-01/64455452d2ff2d41bae9e25445244dec/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: ../laravel_app/storage/app/chemba/single_images/2024-03-01/cf97b72e82132dca014a764f85f3ea05/response.tiff: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n",
"Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.\n"
]
}
],
"source": [ "source": [
"for slot in slots:\n", "for slot in slots:\n",
" merge_files(slot)" " merge_files(slot)"
@ -523,10 +882,19 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 32,
"id": "cb3fa856-a550-4899-844a-e69209bba3ad", "id": "cb3fa856-a550-4899-844a-e69209bba3ad",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Emptied folder: ../laravel_app/storage/app/chemba/merged_virtual\n",
"Emptied folder: ../laravel_app/storage/app/chemba/single_images\n"
]
}
],
"source": [ "source": [
"\n", "\n",
"import shutil\n", "import shutil\n",
@ -569,8 +937,16 @@
" \n", " \n",
"# Call the function to empty folders\n", "# Call the function to empty folders\n",
"\n", "\n",
"#empty_folders(folders_to_empty)" "empty_folders(folders_to_empty)"
] ]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d7989454-7634-4116-ad8e-82ca3cbefc0f",
"metadata": {},
"outputs": [],
"source": []
} }
], ],
"metadata": { "metadata": {

View file

@ -1,4 +1,5 @@
# activeer de renv omgeving; # activeer de renv omgeving;
renv::activate('~/smartCane/r_app') renv::activate('~/smartCane/r_app')
renv::restore() renv::restore()
@ -28,21 +29,29 @@ if (is.na(weeks_ago)) {
weeks_ago <- 0 weeks_ago <- 0
} }
# laravel_storage_dir <- here("../laravel_app/storage/app") # Converteer het tweede argument naar een string waarde
laravel_storage_dir <- here("laravel_app","storage","app") project_dir <- as.character(args[2])
# Controleer of data_dir een geldige waarde is
if (!is.character(project_dir)) {
project_dir <- "chemba"
}
laravel_storage_dir <- here("../laravel_app/storage/app", project_dir)
#preparing directories #preparing directories
project = "chemba" planet_tif_folder <- here(laravel_storage_dir, "merged_tif")
merged_final <- here(laravel_storage_dir, "merged_final_tif")
new_project_question = TRUE new_project_question = TRUE
planet_tif_folder <- here(laravel_storage_dir, project, "merged_tif") planet_tif_folder <- here(laravel_storage_dir, project, "merged_tif")
merged_final <- here(laravel_storage_dir, project,"merged_final_tif") merged_final <- here(laravel_storage_dir, project,"merged_final_tif")
data_dir <- here(laravel_storage_dir, project,"Data") data_dir <- here(laravel_storage_dir, "Data")
extracted_CI_dir <- here(data_dir, "extracted_ci") extracted_CI_dir <- here(data_dir, "extracted_ci")
daily_CI_vals_dir <- here(extracted_CI_dir, "daily_vals") daily_CI_vals_dir <- here(extracted_CI_dir, "daily_vals")
cumulative_CI_vals_dir <- here(extracted_CI_dir, "cumulative_vals") cumulative_CI_vals_dir <- here(extracted_CI_dir, "cumulative_vals")
weekly_CI_mosaic <- here(laravel_storage_dir, project,"weekly_mosaic") weekly_CI_mosaic <- here(laravel_storage_dir, "weekly_mosaic")
daily_vrt <- here(data_dir, "vrt") daily_vrt <- here(data_dir, "vrt")
harvest_dir <- here(data_dir, "HarvestData") harvest_dir <- here(data_dir, "HarvestData")
@ -280,48 +289,48 @@ quadrant_list <- pivots_data_present
#If run for the firsttime, it will extract all data since the start and put into a table.rds. otherwise it will only add on to the existing table. #If run for the firsttime, it will extract all data since the start and put into a table.rds. otherwise it will only add on to the existing table.
if (new_project_question == TRUE) { if (new_project_question == TRUE) {
print("combined_CI_data.rds does not exist. Preparing combined_CI_data.rds file for all available images.") print("combined_CI_data.rds does not exist. Preparing combined_CI_data.rds file for all available images.")
walk(raster_files_NEW, extract_rasters_daily, field_geojson= pivot_sf_q, quadrants = TRUE, daily_CI_vals_dir) walk(raster_files_NEW, extract_rasters_daily, field_geojson= pivot_sf_q, quadrants = TRUE, daily_CI_vals_dir)
extracted_values <- list.files(here(daily_CI_vals_dir), full.names = TRUE) extracted_values <- list.files(here(daily_CI_vals_dir), full.names = TRUE)
pivot_stats <- extracted_values %>% pivot_stats <- extracted_values %>%
map(readRDS) %>% list_rbind() %>% map(readRDS) %>% list_rbind() %>%
group_by(pivot_quadrant) %>% group_by(pivot_quadrant) %>%
summarise(across(everything(), ~ first(na.omit(.)))) summarise(across(everything(), ~ first(na.omit(.))))
saveRDS(pivot_stats, here(cumulative_CI_vals_dir,"combined_CI_data.rds")) #used to save the rest of the data into one file saveRDS(pivot_stats, here(cumulative_CI_vals_dir,"combined_CI_data.rds")) #used to save the rest of the data into one file
pivot_stats2 <- pivot_stats pivot_stats2 <- pivot_stats
print("All CI values extracted from allhistoric images") print("All CI values extracted from allhistoric images")
} else { } else {
print("combined_CI_data.rds exists, adding the latest image data to the table.") print("combined_CI_data.rds exists, adding the latest image data to the table.")
filtered_files <- map(dates$days_filter, ~ raster_files_NEW[grepl(pattern = .x, x = raster_files_NEW)]) %>% filtered_files <- map(dates$days_filter, ~ raster_files_NEW[grepl(pattern = .x, x = raster_files_NEW)]) %>%
compact() %>% compact() %>%
flatten_chr() flatten_chr()
walk(filtered_files, extract_rasters_daily, field_geojson= pivot_sf_q, quadrants = TRUE, daily_CI_vals_dir) walk(filtered_files, extract_rasters_daily, field_geojson= pivot_sf_q, quadrants = TRUE, daily_CI_vals_dir)
extracted_values <- list.files(daily_CI_vals_dir, full.names = TRUE) extracted_values <- list.files(daily_CI_vals_dir, full.names = TRUE)
extracted_values <- map(dates$days_filter, ~ extracted_values[grepl(pattern = .x, x = extracted_values)]) %>% extracted_values <- map(dates$days_filter, ~ extracted_values[grepl(pattern = .x, x = extracted_values)]) %>%
compact() %>% compact() %>%
flatten_chr() flatten_chr()
pivot_stats <- extracted_values %>% pivot_stats <- extracted_values %>%
map(readRDS) %>% list_rbind() %>% map(readRDS) %>% list_rbind() %>%
group_by(pivot_quadrant) %>% group_by(pivot_quadrant) %>%
summarise(across(everything(), ~ first(na.omit(.)))) summarise(across(everything(), ~ first(na.omit(.))))
combined_CI_data <- readRDS(here(cumulative_CI_vals_dir,"combined_CI_data.rds")) %>% drop_na(pivot_quadrant) combined_CI_data <- readRDS(here(cumulative_CI_vals_dir,"combined_CI_data.rds")) %>% drop_na(pivot_quadrant)
pivot_stats2 <- bind_rows(pivot_stats, combined_CI_data) pivot_stats2 <- bind_rows(pivot_stats, combined_CI_data)
print("All CI values extracted from latest 7 images.") print("All CI values extracted from latest 7 images.")
} }

Binary file not shown.

View file

@ -5,19 +5,22 @@ days=1
project_dir="chemba_1" project_dir="chemba_1"
# Loop door alle argumenten # Loop door alle argumenten
while [ "$#" -gt 0 ]; do for arg in "$@"; do
case "$1" in case "$arg" in
--days=*) --days=*)
days="${1#*=}" days="${arg#*=}"
;; ;;
--date=*) --date=*)
date="${1#*=}" date="${arg#*=}"
;; ;;
--project_dir=*) --project_dir=*)
project_dir="${1#*=}" project_dir="${arg#*=}"
;; ;;
--bbox=*)
bbox="${arg#*=}"
;;
*) *)
echo "Onbekende optie: $1" echo "Onbekende optie: $arg"
exit 1 exit 1
;; ;;
esac esac
@ -28,6 +31,7 @@ done
echo "Datum: $date" echo "Datum: $date"
echo "Aantal dagen: $days" echo "Aantal dagen: $days"
echo "Project directory: $project_dir" echo "Project directory: $project_dir"
echo "BBOX: $bbox"
# Activeer de virtuele omgeving # Activeer de virtuele omgeving
script_dir="$(dirname "$0")" script_dir="$(dirname "$0")"
@ -36,6 +40,7 @@ source "$script_dir/python_app/myenv/bin/activate"
export DAYS=$days export DAYS=$days
export DATE=$date export DATE=$date
export PROJECT_DIR=$project_dir export PROJECT_DIR=$project_dir
export BBOX=$bbox
# Hier kan je verdere stappen toevoegen, zoals het uitvoeren van je Python-script of Jupyter Notebook # Hier kan je verdere stappen toevoegen, zoals het uitvoeren van je Python-script of Jupyter Notebook
jupyter nbconvert --execute --to script --stdout "$script_dir/python_app/Chemba_download.ipynb" jupyter nbconvert --execute --to script --stdout "$script_dir/python_app/Chemba_download.ipynb"