2025-06-17 12:36:01,914 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_075088_20250528 that failed. Failed to open the image file data/nzd0345/L8/ms/2025-05-28-22-18-40_L8_nzd0345_ms.tif 2025-06-17 12:36:09,604 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_075089_20250528 that failed. Failed to open the image file data/nzd0345/L8/ms/2025-05-28-22-19-04_L8_nzd0345_ms.tif 2025-06-17 12:36:15,058 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074088_20250614 as 2025-06-14-22-12-35_L9_nzd0345_ms.tif 2025-06-17 12:36:27,555 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074089_20250614 as 2025-06-14-22-12-59_L9_nzd0345_ms.tif 2025-06-17 12:36:35,704 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075088_20250605 as 2025-06-05-22-18-36_L9_nzd0345_ms.tif 2025-06-17 12:36:43,107 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075089_20250605 as 2025-06-05-22-19-00_L9_nzd0345_ms.tif 2025-06-17 12:36:43,159 - satellite_download_logger - INFO - Please read the following information carefully: 2025-06-17 12:36:43,159 - 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-06-17 12:36:43,159 - 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-06-17 12:36:43,159 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-06-17 12:36:43,160 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-06-17 12:36:43,162 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-06-17 12:36:43,162 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-06-17 12:36:43,163 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-06-17 12:36:43,169 - satellite_download_logger - INFO - L8 2025-05-21-22-12-27 cloud cover : 0.00% 2025-06-17 12:36:43,176 - satellite_download_logger - INFO - L8 2025-05-21-22-12-27: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-06-17 12:36:43,176 - satellite_download_logger - INFO - L8 2025-05-21-22-12-27: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-17 12:36:43,177 - satellite_download_logger - ERROR - L8 2025-05-21-22-12-27: 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-06-17 12:36:43,444 - satellite_download_logger - WARNING - L8 2025-05-21-22-12-51: Skipped due to cloud cover 28.30% > threshold 10.00% 2025-06-17 12:36:43,452 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-06-17 12:36:44,789 - satellite_download_logger - WARNING - L9 2025-05-20-22-18-42: Skipped due to cloud cover 18.22% > threshold 10.00% 2025-06-17 12:36:45,515 - satellite_download_logger - WARNING - L9 2025-05-20-22-19-06: Skipped due to cloud cover 10.55% > threshold 10.00% 2025-06-17 12:36:45,554 - satellite_download_logger - WARNING - L9 2025-05-29-22-12-27: Skipped due to cloud cover 82.37% > threshold 10.00% 2025-06-17 12:36:45,801 - satellite_download_logger - WARNING - L9 2025-05-29-22-12-51: Skipped due to cloud cover 37.01% > threshold 10.00% 2025-06-17 12:36:45,858 - satellite_download_logger - INFO - L9 2025-06-05-22-18-36 cloud cover : 3.47% 2025-06-17 12:36:46,231 - satellite_download_logger - INFO - L9 2025-06-05-22-18-36: sand: 0.00% ,whitewater: 13.07% ,water: 46.28% 2025-06-17 12:36:46,236 - satellite_download_logger - INFO - L9 2025-06-05-22-18-36: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-17 12:36:46,248 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 60 shorelines. Number of shorelines after filtering shorelines: 10 shorelines 2025-06-17 12:36:46,248 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 1831 2025-06-17 12:36:46,628 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 1553 2025-06-17 12:36:46,628 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 1553 2025-06-17 12:36:46,628 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 1553 2025-06-17 12:36:46,959 - satellite_download_logger - INFO - L9 2025-06-05-22-19-00 cloud cover : 1.45% 2025-06-17 12:36:47,324 - satellite_download_logger - INFO - L9 2025-06-05-22-19-00: sand: 0.00% ,whitewater: 14.42% ,water: 46.52% 2025-06-17 12:36:47,330 - satellite_download_logger - INFO - L9 2025-06-05-22-19-00: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-17 12:36:47,341 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 57 shorelines. Number of shorelines after filtering shorelines: 10 shorelines 2025-06-17 12:36:47,341 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 1828 2025-06-17 12:36:47,512 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 1634 2025-06-17 12:36:47,512 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 1634 2025-06-17 12:36:47,512 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 1634 2025-06-17 12:36:47,777 - satellite_download_logger - INFO - L9 2025-06-14-22-12-35 cloud cover : 0.00% 2025-06-17 12:36:47,793 - satellite_download_logger - INFO - L9 2025-06-14-22-12-35: sand: 0.00% ,whitewater: 0.00% ,water: 34.56% 2025-06-17 12:36:47,793 - satellite_download_logger - INFO - L9 2025-06-14-22-12-35: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-17 12:36:47,794 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 0 shorelines 2025-06-17 12:36:47,979 - satellite_download_logger - INFO - L9 2025-06-14-22-12-59 cloud cover : 0.00% 2025-06-17 12:36:48,284 - satellite_download_logger - INFO - L9 2025-06-14-22-12-59: sand: 0.00% ,whitewater: 1.88% ,water: 59.75% 2025-06-17 12:36:48,291 - satellite_download_logger - INFO - L9 2025-06-14-22-12-59: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-17 12:36:48,300 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 21 shorelines. Number of shorelines after filtering shorelines: 7 shorelines 2025-06-17 12:36:48,300 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 1759 2025-06-17 12:36:48,300 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 1759 2025-06-17 12:36:48,300 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 1759 2025-06-17 12:36:48,300 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 1759