INFO - Please read the following information carefully: 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. 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. INFO - --------------------------------------------------------------------------------------------------------------------- INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 INFO - Processing image L8 2025-05-05-22-10-48 INFO - L8 2025-05-05-22-10-48 cloud cover : 0.00% INFO - L8 2025-05-05-22-10-48: sand: 0.00% ,whitewater: 0.00% ,water: 0.40% INFO - L8 2025-05-05-22-10-48: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L8 2025-05-05-22-10-48: 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.10/site-packages/coastsat/SDS_shoreline.py", line 686, in extract_shorelines contours_mwi, t_mndwi = find_wl_contours1( File "/home/ubuntu/.local/lib/python3.10/site-packages/coastsat/SDS_shoreline.py", line 981, in find_wl_contours1 raise ValueError("no valid pixels found in reference shoreline buffer.") ValueError: no valid pixels found in reference shoreline buffer. INFO - Processing image L8 2025-05-12-22-16-59 INFO - L8 2025-05-12-22-16-59 cloud cover : 6.07% INFO - L8 2025-05-12-22-16-59: sand: 0.13% ,whitewater: 0.02% ,water: 52.15% INFO - L8 2025-05-12-22-16-59: Greater than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours2 INFO - Number of shorelines before removing shorelines < 500m: 36 shorelines. Number of shorelines after filtering shorelines: 5 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 793 INFO - Number of shoreline points after removing points within 300m of cloud mask 714 INFO - Number of shoreline points before removing points within 30m of no data pixel 714 INFO - Number of shoreline points after removing points within 30m of no data pixel 714 INFO - Processing image L8 2025-05-21-22-10-52 INFO - L8 2025-05-21-22-10-52 cloud cover : 0.00% INFO - L8 2025-05-21-22-10-52: sand: 0.23% ,whitewater: 0.00% ,water: 9.09% INFO - L8 2025-05-21-22-10-52: Greater than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours2 INFO - Number of shorelines before removing shorelines < 500m: 8 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 294 INFO - Number of shoreline points after removing points within 300m of cloud mask 294 INFO - Number of shoreline points before removing points within 30m of no data pixel 294 INFO - Number of shoreline points after removing points within 30m of no data pixel 291 INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 INFO - Processing image L9 2025-05-13-22-10-58 INFO - L9 2025-05-13-22-10-58 cloud cover : 0.00% INFO - L9 2025-05-13-22-10-58: sand: 0.00% ,whitewater: 0.00% ,water: 0.67% INFO - L9 2025-05-13-22-10-58: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-05-13-22-10-58: 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.10/site-packages/coastsat/SDS_shoreline.py", line 686, in extract_shorelines contours_mwi, t_mndwi = find_wl_contours1( File "/home/ubuntu/.local/lib/python3.10/site-packages/coastsat/SDS_shoreline.py", line 981, in find_wl_contours1 raise ValueError("no valid pixels found in reference shoreline buffer.") ValueError: no valid pixels found in reference shoreline buffer. INFO - Processing image L9 2025-05-20-22-17-06 INFO - L9 2025-05-20-22-17-06 cloud cover : 0.35% INFO - L9 2025-05-20-22-17-06: sand: 1.31% ,whitewater: 0.19% ,water: 56.06% INFO - L9 2025-05-20-22-17-06: Greater than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours2 INFO - Number of shorelines before removing shorelines < 500m: 13 shorelines. Number of shorelines after filtering shorelines: 3 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 765 INFO - Number of shoreline points after removing points within 300m of cloud mask 700 INFO - Number of shoreline points before removing points within 30m of no data pixel 700 INFO - Number of shoreline points after removing points within 30m of no data pixel 700 ERROR - Skipping L9 2025-05-29-22-10-51 due to cloud cover percentage exceeding cloud threshold: 28.19% > 10.00%.