2025-10-01 00:09:33,275 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_074091_20250825 as 2025-08-25-22-14-15_L8_nzd0475_ms.tif 2025-10-01 00:09:37,789 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_074091_20250910 as 2025-09-10-22-14-20_L8_nzd0475_ms.tif 2025-10-01 00:09:42,352 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_074092_20250825 as 2025-08-25-22-14-39_L8_nzd0475_ms.tif 2025-10-01 00:09:47,005 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_074092_20250910 as 2025-09-10-22-14-44_L8_nzd0475_ms.tif 2025-10-01 00:09:50,752 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075091_20250901 as 2025-09-01-22-20-29_L8_nzd0475_ms.tif 2025-10-01 00:09:54,316 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_074091_20250817 that failed. Failed to open the image file data/nzd0475/L9/ms/2025-08-17-22-14-18_L9_nzd0475_ms.tif 2025-10-01 00:10:00,162 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074091_20250902 as 2025-09-02-22-14-23_L9_nzd0475_ms.tif 2025-10-01 00:10:04,547 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074091_20250918 as 2025-09-18-22-14-25_L9_nzd0475_ms.tif 2025-10-01 00:10:10,342 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074092_20250902 as 2025-09-02-22-14-47_L9_nzd0475_ms.tif 2025-10-01 00:10:15,548 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074092_20250918 as 2025-09-18-22-14-49_L9_nzd0475_ms.tif 2025-10-01 00:10:21,078 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075091_20250925 as 2025-09-25-22-20-40_L9_nzd0475_ms.tif 2025-10-01 00:10:21,117 - satellite_download_logger - INFO - Please read the following information carefully: 2025-10-01 00:10:21,117 - 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-10-01 00:10:21,117 - 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-10-01 00:10:21,117 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-10-01 00:10:21,119 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-10-01 00:10:21,120 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-10-01 00:10:21,121 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-10-01 00:10:21,122 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-10-01 00:10:21,126 - satellite_download_logger - INFO - L8 2025-08-25-22-14-15 cloud cover : 0.00% 2025-10-01 00:10:21,153 - satellite_download_logger - INFO - L8 2025-08-25-22-14-15: sand: 0.00% ,whitewater: 0.14% ,water: 42.17% 2025-10-01 00:10:21,154 - satellite_download_logger - INFO - L8 2025-08-25-22-14-15: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:21,155 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:21,155 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 87 2025-10-01 00:10:21,155 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 87 2025-10-01 00:10:21,155 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 87 2025-10-01 00:10:21,155 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 87 2025-10-01 00:10:21,430 - satellite_download_logger - INFO - L8 2025-08-25-22-14-39 cloud cover : 0.00% 2025-10-01 00:10:21,458 - satellite_download_logger - INFO - L8 2025-08-25-22-14-39: sand: 0.00% ,whitewater: 0.29% ,water: 41.96% 2025-10-01 00:10:21,459 - satellite_download_logger - INFO - L8 2025-08-25-22-14-39: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:21,460 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:21,460 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 87 2025-10-01 00:10:21,460 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 87 2025-10-01 00:10:21,460 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 87 2025-10-01 00:10:21,460 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 87 2025-10-01 00:10:21,689 - satellite_download_logger - INFO - L8 2025-09-01-22-20-29 cloud cover : 0.00% 2025-10-01 00:10:21,716 - satellite_download_logger - INFO - L8 2025-09-01-22-20-29: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-10-01 00:10:21,716 - satellite_download_logger - INFO - L8 2025-09-01-22-20-29: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:21,719 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 8 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:21,719 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 126 2025-10-01 00:10:21,719 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 126 2025-10-01 00:10:21,719 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 126 2025-10-01 00:10:21,719 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 126 2025-10-01 00:10:22,254 - satellite_download_logger - INFO - L8 2025-09-10-22-14-20 cloud cover : 0.00% 2025-10-01 00:10:22,281 - satellite_download_logger - INFO - L8 2025-09-10-22-14-20: sand: 0.00% ,whitewater: 0.04% ,water: 42.75% 2025-10-01 00:10:22,281 - satellite_download_logger - INFO - L8 2025-09-10-22-14-20: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:22,282 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:22,283 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 87 2025-10-01 00:10:22,283 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 87 2025-10-01 00:10:22,283 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 87 2025-10-01 00:10:22,283 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 87 2025-10-01 00:10:22,518 - satellite_download_logger - INFO - L8 2025-09-10-22-14-44 cloud cover : 0.00% 2025-10-01 00:10:22,543 - satellite_download_logger - INFO - L8 2025-09-10-22-14-44: sand: 0.00% ,whitewater: 0.04% ,water: 42.57% 2025-10-01 00:10:22,543 - satellite_download_logger - INFO - L8 2025-09-10-22-14-44: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:22,545 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:22,545 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 87 2025-10-01 00:10:22,545 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 87 2025-10-01 00:10:22,545 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 87 2025-10-01 00:10:22,545 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 87 2025-10-01 00:10:22,773 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-10-01 00:10:22,778 - satellite_download_logger - INFO - L9 2025-09-02-22-14-23 cloud cover : 0.00% 2025-10-01 00:10:22,812 - satellite_download_logger - INFO - L9 2025-09-02-22-14-23: sand: 0.00% ,whitewater: 6.99% ,water: 36.90% 2025-10-01 00:10:22,812 - satellite_download_logger - INFO - L9 2025-09-02-22-14-23: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:22,814 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:22,814 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 93 2025-10-01 00:10:22,814 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 93 2025-10-01 00:10:22,814 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 93 2025-10-01 00:10:22,814 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 93 2025-10-01 00:10:23,073 - satellite_download_logger - INFO - L9 2025-09-02-22-14-47 cloud cover : 0.00% 2025-10-01 00:10:23,097 - satellite_download_logger - INFO - L9 2025-09-02-22-14-47: sand: 0.00% ,whitewater: 7.13% ,water: 36.68% 2025-10-01 00:10:23,098 - satellite_download_logger - INFO - L9 2025-09-02-22-14-47: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:23,099 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:23,099 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 93 2025-10-01 00:10:23,099 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 93 2025-10-01 00:10:23,099 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 93 2025-10-01 00:10:23,099 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 93 2025-10-01 00:10:23,344 - satellite_download_logger - INFO - L9 2025-09-18-22-14-25 cloud cover : 0.00% 2025-10-01 00:10:23,369 - satellite_download_logger - INFO - L9 2025-09-18-22-14-25: sand: 0.00% ,whitewater: 4.24% ,water: 38.93% 2025-10-01 00:10:23,369 - satellite_download_logger - INFO - L9 2025-09-18-22-14-25: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:23,370 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:23,370 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 90 2025-10-01 00:10:23,370 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 90 2025-10-01 00:10:23,370 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 90 2025-10-01 00:10:23,370 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 90 2025-10-01 00:10:23,614 - satellite_download_logger - INFO - L9 2025-09-18-22-14-49 cloud cover : 0.00% 2025-10-01 00:10:23,654 - satellite_download_logger - INFO - L9 2025-09-18-22-14-49: sand: 0.00% ,whitewater: 4.42% ,water: 38.75% 2025-10-01 00:10:23,655 - satellite_download_logger - INFO - L9 2025-09-18-22-14-49: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:23,658 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-10-01 00:10:23,658 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 90 2025-10-01 00:10:23,658 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 90 2025-10-01 00:10:23,658 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 90 2025-10-01 00:10:23,658 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 90 2025-10-01 00:10:23,928 - satellite_download_logger - INFO - L9 2025-09-25-22-20-40 cloud cover : 0.00% 2025-10-01 00:10:23,945 - satellite_download_logger - INFO - L9 2025-09-25-22-20-40: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-10-01 00:10:23,945 - satellite_download_logger - INFO - L9 2025-09-25-22-20-40: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-10-01 00:10:23,947 - satellite_download_logger - ERROR - L9 2025-09-25-22-20-40: 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.