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-01-04-22-20-26 INFO - L8 2025-01-04-22-20-26 cloud cover : 0.00% INFO - L8 2025-01-04-22-20-26: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% INFO - L8 2025-01-04-22-20-26: 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 - Processing image L8 2025-01-20-22-20-25 INFO - L8 2025-01-20-22-20-25 cloud cover : 0.00% INFO - L8 2025-01-20-22-20-25: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% INFO - L8 2025-01-20-22-20-25: 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-01-20-22-20-49 INFO - L8 2025-01-20-22-20-49 cloud cover : 0.00% INFO - L8 2025-01-20-22-20-49: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% INFO - L8 2025-01-20-22-20-49: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L8 2025-01-20-22-20-49: 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 - Extracting shorelines for L9 Minimum Shoreline Length: 500 INFO - Processing image L9 2024-12-04-22-14-24 INFO - L9 2024-12-04-22-14-24 cloud cover : 0.00% INFO - L9 2024-12-04-22-14-24: sand: 0.00% ,whitewater: 0.00% ,water: 42.56% INFO - L9 2024-12-04-22-14-24: 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 70 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 2024-12-04-22-14-48 INFO - L9 2024-12-04-22-14-48 cloud cover : 0.00% INFO - L9 2024-12-04-22-14-48: sand: 0.00% ,whitewater: 0.00% ,water: 42.48% INFO - L9 2024-12-04-22-14-48: 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 70 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-01-05-22-14-18 INFO - L9 2025-01-05-22-14-18 cloud cover : 0.00% INFO - L9 2025-01-05-22-14-18: sand: 0.00% ,whitewater: 5.73% ,water: 39.66% INFO - L9 2025-01-05-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: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 73 INFO - Number of shoreline points after removing points within 300m of cloud mask 73 INFO - Number of shoreline points before removing points within 30m of no data pixel 73 INFO - Number of shoreline points after removing points within 30m of no data pixel 73 INFO - Processing image L9 2025-01-05-22-14-42 INFO - L9 2025-01-05-22-14-42 cloud cover : 0.00% INFO - L9 2025-01-05-22-14-42: sand: 0.00% ,whitewater: 6.15% ,water: 39.32% INFO - L9 2025-01-05-22-14-42: 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 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 L9 2025-01-21-22-14-25 INFO - L9 2025-01-21-22-14-25 cloud cover : 0.00% INFO - L9 2025-01-21-22-14-25: sand: 0.00% ,whitewater: 0.00% ,water: 44.96% INFO - L9 2025-01-21-22-14-25: 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 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 L9 2025-01-21-22-14-48 INFO - L9 2025-01-21-22-14-48 cloud cover : 0.00% INFO - L9 2025-01-21-22-14-48: sand: 0.00% ,whitewater: 0.00% ,water: 44.87% INFO - L9 2025-01-21-22-14-48: 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 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 L9 2025-02-22-22-14-21 INFO - L9 2025-02-22-22-14-21 cloud cover : 4.10% INFO - L9 2025-02-22-22-14-21: sand: 0.00% ,whitewater: 0.00% ,water: 48.46% INFO - L9 2025-02-22-22-14-21: 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 64 INFO - Number of shoreline points after removing points within 300m of cloud mask 36 INFO - Number of shoreline points before removing points within 30m of no data pixel 36 INFO - Number of shoreline points after removing points within 30m of no data pixel 36 INFO - Processing image L9 2025-02-22-22-14-45 INFO - L9 2025-02-22-22-14-45 cloud cover : 0.00% INFO - L9 2025-02-22-22-14-45: sand: 0.00% ,whitewater: 0.00% ,water: 52.22% INFO - L9 2025-02-22-22-14-45: 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 70 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