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-04-30-09-58-58 INFO - L8 2025-04-30-09-58-58 cloud cover : 0.00% INFO - L8 2025-04-30-09-58-58: sand: 0.00% ,whitewater: 0.00% ,water: 29.40% INFO - L8 2025-04-30-09-58-58: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L8 2025-04-30-09-58-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 L8 2025-04-30-09-59-22 INFO - L8 2025-04-30-09-59-22 cloud cover : 0.00% INFO - L8 2025-04-30-09-59-22: sand: 0.00% ,whitewater: 0.00% ,water: 46.79% INFO - L8 2025-04-30-09-59-22: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 114 INFO - Number of shoreline points after removing points within 300m of cloud mask 114 INFO - Number of shoreline points before removing points within 30m of no data pixel 114 INFO - Number of shoreline points after removing points within 30m of no data pixel 114 ERROR - Skipping L8 2025-05-07-10-05-07 due to cloud cover percentage exceeding cloud threshold: 26.99% > 10.00%. ERROR - Skipping L8 2025-05-07-10-05-31 due to cloud cover percentage exceeding cloud threshold: 62.64% > 10.00%. INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 INFO - Processing image L9 2025-05-08-09-59-12 INFO - L9 2025-05-08-09-59-12 cloud cover : 0.00% INFO - L9 2025-05-08-09-59-12: sand: 0.00% ,whitewater: 0.00% ,water: 46.00% INFO - L9 2025-05-08-09-59-12: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 58 INFO - Number of shoreline points after removing points within 300m of cloud mask 58 INFO - Number of shoreline points before removing points within 30m of no data pixel 58 INFO - Number of shoreline points after removing points within 30m of no data pixel 57 INFO - Processing image L9 2025-05-08-09-59-36 INFO - L9 2025-05-08-09-59-36 cloud cover : 0.00% INFO - L9 2025-05-08-09-59-36: sand: 0.00% ,whitewater: 0.00% ,water: 46.32% INFO - L9 2025-05-08-09-59-36: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 109 INFO - Number of shoreline points after removing points within 300m of cloud mask 109 INFO - Number of shoreline points before removing points within 30m of no data pixel 109 INFO - Number of shoreline points after removing points within 30m of no data pixel 109 ERROR - Skipping L9 2025-05-15-10-05-16 due to cloud cover percentage exceeding cloud threshold: 87.64% > 10.00%. INFO - Processing image L9 2025-05-15-10-05-40 INFO - L9 2025-05-15-10-05-40 cloud cover : 6.18% INFO - L9 2025-05-15-10-05-40: sand: 0.00% ,whitewater: 0.00% ,water: 38.83% INFO - L9 2025-05-15-10-05-40: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 114 INFO - Number of shoreline points after removing points within 300m of cloud mask 87 INFO - Number of shoreline points before removing points within 30m of no data pixel 87 INFO - Number of shoreline points after removing points within 30m of no data pixel 87 INFO - Processing image L9 2025-05-24-09-59-03 INFO - L9 2025-05-24-09-59-03 cloud cover : 0.00% INFO - L9 2025-05-24-09-59-03: sand: 0.00% ,whitewater: 0.00% ,water: 47.99% INFO - L9 2025-05-24-09-59-03: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 54 INFO - Number of shoreline points after removing points within 300m of cloud mask 54 INFO - Number of shoreline points before removing points within 30m of no data pixel 54 INFO - Number of shoreline points after removing points within 30m of no data pixel 52 INFO - Processing image L9 2025-05-24-09-59-26 INFO - L9 2025-05-24-09-59-26 cloud cover : 0.00% INFO - L9 2025-05-24-09-59-26: sand: 0.00% ,whitewater: 0.00% ,water: 46.08% INFO - L9 2025-05-24-09-59-26: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 114 INFO - Number of shoreline points after removing points within 300m of cloud mask 114 INFO - Number of shoreline points before removing points within 30m of no data pixel 114 INFO - Number of shoreline points after removing points within 30m of no data pixel 114