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-03-09-22-20-14 INFO - L8 2025-03-09-22-20-14 cloud cover : 0.00% INFO - L8 2025-03-09-22-20-14: sand: 0.00% ,whitewater: 0.00% ,water: 24.34% INFO - L8 2025-03-09-22-20-14: 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: 0 shorelines INFO - Processing image L8 2025-03-09-22-20-38 INFO - L8 2025-03-09-22-20-38 cloud cover : 0.00% INFO - L8 2025-03-09-22-20-38: sand: 0.00% ,whitewater: 0.00% ,water: 26.43% INFO - L8 2025-03-09-22-20-38: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L8 2025-03-09-22-20-38: 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-03-18-22-13-54 INFO - L8 2025-03-18-22-13-54 cloud cover : 0.00% INFO - L8 2025-03-18-22-13-54: sand: 0.00% ,whitewater: 18.29% ,water: 24.62% INFO - L8 2025-03-18-22-13-54: 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 67 INFO - Number of shoreline points after removing points within 300m of cloud mask 67 INFO - Number of shoreline points before removing points within 30m of no data pixel 67 INFO - Number of shoreline points after removing points within 30m of no data pixel 67 INFO - Processing image L8 2025-03-18-22-14-18 INFO - L8 2025-03-18-22-14-18 cloud cover : 0.00% INFO - L8 2025-03-18-22-14-18: sand: 0.00% ,whitewater: 18.72% ,water: 24.27% INFO - L8 2025-03-18-22-14-18: 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 69 INFO - Number of shoreline points after removing points within 300m of cloud mask 69 INFO - Number of shoreline points before removing points within 30m of no data pixel 69 INFO - Number of shoreline points after removing points within 30m of no data pixel 69 INFO - Processing image L8 2025-03-25-22-20-03 INFO - L8 2025-03-25-22-20-03 cloud cover : 0.00% INFO - L8 2025-03-25-22-20-03: sand: 0.00% ,whitewater: 0.26% ,water: 44.02% INFO - L8 2025-03-25-22-20-03: 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 72 INFO - Number of shoreline points after removing points within 300m of cloud mask 72 INFO - Number of shoreline points before removing points within 30m of no data pixel 72 INFO - Number of shoreline points after removing points within 30m of no data pixel 72 INFO - Processing image L8 2025-03-25-22-20-27 INFO - L8 2025-03-25-22-20-27 cloud cover : 0.00% INFO - L8 2025-03-25-22-20-27: sand: 0.00% ,whitewater: 0.16% ,water: 42.55% INFO - L8 2025-03-25-22-20-27: 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 69 INFO - Number of shoreline points after removing points within 300m of cloud mask 69 INFO - Number of shoreline points before removing points within 30m of no data pixel 69 INFO - Number of shoreline points after removing points within 30m of no data pixel 69 INFO - Processing image L8 2025-04-03-22-13-52 INFO - L8 2025-04-03-22-13-52 cloud cover : 0.00% INFO - L8 2025-04-03-22-13-52: sand: 0.00% ,whitewater: 6.24% ,water: 45.13% INFO - L8 2025-04-03-22-13-52: 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 96 INFO - Number of shoreline points after removing points within 300m of cloud mask 96 INFO - Number of shoreline points before removing points within 30m of no data pixel 96 INFO - Number of shoreline points after removing points within 30m of no data pixel 96 ERROR - Skipping L8 2025-04-03-22-14-16 due to cloud cover percentage exceeding cloud threshold: 10.26% > 10.00%. INFO - Processing image L8 2025-04-10-22-19-58 INFO - L8 2025-04-10-22-19-58 cloud cover : 0.00% INFO - L8 2025-04-10-22-19-58: sand: 0.00% ,whitewater: 9.66% ,water: 37.26% INFO - L8 2025-04-10-22-19-58: 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: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 71 INFO - Number of shoreline points after removing points within 300m of cloud mask 71 INFO - Number of shoreline points before removing points within 30m of no data pixel 71 INFO - Number of shoreline points after removing points within 30m of no data pixel 71 INFO - Processing image L8 2025-04-10-22-20-22 INFO - L8 2025-04-10-22-20-22 cloud cover : 0.00% INFO - L8 2025-04-10-22-20-22: sand: 0.00% ,whitewater: 11.53% ,water: 33.74% INFO - L8 2025-04-10-22-20-22: 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: 0 shorelines INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 INFO - Processing image L9 2025-04-02-22-20-11 INFO - L9 2025-04-02-22-20-11 cloud cover : 8.55% INFO - L9 2025-04-02-22-20-11: sand: 0.00% ,whitewater: 70.43% ,water: 0.00% INFO - L9 2025-04-02-22-20-11: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 6 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 149 INFO - Number of shoreline points after removing points within 300m of cloud mask 70 INFO - Number of shoreline points before removing points within 30m of no data pixel 70 INFO - Number of shoreline points after removing points within 30m of no data pixel 70 INFO - Processing image L9 2025-04-02-22-20-35 INFO - L9 2025-04-02-22-20-35 cloud cover : 8.89% INFO - L9 2025-04-02-22-20-35: sand: 0.00% ,whitewater: 36.67% ,water: 0.00% INFO - L9 2025-04-02-22-20-35: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 6 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 153 INFO - Number of shoreline points after removing points within 300m of cloud mask 75 INFO - Number of shoreline points before removing points within 30m of no data pixel 75 INFO - Number of shoreline points after removing points within 30m of no data pixel 75 INFO - Processing image L9 2025-04-27-22-13-56 INFO - L9 2025-04-27-22-13-56 cloud cover : 0.00% INFO - L9 2025-04-27-22-13-56: sand: 0.00% ,whitewater: 1.97% ,water: 59.49% INFO - L9 2025-04-27-22-13-56: 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 122 INFO - Number of shoreline points after removing points within 300m of cloud mask 122 INFO - Number of shoreline points before removing points within 30m of no data pixel 122 INFO - Number of shoreline points after removing points within 30m of no data pixel 122 INFO - Processing image L9 2025-04-27-22-14-20 INFO - L9 2025-04-27-22-14-20 cloud cover : 0.00% INFO - L9 2025-04-27-22-14-20: sand: 0.00% ,whitewater: 2.22% ,water: 59.06% INFO - L9 2025-04-27-22-14-20: 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 124 INFO - Number of shoreline points after removing points within 300m of cloud mask 124 INFO - Number of shoreline points before removing points within 30m of no data pixel 124 INFO - Number of shoreline points after removing points within 30m of no data pixel 124