2025-12-08 15:59:11,954 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_071087_20251108 that failed. Failed to open the image file data/nzd0291/L8/ms/2025-11-08-21-54-21_L8_nzd0291_ms.tif 2025-12-08 15:59:18,395 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_071087_20251124 that failed. Failed to open the image file data/nzd0291/L8/ms/2025-11-24-21-54-22_L8_nzd0291_ms.tif 2025-12-08 15:59:22,777 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_071088_20251108 that failed. Failed to open the image file data/nzd0291/L8/ms/2025-11-08-21-54-45_L8_nzd0291_ms.tif 2025-12-08 15:59:29,144 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_072087_20251115 as 2025-11-15-22-00-32_L8_nzd0291_ms.tif 2025-12-08 15:59:37,042 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_071087_20251202 as 2025-12-02-21-54-26_L9_nzd0291_ms.tif 2025-12-08 15:59:42,058 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_071088_20251202 as 2025-12-02-21-54-50_L9_nzd0291_ms.tif 2025-12-08 15:59:48,518 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_072087_20251123 that failed. Failed to open the image file data/nzd0291/L9/ms/2025-11-23-22-00-35_L9_nzd0291_ms.tif 2025-12-08 15:59:48,592 - satellite_download_logger - INFO - Please read the following information carefully: 2025-12-08 15:59:48,593 - 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-12-08 15:59:48,593 - 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-12-08 15:59:48,593 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-12-08 15:59:48,594 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-12-08 15:59:48,603 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-12-08 15:59:48,604 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-12-08 15:59:48,608 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-12-08 15:59:48,625 - satellite_download_logger - INFO - L8 2025-11-15-22-00-32 cloud cover : 0.00% 2025-12-08 15:59:48,737 - satellite_download_logger - INFO - L8 2025-11-15-22-00-32: sand: 3.64% ,whitewater: 4.62% ,water: 41.59% 2025-12-08 15:59:48,738 - satellite_download_logger - INFO - L8 2025-11-15-22-00-32: Greater than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours2 2025-12-08 15:59:48,741 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-12-08 15:59:48,741 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 156 2025-12-08 15:59:48,741 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 156 2025-12-08 15:59:48,741 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 156 2025-12-08 15:59:48,741 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 156 2025-12-08 15:59:49,145 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-12-08 15:59:49,254 - satellite_download_logger - WARNING - L9 2025-11-16-21-54-25: Skipped due to cloud cover 19.96% > threshold 10.00% 2025-12-08 15:59:49,274 - satellite_download_logger - INFO - L9 2025-11-16-21-54-49 cloud cover : 0.00% 2025-12-08 15:59:49,288 - satellite_download_logger - INFO - L9 2025-11-16-21-54-49: sand: 0.00% ,whitewater: 0.00% ,water: 3.03% 2025-12-08 15:59:49,288 - satellite_download_logger - INFO - L9 2025-11-16-21-54-49: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-12-08 15:59:49,292 - satellite_download_logger - ERROR - L9 2025-11-16-21-54-49: 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-12-08 15:59:49,299 - satellite_download_logger - INFO - L9 2025-12-02-21-54-26 cloud cover : 0.00% 2025-12-08 15:59:49,382 - satellite_download_logger - INFO - L9 2025-12-02-21-54-26: sand: 1.96% ,whitewater: 0.00% ,water: 46.54% 2025-12-08 15:59:49,383 - satellite_download_logger - INFO - L9 2025-12-02-21-54-26: Greater than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours2 2025-12-08 15:59:49,385 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-12-08 15:59:49,385 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 156 2025-12-08 15:59:49,385 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 156 2025-12-08 15:59:49,385 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 156 2025-12-08 15:59:49,385 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 156 2025-12-08 15:59:50,144 - satellite_download_logger - INFO - L9 2025-12-02-21-54-50 cloud cover : 0.00% 2025-12-08 15:59:50,152 - satellite_download_logger - INFO - L9 2025-12-02-21-54-50: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-12-08 15:59:50,152 - satellite_download_logger - INFO - L9 2025-12-02-21-54-50: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-12-08 15:59:50,152 - satellite_download_logger - ERROR - L9 2025-12-02-21-54-50: 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.