This commit is contained in:
Martin Folkerts 2024-03-05 09:15:46 +01:00
parent 0095b5de7a
commit c222314950
8 changed files with 631 additions and 203 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

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,6 +1,6 @@
{ {
"resources/css/app.css": { "resources/css/app.css": {
"file": "assets/app-2148f347.css", "file": "assets/app-67d2d127.css",
"isEntry": true, "isEntry": true,
"src": "resources/css/app.css" "src": "resources/css/app.css"
}, },

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,22 +74,10 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 25,
"id": "244b5752-4f02-4347-9278-f6a0a46b88f4", "id": "244b5752-4f02-4347-9278-f6a0a46b88f4",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [],
{
"ename": "NameError",
"evalue": "name 'Path' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[13], line 101\u001b[0m\n\u001b[1;32m 41\u001b[0m evalscript_true_color \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\"\"\u001b[39m\n\u001b[1;32m 42\u001b[0m \u001b[38;5;124m //VERSION=3\u001b[39m\n\u001b[1;32m 43\u001b[0m \n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 79\u001b[0m \u001b[38;5;124m }\u001b[39m\n\u001b[1;32m 80\u001b[0m \u001b[38;5;124m\"\"\"\u001b[39m\n\u001b[1;32m 82\u001b[0m \u001b[38;5;66;03m#def get_true_color_request(time_interval):\u001b[39;00m\n\u001b[1;32m 83\u001b[0m \u001b[38;5;66;03m# return SentinelHubRequest(\u001b[39;00m\n\u001b[1;32m 84\u001b[0m \u001b[38;5;66;03m# evalscript=evalscript_true_color,\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 98\u001b[0m \u001b[38;5;66;03m#\u001b[39;00m\n\u001b[1;32m 99\u001b[0m \u001b[38;5;66;03m# )\u001b[39;00m\n\u001b[0;32m--> 101\u001b[0m BASE_PATH_SINGLE \u001b[38;5;241m=\u001b[39m Path(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m../laravel_app/storage/app/chemba/\u001b[39m\u001b[38;5;124m'\u001b[39m)\n\u001b[1;32m 102\u001b[0m BASE_PATH_SINGLE_IMAGES \u001b[38;5;241m=\u001b[39m Path(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m../laravel_app/storage/app/chemba/single_images\u001b[39m\u001b[38;5;124m'\u001b[39m)\n\u001b[1;32m 103\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mget_true_color_request_day_east\u001b[39m(time_interval):\n\u001b[1;32m 104\u001b[0m \u001b[38;5;66;03m#base_path = '../laravel_app/storage/app/chemba/single_images/'\u001b[39;00m\n",
"\u001b[0;31mNameError\u001b[0m: name 'Path' is not defined"
]
}
],
"source": [ "source": [
"\"\"\"\n", "\"\"\"\n",
"Utilities used by example notebooks\n", "Utilities used by example notebooks\n",
@ -192,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",
@ -204,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",
@ -252,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": [],
@ -270,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": [],
@ -298,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": [
@ -308,34 +283,34 @@
"text": [ "text": [
"Monthly time windows:\n", "Monthly time windows:\n",
"\n", "\n",
"2023-11-11\n", "2024-02-03\n",
"2023-11-12\n", "2024-02-04\n",
"2023-11-13\n", "2024-02-05\n",
"2023-11-14\n", "2024-02-06\n",
"2023-11-15\n", "2024-02-07\n",
"2023-11-16\n", "2024-02-08\n",
"2023-11-17\n", "2024-02-09\n",
"2023-11-18\n", "2024-02-10\n",
"2023-11-19\n", "2024-02-11\n",
"2023-11-20\n", "2024-02-12\n",
"2023-11-21\n", "2024-02-13\n",
"2023-11-22\n", "2024-02-14\n",
"2023-11-23\n", "2024-02-15\n",
"2023-11-24\n", "2024-02-16\n",
"2023-11-25\n", "2024-02-17\n",
"2023-11-26\n", "2024-02-18\n",
"2023-11-27\n", "2024-02-19\n",
"2023-11-28\n", "2024-02-20\n",
"2023-11-29\n", "2024-02-21\n",
"2023-11-30\n", "2024-02-22\n",
"2023-12-01\n", "2024-02-23\n",
"2023-12-02\n", "2024-02-24\n",
"2023-12-03\n", "2024-02-25\n",
"2023-12-04\n", "2024-02-26\n",
"2023-12-05\n", "2024-02-27\n",
"2023-12-06\n", "2024-02-28\n",
"2023-12-07\n", "2024-02-29\n",
"2023-12-08\n" "2024-03-01\n"
] ]
} }
], ],
@ -375,41 +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]\n", "\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]\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",
@ -437,7 +395,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 30,
"id": "d5830b6e-da0a-416f-867e-cbca4bd434f5", "id": "d5830b6e-da0a-416f-867e-cbca4bd434f5",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -445,109 +403,541 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
" East downloaded 2023-11-11\n", " West downloaded 2024-02-03\n",
" West downloaded 2023-11-11\n", " West downloaded 2024-02-03\n",
" East downloaded 2023-11-12\n", " West downloaded 2024-02-04\n",
" West downloaded 2023-11-12\n", " West downloaded 2024-02-04\n",
" East downloaded 2023-11-13\n", " West downloaded 2024-02-05\n",
" West downloaded 2023-11-13\n", " West downloaded 2024-02-05\n",
" East downloaded 2023-11-14\n", " West downloaded 2024-02-06\n",
" West downloaded 2023-11-14\n", " West downloaded 2024-02-06\n",
" East downloaded 2023-11-15\n", " West downloaded 2024-02-07\n",
" West downloaded 2023-11-15\n", " West downloaded 2024-02-07\n",
" East downloaded 2023-11-16\n", " West downloaded 2024-02-08\n",
" West downloaded 2023-11-16\n", " West downloaded 2024-02-08\n",
" East downloaded 2023-11-17\n", " West downloaded 2024-02-09\n",
" West downloaded 2023-11-17\n", " West downloaded 2024-02-09\n",
" East downloaded 2023-11-18\n", " West downloaded 2024-02-10\n",
" West downloaded 2023-11-18\n", " West downloaded 2024-02-10\n",
" East downloaded 2023-11-19\n", " West downloaded 2024-02-11\n",
" West downloaded 2023-11-19\n", " West downloaded 2024-02-11\n",
" East downloaded 2023-11-20\n", " West downloaded 2024-02-12\n",
" West downloaded 2023-11-20\n", " West downloaded 2024-02-12\n",
" East downloaded 2023-11-21\n", " West downloaded 2024-02-13\n",
" West downloaded 2023-11-21\n", " West downloaded 2024-02-13\n",
" East downloaded 2023-11-22\n", " West downloaded 2024-02-14\n",
" West downloaded 2023-11-22\n", " West downloaded 2024-02-14\n",
" East downloaded 2023-11-23\n", " West downloaded 2024-02-15\n",
" West downloaded 2023-11-23\n", " West downloaded 2024-02-15\n",
" East downloaded 2023-11-24\n", " West downloaded 2024-02-16\n",
" West downloaded 2023-11-24\n", " West downloaded 2024-02-16\n",
" East downloaded 2023-11-25\n", " West downloaded 2024-02-17\n",
" West downloaded 2023-11-25\n", " West downloaded 2024-02-17\n",
" East downloaded 2023-11-26\n", " West downloaded 2024-02-18\n",
" West downloaded 2023-11-26\n", " West downloaded 2024-02-18\n",
" East downloaded 2023-11-27\n", " West downloaded 2024-02-19\n",
" West downloaded 2023-11-27\n", " West downloaded 2024-02-19\n",
" East downloaded 2023-11-28\n", " West downloaded 2024-02-20\n",
" West downloaded 2023-11-28\n", " West downloaded 2024-02-20\n",
" East downloaded 2023-11-29\n", " West downloaded 2024-02-21\n",
" West downloaded 2023-11-29\n", " West downloaded 2024-02-21\n",
" East downloaded 2023-11-30\n", " West downloaded 2024-02-22\n",
" West downloaded 2023-11-30\n", " West downloaded 2024-02-22\n",
" East downloaded 2023-12-01\n", " West downloaded 2024-02-23\n",
" West downloaded 2023-12-01\n", " West downloaded 2024-02-23\n",
" East downloaded 2023-12-02\n", " West downloaded 2024-02-24\n",
" West downloaded 2023-12-02\n", " West downloaded 2024-02-24\n",
" East downloaded 2023-12-03\n", " West downloaded 2024-02-25\n",
" West downloaded 2023-12-03\n", " West downloaded 2024-02-25\n",
" East downloaded 2023-12-04\n", " West downloaded 2024-02-26\n",
" West downloaded 2023-12-04\n", " West downloaded 2024-02-26\n",
" East downloaded 2023-12-05\n", " West downloaded 2024-02-27\n",
" West downloaded 2023-12-05\n" " West downloaded 2024-02-27\n",
] " West downloaded 2024-02-28\n",
}, " West downloaded 2024-02-28\n",
{ " West downloaded 2024-02-29\n",
"ename": "UnauthorizedClientError", " West downloaded 2024-02-29\n",
"evalue": "(unauthorized_client) Unexpected error when authenticating client", " West downloaded 2024-03-01\n",
"output_type": "error", " West downloaded 2024-03-01\n"
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mUnauthorizedClientError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[12], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m slot \u001b[38;5;129;01min\u001b[39;00m slots:\n\u001b[0;32m----> 2\u001b[0m download_function(slot)\n",
"Cell \u001b[0;32mIn[11], line 8\u001b[0m, in \u001b[0;36mdownload_function\u001b[0;34m(slot)\u001b[0m\n\u001b[1;32m 5\u001b[0m list_of_requests \u001b[38;5;241m=\u001b[39m [request\u001b[38;5;241m.\u001b[39mdownload_list[\u001b[38;5;241m0\u001b[39m] \u001b[38;5;28;01mfor\u001b[39;00m request \u001b[38;5;129;01min\u001b[39;00m list_of_requests]\n\u001b[1;32m 7\u001b[0m \u001b[38;5;66;03m# download data chemba east with multiple threads\u001b[39;00m\n\u001b[0;32m----> 8\u001b[0m data \u001b[38;5;241m=\u001b[39m SentinelHubDownloadClient(config\u001b[38;5;241m=\u001b[39mconfig)\u001b[38;5;241m.\u001b[39mdownload(list_of_requests, max_threads\u001b[38;5;241m=\u001b[39m\u001b[38;5;241m15\u001b[39m)\n\u001b[1;32m 9\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m East downloaded \u001b[39m\u001b[38;5;124m'\u001b[39m \u001b[38;5;241m+\u001b[39mslot)\n\u001b[1;32m 11\u001b[0m \u001b[38;5;66;03m### Chemba west side\u001b[39;00m\n\u001b[1;32m 12\u001b[0m \u001b[38;5;66;03m# create a list of requests\u001b[39;00m\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/sentinelhub_client.py:62\u001b[0m, in \u001b[0;36mSentinelHubDownloadClient.download\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 60\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlock \u001b[38;5;241m=\u001b[39m Lock()\n\u001b[1;32m 61\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m---> 62\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28msuper\u001b[39m()\u001b[38;5;241m.\u001b[39mdownload(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 63\u001b[0m \u001b[38;5;28;01mfinally\u001b[39;00m:\n\u001b[1;32m 64\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlock \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/client.py:101\u001b[0m, in \u001b[0;36mDownloadClient.download\u001b[0;34m(self, download_requests, max_threads, decode_data, show_progress)\u001b[0m\n\u001b[1;32m 99\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m future \u001b[38;5;129;01min\u001b[39;00m as_completed(download_list):\n\u001b[1;32m 100\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 101\u001b[0m results[future_order[future]] \u001b[38;5;241m=\u001b[39m future\u001b[38;5;241m.\u001b[39mresult()\n\u001b[1;32m 102\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m DownloadFailedException \u001b[38;5;28;01mas\u001b[39;00m download_exception:\n\u001b[1;32m 103\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mraise_download_errors:\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/concurrent/futures/_base.py:449\u001b[0m, in \u001b[0;36mFuture.result\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 447\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m CancelledError()\n\u001b[1;32m 448\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_state \u001b[38;5;241m==\u001b[39m FINISHED:\n\u001b[0;32m--> 449\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m__get_result()\n\u001b[1;32m 451\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_condition\u001b[38;5;241m.\u001b[39mwait(timeout)\n\u001b[1;32m 453\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_state \u001b[38;5;129;01min\u001b[39;00m [CANCELLED, CANCELLED_AND_NOTIFIED]:\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/concurrent/futures/_base.py:401\u001b[0m, in \u001b[0;36mFuture.__get_result\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 399\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_exception:\n\u001b[1;32m 400\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 401\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_exception\n\u001b[1;32m 402\u001b[0m \u001b[38;5;28;01mfinally\u001b[39;00m:\n\u001b[1;32m 403\u001b[0m \u001b[38;5;66;03m# Break a reference cycle with the exception in self._exception\u001b[39;00m\n\u001b[1;32m 404\u001b[0m \u001b[38;5;28mself\u001b[39m \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/concurrent/futures/thread.py:58\u001b[0m, in \u001b[0;36m_WorkItem.run\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 55\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m\n\u001b[1;32m 57\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m---> 58\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mfn(\u001b[38;5;241m*\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mkwargs)\n\u001b[1;32m 59\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mBaseException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n\u001b[1;32m 60\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mfuture\u001b[38;5;241m.\u001b[39mset_exception(exc)\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/client.py:117\u001b[0m, in \u001b[0;36mDownloadClient._single_download_decoded\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 115\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m_single_download_decoded\u001b[39m(\u001b[38;5;28mself\u001b[39m, request: DownloadRequest) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m Any:\n\u001b[1;32m 116\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"Downloads a response and decodes it into data. By decoding a single response\"\"\"\u001b[39;00m\n\u001b[0;32m--> 117\u001b[0m response \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_single_download(request)\n\u001b[1;32m 118\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;28;01mif\u001b[39;00m response \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;28;01melse\u001b[39;00m response\u001b[38;5;241m.\u001b[39mdecode()\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/client.py:130\u001b[0m, in \u001b[0;36mDownloadClient._single_download\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 128\u001b[0m no_local_data \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mredownload \u001b[38;5;129;01mor\u001b[39;00m response_path \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m os\u001b[38;5;241m.\u001b[39mpath\u001b[38;5;241m.\u001b[39mexists(response_path)\n\u001b[1;32m 129\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m no_local_data:\n\u001b[0;32m--> 130\u001b[0m response \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_execute_download(request)\n\u001b[1;32m 131\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 132\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m request\u001b[38;5;241m.\u001b[39mreturn_data \u001b[38;5;129;01mor\u001b[39;00m response_path \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/handlers.py:64\u001b[0m, in \u001b[0;36mretry_temporary_errors.<locals>.new_download_func\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 62\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m attempt_idx \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mrange\u001b[39m(download_attempts):\n\u001b[1;32m 63\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m---> 64\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m download_func(\u001b[38;5;28mself\u001b[39m, request)\n\u001b[1;32m 66\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m requests\u001b[38;5;241m.\u001b[39mRequestException \u001b[38;5;28;01mas\u001b[39;00m exception:\n\u001b[1;32m 67\u001b[0m attempts_left \u001b[38;5;241m=\u001b[39m download_attempts \u001b[38;5;241m-\u001b[39m (attempt_idx \u001b[38;5;241m+\u001b[39m \u001b[38;5;241m1\u001b[39m)\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/handlers.py:37\u001b[0m, in \u001b[0;36mfail_user_errors.<locals>.new_download_func\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 34\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(download_func)\n\u001b[1;32m 35\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mnew_download_func\u001b[39m(\u001b[38;5;28mself\u001b[39m: Self, request: DownloadRequest) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m T:\n\u001b[1;32m 36\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m---> 37\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m download_func(\u001b[38;5;28mself\u001b[39m, request)\n\u001b[1;32m 38\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m requests\u001b[38;5;241m.\u001b[39mHTTPError \u001b[38;5;28;01mas\u001b[39;00m exception:\n\u001b[1;32m 39\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m (\n\u001b[1;32m 40\u001b[0m exception\u001b[38;5;241m.\u001b[39mresponse\u001b[38;5;241m.\u001b[39mstatus_code \u001b[38;5;241m<\u001b[39m requests\u001b[38;5;241m.\u001b[39mstatus_codes\u001b[38;5;241m.\u001b[39mcodes\u001b[38;5;241m.\u001b[39mINTERNAL_SERVER_ERROR\n\u001b[1;32m 41\u001b[0m \u001b[38;5;129;01mand\u001b[39;00m exception\u001b[38;5;241m.\u001b[39mresponse\u001b[38;5;241m.\u001b[39mstatus_code \u001b[38;5;241m!=\u001b[39m requests\u001b[38;5;241m.\u001b[39mstatus_codes\u001b[38;5;241m.\u001b[39mcodes\u001b[38;5;241m.\u001b[39mTOO_MANY_REQUESTS\n\u001b[1;32m 42\u001b[0m ):\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/sentinelhub_client.py:82\u001b[0m, in \u001b[0;36mSentinelHubDownloadClient._execute_download\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 75\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m sleep_time \u001b[38;5;241m==\u001b[39m \u001b[38;5;241m0\u001b[39m:\n\u001b[1;32m 76\u001b[0m LOGGER\u001b[38;5;241m.\u001b[39mdebug(\n\u001b[1;32m 77\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mSending \u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m request to \u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m. Hash of sent request is \u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m\"\u001b[39m,\n\u001b[1;32m 78\u001b[0m request\u001b[38;5;241m.\u001b[39mrequest_type\u001b[38;5;241m.\u001b[39mvalue,\n\u001b[1;32m 79\u001b[0m request\u001b[38;5;241m.\u001b[39murl,\n\u001b[1;32m 80\u001b[0m request\u001b[38;5;241m.\u001b[39mget_hashed_name(),\n\u001b[1;32m 81\u001b[0m )\n\u001b[0;32m---> 82\u001b[0m response \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_do_download(request)\n\u001b[1;32m 84\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_execute_thread_safe(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mrate_limit\u001b[38;5;241m.\u001b[39mupdate, response\u001b[38;5;241m.\u001b[39mheaders)\n\u001b[1;32m 86\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m response\u001b[38;5;241m.\u001b[39mstatus_code \u001b[38;5;241m==\u001b[39m requests\u001b[38;5;241m.\u001b[39mstatus_codes\u001b[38;5;241m.\u001b[39mcodes\u001b[38;5;241m.\u001b[39mTOO_MANY_REQUESTS:\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/sentinelhub_client.py:115\u001b[0m, in \u001b[0;36mSentinelHubDownloadClient._do_download\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 108\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m request\u001b[38;5;241m.\u001b[39murl \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 109\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mFaulty request \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mrequest\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m, no URL specified.\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[1;32m 111\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m requests\u001b[38;5;241m.\u001b[39mrequest(\n\u001b[1;32m 112\u001b[0m request\u001b[38;5;241m.\u001b[39mrequest_type\u001b[38;5;241m.\u001b[39mvalue,\n\u001b[1;32m 113\u001b[0m url\u001b[38;5;241m=\u001b[39mrequest\u001b[38;5;241m.\u001b[39murl,\n\u001b[1;32m 114\u001b[0m json\u001b[38;5;241m=\u001b[39mrequest\u001b[38;5;241m.\u001b[39mpost_values,\n\u001b[0;32m--> 115\u001b[0m headers\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_prepare_headers(request),\n\u001b[1;32m 116\u001b[0m timeout\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39mdownload_timeout_seconds,\n\u001b[1;32m 117\u001b[0m )\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/sentinelhub_client.py:126\u001b[0m, in \u001b[0;36mSentinelHubDownloadClient._prepare_headers\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 124\u001b[0m session_headers: JsonDict \u001b[38;5;241m=\u001b[39m {}\n\u001b[1;32m 125\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m request\u001b[38;5;241m.\u001b[39muse_session:\n\u001b[0;32m--> 126\u001b[0m session_headers \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_execute_thread_safe(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_get_session_headers)\n\u001b[1;32m 128\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m {\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mSHConstants\u001b[38;5;241m.\u001b[39mHEADERS, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39msession_headers, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mrequest\u001b[38;5;241m.\u001b[39mheaders}\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/sentinelhub_client.py:104\u001b[0m, in \u001b[0;36mSentinelHubDownloadClient._execute_thread_safe\u001b[0;34m(self, thread_unsafe_function, *args, **kwargs)\u001b[0m\n\u001b[1;32m 101\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m thread_unsafe_function(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 103\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlock:\n\u001b[0;32m--> 104\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m thread_unsafe_function(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/sentinelhub_client.py:136\u001b[0m, in \u001b[0;36mSentinelHubDownloadClient._get_session_headers\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 130\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m_get_session_headers\u001b[39m(\u001b[38;5;28mself\u001b[39m) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m JsonDict:\n\u001b[1;32m 131\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"Provides up-to-date session headers\u001b[39;00m\n\u001b[1;32m 132\u001b[0m \n\u001b[1;32m 133\u001b[0m \u001b[38;5;124;03m Note that calling session_headers property triggers update if session has expired therefore this has to be\u001b[39;00m\n\u001b[1;32m 134\u001b[0m \u001b[38;5;124;03m called in a thread-safe way\u001b[39;00m\n\u001b[1;32m 135\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 136\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mget_session()\u001b[38;5;241m.\u001b[39msession_headers\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/sentinelhub_client.py:152\u001b[0m, in \u001b[0;36mSentinelHubDownloadClient.get_session\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 150\u001b[0m session \u001b[38;5;241m=\u001b[39m SentinelHubDownloadClient\u001b[38;5;241m.\u001b[39m_CACHED_SESSIONS[SentinelHubDownloadClient\u001b[38;5;241m.\u001b[39m_UNIVERSAL_CACHE_KEY]\n\u001b[1;32m 151\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 152\u001b[0m session \u001b[38;5;241m=\u001b[39m SentinelHubSession(config\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig)\n\u001b[1;32m 153\u001b[0m SentinelHubDownloadClient\u001b[38;5;241m.\u001b[39m_CACHED_SESSIONS[cache_key] \u001b[38;5;241m=\u001b[39m session\n\u001b[1;32m 155\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m session\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/session.py:75\u001b[0m, in \u001b[0;36mSentinelHubSession.__init__\u001b[0;34m(self, config, refresh_before_expiry, _token)\u001b[0m\n\u001b[1;32m 68\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m token_fetching_required \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39msh_client_id \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39msh_client_secret):\n\u001b[1;32m 69\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\n\u001b[1;32m 70\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mConfiguration parameters \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124msh_client_id\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m and \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124msh_client_secret\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m have to be set in order \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 71\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mto authenticate with Sentinel Hub service. Check \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 72\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhttps://sentinelhub-py.readthedocs.io/en/latest/configure.html for more info.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 73\u001b[0m )\n\u001b[0;32m---> 75\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_token \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_collect_new_token() \u001b[38;5;28;01mif\u001b[39;00m _token \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;28;01melse\u001b[39;00m _token\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/session.py:129\u001b[0m, in \u001b[0;36mSentinelHubSession._collect_new_token\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 123\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124;03m\"\"\"Creates a download request and fetches a token from the service.\u001b[39;00m\n\u001b[1;32m 124\u001b[0m \n\u001b[1;32m 125\u001b[0m \u001b[38;5;124;03mNote that the `DownloadRequest` object is created only because retry decorators of `_fetch_token` method\u001b[39;00m\n\u001b[1;32m 126\u001b[0m \u001b[38;5;124;03mrequire it.\u001b[39;00m\n\u001b[1;32m 127\u001b[0m \u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 128\u001b[0m request \u001b[38;5;241m=\u001b[39m DownloadRequest(url\u001b[38;5;241m=\u001b[39m\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39msh_token_url\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m--> 129\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_fetch_token(request)\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/handlers.py:64\u001b[0m, in \u001b[0;36mretry_temporary_errors.<locals>.new_download_func\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 62\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m attempt_idx \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mrange\u001b[39m(download_attempts):\n\u001b[1;32m 63\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m---> 64\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m download_func(\u001b[38;5;28mself\u001b[39m, request)\n\u001b[1;32m 66\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m requests\u001b[38;5;241m.\u001b[39mRequestException \u001b[38;5;28;01mas\u001b[39;00m exception:\n\u001b[1;32m 67\u001b[0m attempts_left \u001b[38;5;241m=\u001b[39m download_attempts \u001b[38;5;241m-\u001b[39m (attempt_idx \u001b[38;5;241m+\u001b[39m \u001b[38;5;241m1\u001b[39m)\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/handlers.py:37\u001b[0m, in \u001b[0;36mfail_user_errors.<locals>.new_download_func\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 34\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(download_func)\n\u001b[1;32m 35\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mnew_download_func\u001b[39m(\u001b[38;5;28mself\u001b[39m: Self, request: DownloadRequest) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m T:\n\u001b[1;32m 36\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m---> 37\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m download_func(\u001b[38;5;28mself\u001b[39m, request)\n\u001b[1;32m 38\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m requests\u001b[38;5;241m.\u001b[39mHTTPError \u001b[38;5;28;01mas\u001b[39;00m exception:\n\u001b[1;32m 39\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m (\n\u001b[1;32m 40\u001b[0m exception\u001b[38;5;241m.\u001b[39mresponse\u001b[38;5;241m.\u001b[39mstatus_code \u001b[38;5;241m<\u001b[39m requests\u001b[38;5;241m.\u001b[39mstatus_codes\u001b[38;5;241m.\u001b[39mcodes\u001b[38;5;241m.\u001b[39mINTERNAL_SERVER_ERROR\n\u001b[1;32m 41\u001b[0m \u001b[38;5;129;01mand\u001b[39;00m exception\u001b[38;5;241m.\u001b[39mresponse\u001b[38;5;241m.\u001b[39mstatus_code \u001b[38;5;241m!=\u001b[39m requests\u001b[38;5;241m.\u001b[39mstatus_codes\u001b[38;5;241m.\u001b[39mcodes\u001b[38;5;241m.\u001b[39mTOO_MANY_REQUESTS\n\u001b[1;32m 42\u001b[0m ):\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/sentinelhub/download/session.py:141\u001b[0m, in \u001b[0;36mSentinelHubSession._fetch_token\u001b[0;34m(self, request)\u001b[0m\n\u001b[1;32m 138\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m OAuth2Session(client\u001b[38;5;241m=\u001b[39moauth_client) \u001b[38;5;28;01mas\u001b[39;00m oauth_session:\n\u001b[1;32m 139\u001b[0m oauth_session\u001b[38;5;241m.\u001b[39mregister_compliance_hook(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124maccess_token_response\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compliance_hook)\n\u001b[0;32m--> 141\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m oauth_session\u001b[38;5;241m.\u001b[39mfetch_token(\n\u001b[1;32m 142\u001b[0m token_url\u001b[38;5;241m=\u001b[39mrequest\u001b[38;5;241m.\u001b[39murl,\n\u001b[1;32m 143\u001b[0m client_id\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39msh_client_id,\n\u001b[1;32m 144\u001b[0m client_secret\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39msh_client_secret,\n\u001b[1;32m 145\u001b[0m headers\u001b[38;5;241m=\u001b[39m{\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mDEFAULT_HEADERS, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mSHConstants\u001b[38;5;241m.\u001b[39mHEADERS},\n\u001b[1;32m 146\u001b[0m )\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/requests_oauthlib/oauth2_session.py:366\u001b[0m, in \u001b[0;36mOAuth2Session.fetch_token\u001b[0;34m(self, token_url, code, authorization_response, body, auth, username, password, method, force_querystring, timeout, headers, verify, proxies, include_client_id, client_secret, cert, **kwargs)\u001b[0m\n\u001b[1;32m 363\u001b[0m log\u001b[38;5;241m.\u001b[39mdebug(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mInvoking hook \u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m, hook)\n\u001b[1;32m 364\u001b[0m r \u001b[38;5;241m=\u001b[39m hook(r)\n\u001b[0;32m--> 366\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_client\u001b[38;5;241m.\u001b[39mparse_request_body_response(r\u001b[38;5;241m.\u001b[39mtext, scope\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mscope)\n\u001b[1;32m 367\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtoken \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_client\u001b[38;5;241m.\u001b[39mtoken\n\u001b[1;32m 368\u001b[0m log\u001b[38;5;241m.\u001b[39mdebug(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mObtained token \u001b[39m\u001b[38;5;132;01m%s\u001b[39;00m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtoken)\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/clients/base.py:427\u001b[0m, in \u001b[0;36mClient.parse_request_body_response\u001b[0;34m(self, body, scope, **kwargs)\u001b[0m\n\u001b[1;32m 379\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124;03m\"\"\"Parse the JSON response body.\u001b[39;00m\n\u001b[1;32m 380\u001b[0m \n\u001b[1;32m 381\u001b[0m \u001b[38;5;124;03mIf the access token request is valid and authorized, the\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 424\u001b[0m \u001b[38;5;124;03m.. _`Section 7.1`: https://tools.ietf.org/html/rfc6749#section-7.1\u001b[39;00m\n\u001b[1;32m 425\u001b[0m \u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 426\u001b[0m scope \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mscope \u001b[38;5;28;01mif\u001b[39;00m scope \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;28;01melse\u001b[39;00m scope\n\u001b[0;32m--> 427\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtoken \u001b[38;5;241m=\u001b[39m parse_token_response(body, scope\u001b[38;5;241m=\u001b[39mscope)\n\u001b[1;32m 428\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mpopulate_token_attributes(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtoken)\n\u001b[1;32m 429\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mtoken\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/parameters.py:441\u001b[0m, in \u001b[0;36mparse_token_response\u001b[0;34m(body, scope)\u001b[0m\n\u001b[1;32m 438\u001b[0m params[\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mexpires_at\u001b[39m\u001b[38;5;124m'\u001b[39m] \u001b[38;5;241m=\u001b[39m time\u001b[38;5;241m.\u001b[39mtime() \u001b[38;5;241m+\u001b[39m \u001b[38;5;28mint\u001b[39m(params[\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mexpires_in\u001b[39m\u001b[38;5;124m'\u001b[39m])\n\u001b[1;32m 440\u001b[0m params \u001b[38;5;241m=\u001b[39m OAuth2Token(params, old_scope\u001b[38;5;241m=\u001b[39mscope)\n\u001b[0;32m--> 441\u001b[0m validate_token_parameters(params)\n\u001b[1;32m 442\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m params\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/parameters.py:448\u001b[0m, in \u001b[0;36mvalidate_token_parameters\u001b[0;34m(params)\u001b[0m\n\u001b[1;32m 446\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124;03m\"\"\"Ensures token presence, token type, expiration and scope in params.\"\"\"\u001b[39;00m\n\u001b[1;32m 447\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;124m'\u001b[39m\u001b[38;5;124merror\u001b[39m\u001b[38;5;124m'\u001b[39m \u001b[38;5;129;01min\u001b[39;00m params:\n\u001b[0;32m--> 448\u001b[0m raise_from_error(params\u001b[38;5;241m.\u001b[39mget(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124merror\u001b[39m\u001b[38;5;124m'\u001b[39m), params)\n\u001b[1;32m 450\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;124m'\u001b[39m\u001b[38;5;124maccess_token\u001b[39m\u001b[38;5;124m'\u001b[39m \u001b[38;5;129;01min\u001b[39;00m params:\n\u001b[1;32m 451\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m MissingTokenError(description\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mMissing access token parameter.\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n",
"File \u001b[0;32m/usr/local/anaconda3/lib/python3.11/site-packages/oauthlib/oauth2/rfc6749/errors.py:399\u001b[0m, in \u001b[0;36mraise_from_error\u001b[0;34m(error, params)\u001b[0m\n\u001b[1;32m 397\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m _, \u001b[38;5;28mcls\u001b[39m \u001b[38;5;129;01min\u001b[39;00m inspect\u001b[38;5;241m.\u001b[39mgetmembers(sys\u001b[38;5;241m.\u001b[39mmodules[\u001b[38;5;18m__name__\u001b[39m], inspect\u001b[38;5;241m.\u001b[39misclass):\n\u001b[1;32m 398\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mcls\u001b[39m\u001b[38;5;241m.\u001b[39merror \u001b[38;5;241m==\u001b[39m error:\n\u001b[0;32m--> 399\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;28mcls\u001b[39m(\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 400\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m CustomOAuth2Error(error\u001b[38;5;241m=\u001b[39merror, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
"\u001b[0;31mUnauthorizedClientError\u001b[0m: (unauthorized_client) Unexpected error when authenticating client"
] ]
} }
], ],
"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)"
@ -555,10 +945,19 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "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",
@ -603,6 +1002,14 @@
"\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()
@ -24,20 +25,28 @@ weeks_ago <- as.numeric(args[1])
# Controleer of weeks_ago een geldig getal is # Controleer of weeks_ago een geldig getal is
if (is.na(weeks_ago)) { if (is.na(weeks_ago)) {
stop("Het argument is geen geldig getal") stop("Het argument weeks_ago is geen geldig getal")
} }
laravel_storage_dir <- here("../laravel_app/storage/app") # Converteer het tweede argument naar een string waarde
project_dir <- as.character(args[2])
# Controleer of data_dir een geldige waarde is
if (!is.character(project_dir)) {
stop("Het argument project_dir is geen geldige string")
}
laravel_storage_dir <- here("../laravel_app/storage/app", project_dir)
#preparing directories #preparing directories
planet_tif_folder <- here(laravel_storage_dir, "chemba/merged_tif") planet_tif_folder <- here(laravel_storage_dir, "merged_tif")
merged_final <- here(laravel_storage_dir, "chemba/merged_final_tif") merged_final <- here(laravel_storage_dir, "merged_final_tif")
data_dir <- here(laravel_storage_dir, "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, "chemba/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")

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"