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 - L8 2025-06-13-22-20-00 cloud cover : 0.00% INFO - L8 2025-06-13-22-20-00: sand: 0.00% ,whitewater: 0.00% ,water: 3.04% INFO - L8 2025-06-13-22-20-00: 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 - L8 2025-06-13-22-20-24 cloud cover : 0.00% INFO - L8 2025-06-13-22-20-24: sand: 0.00% ,whitewater: 0.02% ,water: 2.85% INFO - L8 2025-06-13-22-20-24: 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 WARNING - L8 2025-06-22-22-14-19: Skipped due to cloud cover 13.59% > threshold 10.00% INFO - L8 2025-06-29-22-20-08 cloud cover : 0.00% INFO - L8 2025-06-29-22-20-08: sand: 0.00% ,whitewater: 0.00% ,water: 2.30% INFO - L8 2025-06-29-22-20-08: 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 - L8 2025-06-29-22-20-32 cloud cover : 0.00% INFO - L8 2025-06-29-22-20-32: sand: 0.00% ,whitewater: 0.00% ,water: 2.28% INFO - L8 2025-06-29-22-20-32: 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 - L8 2025-07-15-22-20-13 cloud cover : 0.00% INFO - L8 2025-07-15-22-20-13: sand: 0.00% ,whitewater: 3.60% ,water: 18.37% INFO - L8 2025-07-15-22-20-13: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 9 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 262 INFO - Number of shoreline points after removing points within 300m of cloud mask 262 INFO - Number of shoreline points before removing points within 30m of no data pixel 262 INFO - Number of shoreline points after removing points within 30m of no data pixel 261 INFO - L8 2025-07-15-22-20-37 cloud cover : 0.00% INFO - L8 2025-07-15-22-20-37: sand: 0.00% ,whitewater: 3.70% ,water: 18.09% INFO - L8 2025-07-15-22-20-37: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 9 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 262 INFO - Number of shoreline points after removing points within 300m of cloud mask 262 INFO - Number of shoreline points before removing points within 30m of no data pixel 262 INFO - Number of shoreline points after removing points within 30m of no data pixel 261 INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 WARNING - L9 2025-06-14-22-14-10: Skipped due to cloud cover 89.00% > threshold 10.00% INFO - L9 2025-06-30-22-14-19 cloud cover : 1.72% INFO - L9 2025-06-30-22-14-19: sand: 0.00% ,whitewater: 1.17% ,water: 57.71% INFO - L9 2025-06-30-22-14-19: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 22 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 357 INFO - Number of shoreline points after removing points within 300m of cloud mask 327 INFO - Number of shoreline points before removing points within 30m of no data pixel 327 INFO - Number of shoreline points after removing points within 30m of no data pixel 327 INFO - L9 2025-07-07-22-20-06 cloud cover : 0.00% INFO - L9 2025-07-07-22-20-06: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% INFO - L9 2025-07-07-22-20-06: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-07-07-22-20-06: 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-07-07-22-20-30 cloud cover : 0.00% INFO - L9 2025-07-07-22-20-30: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% INFO - L9 2025-07-07-22-20-30: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-07-07-22-20-30: 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-07-16-22-14-24 cloud cover : 0.00% INFO - L9 2025-07-16-22-14-24: sand: 0.00% ,whitewater: 6.35% ,water: 52.63% INFO - L9 2025-07-16-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: 16 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 435 INFO - Number of shoreline points after removing points within 300m of cloud mask 435 INFO - Number of shoreline points before removing points within 30m of no data pixel 435 INFO - Number of shoreline points after removing points within 30m of no data pixel 435