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 WARNING - L8 2025-05-12-22-19-47: Skipped due to cloud cover 18.21% > threshold 10.00% WARNING - L8 2025-05-19-22-25-36: Skipped due to cloud cover 63.42% > threshold 10.00% WARNING - L8 2025-05-19-22-26-00: Skipped due to cloud cover 69.56% > threshold 10.00% INFO - L8 2025-06-04-22-25-37 cloud cover : 2.27% INFO - L8 2025-06-04-22-25-37: sand: 0.00% ,whitewater: 1.56% ,water: 55.08% INFO - L8 2025-06-04-22-25-37: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 63 shorelines. Number of shorelines after filtering shorelines: 7 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 1345 INFO - Number of shoreline points after removing points within 300m of cloud mask 946 INFO - Number of shoreline points before removing points within 30m of no data pixel 946 INFO - Number of shoreline points after removing points within 30m of no data pixel 946 INFO - L8 2025-06-04-22-26-01 cloud cover : 1.90% INFO - L8 2025-06-04-22-26-01: sand: 0.00% ,whitewater: 1.66% ,water: 54.99% INFO - L8 2025-06-04-22-26-01: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 57 shorelines. Number of shorelines after filtering shorelines: 4 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 1434 INFO - Number of shoreline points after removing points within 300m of cloud mask 1257 INFO - Number of shoreline points before removing points within 30m of no data pixel 1257 INFO - Number of shoreline points after removing points within 30m of no data pixel 1257 INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 INFO - L9 2025-05-04-22-20-05 cloud cover : 0.00% INFO - L9 2025-05-04-22-20-05: sand: 0.00% ,whitewater: 0.00% ,water: 2.60% INFO - L9 2025-05-04-22-20-05: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-05-04-22-20-05: 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.12/site-packages/coastsat/SDS_shoreline.py", line 1061, in extract_shorelines shoreline, t_mndwi = find_shoreline_optical( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/.local/lib/python3.12/site-packages/coastsat/SDS_shoreline.py", line 216, in find_shoreline_optical contours_mwi, t_mndwi = find_wl_contours1(im_mndwi, cloud_mask, im_ref_buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/.local/lib/python3.12/site-packages/coastsat/SDS_shoreline.py", line 1426, in find_wl_contours1 raise ValueError("no valid pixels found in reference shoreline buffer.") ValueError: no valid pixels found in reference shoreline buffer. WARNING - L9 2025-05-11-22-25-46: Skipped due to cloud cover 20.94% > threshold 10.00% WARNING - L9 2025-05-11-22-26-10: Skipped due to cloud cover 14.54% > threshold 10.00% INFO - L9 2025-06-05-22-19-47 cloud cover : 0.00% INFO - L9 2025-06-05-22-19-47: sand: 0.00% ,whitewater: 0.00% ,water: 4.66% INFO - L9 2025-06-05-22-19-47: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-06-05-22-19-47: 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.12/site-packages/coastsat/SDS_shoreline.py", line 1061, in extract_shorelines shoreline, t_mndwi = find_shoreline_optical( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/.local/lib/python3.12/site-packages/coastsat/SDS_shoreline.py", line 216, in find_shoreline_optical contours_mwi, t_mndwi = find_wl_contours1(im_mndwi, cloud_mask, im_ref_buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ubuntu/.local/lib/python3.12/site-packages/coastsat/SDS_shoreline.py", line 1426, in find_wl_contours1 raise ValueError("no valid pixels found in reference shoreline buffer.") ValueError: no valid pixels found in reference shoreline buffer. INFO - L9 2025-06-12-22-25-42 cloud cover : 1.81% INFO - L9 2025-06-12-22-25-42: sand: 0.00% ,whitewater: 0.27% ,water: 56.90% INFO - L9 2025-06-12-22-25-42: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 29 shorelines. Number of shorelines after filtering shorelines: 6 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 1422 INFO - Number of shoreline points after removing points within 300m of cloud mask 1009 INFO - Number of shoreline points before removing points within 30m of no data pixel 1009 INFO - Number of shoreline points after removing points within 30m of no data pixel 1009 INFO - L9 2025-06-12-22-26-06 cloud cover : 1.45% INFO - L9 2025-06-12-22-26-06: sand: 0.00% ,whitewater: 0.38% ,water: 56.80% INFO - L9 2025-06-12-22-26-06: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 24 shorelines. Number of shorelines after filtering shorelines: 4 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 1523 INFO - Number of shoreline points after removing points within 300m of cloud mask 1340 INFO - Number of shoreline points before removing points within 30m of no data pixel 1340 INFO - Number of shoreline points after removing points within 30m of no data pixel 1340