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-10-07-21-54-43: Skipped due to cloud cover 21.30% > threshold 10.00% WARNING - L8 2025-10-07-21-55-07: Skipped due to cloud cover 24.45% > threshold 10.00% WARNING - L8 2025-10-14-22-00-55: Skipped due to cloud cover 10.49% > threshold 10.00% INFO - L8 2025-10-14-22-01-19 cloud cover : 0.00% INFO - L8 2025-10-14-22-01-19: sand: 0.00% ,whitewater: 0.00% ,water: 4.47% INFO - L8 2025-10-14-22-01-19: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L8 2025-10-14-22-01-19: 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 - L8 2025-10-23-21-54-41 cloud cover : 0.00% INFO - L8 2025-10-23-21-54-41: sand: 0.00% ,whitewater: 0.25% ,water: 49.40% INFO - L8 2025-10-23-21-54-41: 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 475 INFO - Number of shoreline points after removing points within 300m of cloud mask 475 INFO - Number of shoreline points before removing points within 30m of no data pixel 475 INFO - Number of shoreline points after removing points within 30m of no data pixel 475 INFO - L8 2025-10-23-21-55-05 cloud cover : 0.00% INFO - L8 2025-10-23-21-55-05: sand: 0.00% ,whitewater: 0.27% ,water: 49.61% INFO - L8 2025-10-23-21-55-05: 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 475 INFO - Number of shoreline points after removing points within 300m of cloud mask 475 INFO - Number of shoreline points before removing points within 30m of no data pixel 475 INFO - Number of shoreline points after removing points within 30m of no data pixel 475 INFO - L8 2025-10-30-22-00-56 cloud cover : 0.00% INFO - L8 2025-10-30-22-00-56: sand: 0.01% ,whitewater: 0.75% ,water: 49.33% INFO - L8 2025-10-30-22-00-56: 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 473 INFO - Number of shoreline points after removing points within 300m of cloud mask 473 INFO - Number of shoreline points before removing points within 30m of no data pixel 473 INFO - Number of shoreline points after removing points within 30m of no data pixel 473 INFO - L8 2025-10-30-22-01-20 cloud cover : 0.00% INFO - L8 2025-10-30-22-01-20: sand: 0.00% ,whitewater: 0.00% ,water: 7.18% INFO - L8 2025-10-30-22-01-20: 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: 0 shorelines WARNING - L8 2025-11-08-21-54-45: Skipped due to cloud cover 75.33% > threshold 10.00% WARNING - L8 2025-11-08-21-55-09: Skipped due to cloud cover 76.58% > threshold 10.00% INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 WARNING - L9 2025-10-06-22-00-58: Skipped due to cloud cover 86.15% > threshold 10.00% INFO - L9 2025-11-07-22-01-01 cloud cover : 0.00% INFO - L9 2025-11-07-22-01-01: sand: 0.01% ,whitewater: 0.37% ,water: 49.75% INFO - L9 2025-11-07-22-01-01: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 4 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 469 INFO - Number of shoreline points after removing points within 300m of cloud mask 469 INFO - Number of shoreline points before removing points within 30m of no data pixel 469 INFO - Number of shoreline points after removing points within 30m of no data pixel 469 INFO - L9 2025-11-07-22-01-25 cloud cover : 0.00% INFO - L9 2025-11-07-22-01-25: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% INFO - L9 2025-11-07-22-01-25: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-11-07-22-01-25: 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-11-16-21-54-49 cloud cover : 5.55% INFO - L9 2025-11-16-21-54-49: sand: 0.01% ,whitewater: 1.21% ,water: 46.38% INFO - L9 2025-11-16-21-54-49: 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 179 INFO - Number of shoreline points after removing points within 300m of cloud mask 152 INFO - Number of shoreline points before removing points within 30m of no data pixel 152 INFO - Number of shoreline points after removing points within 30m of no data pixel 152 INFO - L9 2025-11-16-21-55-13 cloud cover : 5.13% INFO - L9 2025-11-16-21-55-13: sand: 0.01% ,whitewater: 1.24% ,water: 46.35% INFO - L9 2025-11-16-21-55-13: 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 199 INFO - Number of shoreline points after removing points within 300m of cloud mask 167 INFO - Number of shoreline points before removing points within 30m of no data pixel 167 INFO - Number of shoreline points after removing points within 30m of no data pixel 167