2025-08-01 00:13:45,081 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_074089_20250622 that failed. Failed to open the image file data/nzd0392/L8/ms/2025-06-22-22-13-07_L8_nzd0392_ms.tif 2025-08-01 00:13:50,082 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_074090_20250622 that failed. Failed to open the image file data/nzd0392/L8/ms/2025-06-22-22-13-31_L8_nzd0392_ms.tif 2025-08-01 00:13:58,582 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075089_20250629 as 2025-06-29-22-19-20_L8_nzd0392_ms.tif 2025-08-01 00:14:03,804 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075090_20250629 as 2025-06-29-22-19-44_L8_nzd0392_ms.tif 2025-08-01 00:14:07,348 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_075090_20250715 that failed. Failed to open the image file data/nzd0392/L8/ms/2025-07-15-22-19-49_L8_nzd0392_ms.tif 2025-08-01 00:14:12,591 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074089_20250630 as 2025-06-30-22-13-07_L9_nzd0392_ms.tif 2025-08-01 00:14:19,475 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_074089_20250716 that failed. Failed to open the image file data/nzd0392/L9/ms/2025-07-16-22-13-12_L9_nzd0392_ms.tif 2025-08-01 00:14:26,000 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074090_20250630 as 2025-06-30-22-13-31_L9_nzd0392_ms.tif 2025-08-01 00:14:31,715 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_074090_20250716 that failed. Failed to open the image file data/nzd0392/L9/ms/2025-07-16-22-13-36_L9_nzd0392_ms.tif 2025-08-01 00:14:37,570 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_075089_20250621 that failed. Failed to open the image file data/nzd0392/L9/ms/2025-06-21-22-19-14_L9_nzd0392_ms.tif 2025-08-01 00:14:42,306 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_075089_20250707 that failed. Failed to open the image file data/nzd0392/L9/ms/2025-07-07-22-19-18_L9_nzd0392_ms.tif 2025-08-01 00:14:47,420 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075089_20250723 as 2025-07-23-22-19-27_L9_nzd0392_ms.tif 2025-08-01 00:14:51,867 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075090_20250723 as 2025-07-23-22-19-51_L9_nzd0392_ms.tif 2025-08-01 00:14:52,021 - satellite_download_logger - INFO - Please read the following information carefully: 2025-08-01 00:14:52,021 - satellite_download_logger - INFO - find_wl_contours2: A method for extracting shorelines that uses the sand water interface detected with the model to refine the threshold that's used to detect shorelines . - This is the default method used when there are enough sand pixels within the reference shoreline buffer. 2025-08-01 00:14:52,021 - satellite_download_logger - INFO - find_wl_contours1: This shoreline extraction method uses a threshold to differentiate between water and land pixels in images, relying on Modified Normalized Difference Water Index (MNDWI) values. However, it may inaccurately classify snow and ice as water, posing a limitation in certain environments. - This is only used when not enough sand pixels are detected within the reference shoreline buffer. 2025-08-01 00:14:52,021 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-08-01 00:14:52,022 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-08-01 00:14:52,034 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-08-01 00:14:52,034 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-08-01 00:14:52,036 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-08-01 00:14:52,127 - satellite_download_logger - WARNING - L8 2025-06-29-22-19-20: Skipped due to cloud cover 16.39% > threshold 10.00% 2025-08-01 00:14:52,131 - satellite_download_logger - INFO - L8 2025-06-29-22-19-44 cloud cover : 0.00% 2025-08-01 00:14:52,265 - satellite_download_logger - INFO - L8 2025-06-29-22-19-44: sand: 0.00% ,whitewater: 0.00% ,water: 21.09% 2025-08-01 00:14:52,265 - satellite_download_logger - INFO - L8 2025-06-29-22-19-44: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:14:52,269 - satellite_download_logger - ERROR - L8 2025-06-29-22-19-44: Could not map shoreline due to error no valid pixels found in reference shoreline buffer. Traceback (most recent call last): File "/home/ubuntu/.local/lib/python3.12/site-packages/coastsat/SDS_shoreline.py", line 1061, in extract_shorelines shoreline, t_mndwi = find_shoreline_optical( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/.local/lib/python3.12/site-packages/coastsat/SDS_shoreline.py", line 216, in find_shoreline_optical contours_mwi, t_mndwi = find_wl_contours1(im_mndwi, cloud_mask, im_ref_buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/.local/lib/python3.12/site-packages/coastsat/SDS_shoreline.py", line 1426, in find_wl_contours1 raise ValueError("no valid pixels found in reference shoreline buffer.") ValueError: no valid pixels found in reference shoreline buffer. 2025-08-01 00:14:52,273 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-08-01 00:14:52,317 - satellite_download_logger - INFO - L9 2025-06-30-22-13-07 cloud cover : 3.59% 2025-08-01 00:14:52,525 - satellite_download_logger - INFO - L9 2025-06-30-22-13-07: sand: 0.00% ,whitewater: 6.17% ,water: 58.30% 2025-08-01 00:14:52,528 - satellite_download_logger - INFO - L9 2025-06-30-22-13-07: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:14:52,536 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 30 shorelines. Number of shorelines after filtering shorelines: 9 shorelines 2025-08-01 00:14:52,536 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 759 2025-08-01 00:14:52,654 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 436 2025-08-01 00:14:52,654 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 436 2025-08-01 00:14:52,665 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 436 2025-08-01 00:14:53,362 - satellite_download_logger - INFO - L9 2025-06-30-22-13-31 cloud cover : 0.12% 2025-08-01 00:14:53,534 - satellite_download_logger - INFO - L9 2025-06-30-22-13-31: sand: 0.00% ,whitewater: 7.19% ,water: 59.43% 2025-08-01 00:14:53,536 - satellite_download_logger - INFO - L9 2025-06-30-22-13-31: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:14:53,543 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 29 shorelines. Number of shorelines after filtering shorelines: 7 shorelines 2025-08-01 00:14:53,543 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 1021 2025-08-01 00:14:53,557 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 1021 2025-08-01 00:14:53,557 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 1021 2025-08-01 00:14:53,583 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 1021 2025-08-01 00:14:54,101 - satellite_download_logger - INFO - L9 2025-07-23-22-19-27 cloud cover : 0.71% 2025-08-01 00:14:54,403 - satellite_download_logger - INFO - L9 2025-07-23-22-19-27: sand: 0.00% ,whitewater: 0.10% ,water: 60.93% 2025-08-01 00:14:54,405 - satellite_download_logger - INFO - L9 2025-07-23-22-19-27: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:14:54,410 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 24 shorelines. Number of shorelines after filtering shorelines: 3 shorelines 2025-08-01 00:14:54,410 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 548 2025-08-01 00:14:54,426 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 526 2025-08-01 00:14:54,426 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 526 2025-08-01 00:14:54,441 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 526 2025-08-01 00:14:54,995 - satellite_download_logger - INFO - L9 2025-07-23-22-19-51 cloud cover : 0.00% 2025-08-01 00:14:55,036 - satellite_download_logger - INFO - L9 2025-07-23-22-19-51: sand: 0.00% ,whitewater: 0.00% ,water: 14.46% 2025-08-01 00:14:55,036 - satellite_download_logger - INFO - L9 2025-07-23-22-19-51: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:14:55,037 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 0 shorelines