2025-12-08 16:02:07,708 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075091_20251120 as 2025-11-20-22-20-41_L8_nzd0452_ms.tif 2025-12-08 16:02:15,453 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_076090_20251127 as 2025-11-27-22-26-27_L8_nzd0452_ms.tif 2025-12-08 16:02:21,641 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_076091_20251127 as 2025-11-27-22-26-51_L8_nzd0452_ms.tif 2025-12-08 16:02:28,571 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_076090_20251119 that failed. Failed to open the image file data/nzd0452/L9/ms/2025-11-19-22-26-28_L9_nzd0452_ms.tif 2025-12-08 16:02:35,334 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_076091_20251119 that failed. Failed to open the image file data/nzd0452/L9/ms/2025-11-19-22-26-52_L9_nzd0452_ms.tif 2025-12-08 16:02:35,407 - satellite_download_logger - INFO - Please read the following information carefully: 2025-12-08 16:02:35,408 - 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 16:02:35,408 - 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 16:02:35,408 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-12-08 16:02:35,410 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-12-08 16:02:35,412 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-12-08 16:02:35,412 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-12-08 16:02:35,413 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-12-08 16:02:35,420 - satellite_download_logger - INFO - L8 2025-11-20-22-20-41 cloud cover : 0.00% 2025-12-08 16:02:35,495 - satellite_download_logger - INFO - L8 2025-11-20-22-20-41: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-12-08 16:02:35,496 - satellite_download_logger - INFO - L8 2025-11-20-22-20-41: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-12-08 16:02:35,499 - satellite_download_logger - ERROR - L8 2025-11-20-22-20-41: 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 16:02:35,697 - satellite_download_logger - INFO - L8 2025-11-27-22-26-27 cloud cover : 0.00% 2025-12-08 16:02:36,311 - satellite_download_logger - INFO - L8 2025-11-27-22-26-27: sand: 0.02% ,whitewater: 2.05% ,water: 53.64% 2025-12-08 16:02:36,314 - satellite_download_logger - INFO - L8 2025-11-27-22-26-27: Greater than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours2 2025-12-08 16:02:36,333 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 16 shorelines. Number of shorelines after filtering shorelines: 4 shorelines 2025-12-08 16:02:36,334 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 1585 2025-12-08 16:02:36,334 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 1585 2025-12-08 16:02:36,334 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 1585 2025-12-08 16:02:36,398 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 1585 2025-12-08 16:02:37,049 - satellite_download_logger - INFO - L8 2025-11-27-22-26-51 cloud cover : 0.00% 2025-12-08 16:02:37,830 - satellite_download_logger - INFO - L8 2025-11-27-22-26-51: sand: 0.03% ,whitewater: 2.06% ,water: 53.57% 2025-12-08 16:02:37,833 - satellite_download_logger - INFO - L8 2025-11-27-22-26-51: Greater than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours2 2025-12-08 16:02:37,852 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 16 shorelines. Number of shorelines after filtering shorelines: 4 shorelines 2025-12-08 16:02:37,852 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 1615 2025-12-08 16:02:37,852 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 1615 2025-12-08 16:02:37,852 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 1615 2025-12-08 16:02:37,918 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 1615 2025-12-08 16:02:38,321 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-12-08 16:02:38,473 - satellite_download_logger - INFO - L9 2025-11-28-22-20-45 cloud cover : 0.00% 2025-12-08 16:02:38,567 - satellite_download_logger - INFO - L9 2025-11-28-22-20-45: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-12-08 16:02:38,568 - satellite_download_logger - INFO - L9 2025-11-28-22-20-45: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-12-08 16:02:38,568 - satellite_download_logger - ERROR - L9 2025-11-28-22-20-45: 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.