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 ERROR - Skipping L8 2025-02-25-21-54-19 due to cloud cover percentage exceeding cloud threshold: 86.72% > 10.00%. INFO - Processing image L8 2025-03-13-21-54-16 INFO - L8 2025-03-13-21-54-16 cloud cover : 3.27% INFO - L8 2025-03-13-21-54-16: sand: 0.00% ,whitewater: 2.53% ,water: 45.95% INFO - L8 2025-03-13-21-54-16: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 5 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 274 INFO - Number of shoreline points after removing points within 300m of cloud mask 219 INFO - Number of shoreline points before removing points within 30m of no data pixel 219 INFO - Number of shoreline points after removing points within 30m of no data pixel 218 INFO - Processing image L8 2025-03-13-21-54-40 INFO - L8 2025-03-13-21-54-40 cloud cover : 0.00% INFO - L8 2025-03-13-21-54-40: sand: 0.00% ,whitewater: 3.46% ,water: 46.60% INFO - L8 2025-03-13-21-54-40: 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 474 INFO - Number of shoreline points after removing points within 300m of cloud mask 474 INFO - Number of shoreline points before removing points within 30m of no data pixel 474 INFO - Number of shoreline points after removing points within 30m of no data pixel 474 ERROR - Skipping L8 2025-03-29-21-54-07 due to cloud cover percentage exceeding cloud threshold: 12.22% > 10.00%. ERROR - Skipping L8 2025-03-29-21-54-31 due to cloud cover percentage exceeding cloud threshold: 14.13% > 10.00%. ERROR - Skipping L8 2025-04-05-22-00-17 due to cloud cover percentage exceeding cloud threshold: 87.91% > 10.00%. INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 ERROR - Skipping L9 2025-03-21-21-54-20 due to cloud cover percentage exceeding cloud threshold: 16.53% > 10.00%. ERROR - Skipping L9 2025-03-21-21-54-44 due to cloud cover percentage exceeding cloud threshold: 14.23% > 10.00%. ERROR - Skipping L9 2025-03-28-22-00-30 due to cloud cover percentage exceeding cloud threshold: 57.48% > 10.00%. ERROR - Skipping L9 2025-03-28-22-00-54 due to cloud cover percentage exceeding cloud threshold: 58.32% > 10.00%. INFO - Processing image L9 2025-04-06-21-54-19 INFO - L9 2025-04-06-21-54-19 cloud cover : 5.80% INFO - L9 2025-04-06-21-54-19: sand: 0.00% ,whitewater: 0.22% ,water: 47.63% INFO - L9 2025-04-06-21-54-19: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 3 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 177 INFO - Number of shoreline points after removing points within 300m of cloud mask 150 INFO - Number of shoreline points before removing points within 30m of no data pixel 150 INFO - Number of shoreline points after removing points within 30m of no data pixel 150 INFO - Processing image L9 2025-04-06-21-54-43 INFO - L9 2025-04-06-21-54-43 cloud cover : 0.74% INFO - L9 2025-04-06-21-54-43: sand: 0.00% ,whitewater: 0.84% ,water: 49.12% INFO - L9 2025-04-06-21-54-43: 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: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 431 INFO - Number of shoreline points after removing points within 300m of cloud mask 370 INFO - Number of shoreline points before removing points within 30m of no data pixel 370 INFO - Number of shoreline points after removing points within 30m of no data pixel 370 INFO - Processing image L9 2025-04-13-22-00-31 INFO - L9 2025-04-13-22-00-31 cloud cover : 0.00% INFO - L9 2025-04-13-22-00-31: sand: 0.00% ,whitewater: 0.25% ,water: 49.65% INFO - L9 2025-04-13-22-00-31: 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 471 INFO - Number of shoreline points after removing points within 300m of cloud mask 471 INFO - Number of shoreline points before removing points within 30m of no data pixel 471 INFO - Number of shoreline points after removing points within 30m of no data pixel 471 INFO - Processing image L9 2025-04-13-22-00-55 INFO - L9 2025-04-13-22-00-55 cloud cover : 0.00% INFO - L9 2025-04-13-22-00-55: sand: 0.00% ,whitewater: 0.00% ,water: 2.17% INFO - L9 2025-04-13-22-00-55: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-04-13-22-00-55: 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.