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-24-10-05-27 cloud cover : 0.00% INFO - L8 2025-06-24-10-05-27: sand: 0.00% ,whitewater: 0.00% ,water: 32.12% INFO - L8 2025-06-24-10-05-27: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L8 2025-06-24-10-05-27: 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-06-24-10-05-51 cloud cover : 0.00% INFO - L8 2025-06-24-10-05-51: sand: 0.00% ,whitewater: 0.00% ,water: 64.30% INFO - L8 2025-06-24-10-05-51: 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 141 INFO - Number of shoreline points after removing points within 300m of cloud mask 141 INFO - Number of shoreline points before removing points within 30m of no data pixel 141 INFO - Number of shoreline points after removing points within 30m of no data pixel 139 INFO - L8 2025-07-01-10-11-40 cloud cover : 0.00% INFO - L8 2025-07-01-10-11-40: sand: 0.00% ,whitewater: 0.00% ,water: 61.43% INFO - L8 2025-07-01-10-11-40: 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 138 INFO - Number of shoreline points after removing points within 300m of cloud mask 138 INFO - Number of shoreline points before removing points within 30m of no data pixel 138 INFO - Number of shoreline points after removing points within 30m of no data pixel 136 INFO - L8 2025-07-01-10-12-04 cloud cover : 0.00% INFO - L8 2025-07-01-10-12-04: sand: 0.00% ,whitewater: 0.00% ,water: 61.36% INFO - L8 2025-07-01-10-12-04: 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 142 INFO - Number of shoreline points after removing points within 300m of cloud mask 142 INFO - Number of shoreline points before removing points within 30m of no data pixel 142 INFO - Number of shoreline points after removing points within 30m of no data pixel 140 INFO - L8 2025-07-10-10-05-54 cloud cover : 0.00% INFO - L8 2025-07-10-10-05-54: sand: 0.00% ,whitewater: 0.00% ,water: 65.25% INFO - L8 2025-07-10-10-05-54: 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 139 INFO - Number of shoreline points after removing points within 300m of cloud mask 139 INFO - Number of shoreline points before removing points within 30m of no data pixel 139 INFO - Number of shoreline points after removing points within 30m of no data pixel 137 INFO - L8 2025-07-17-10-11-45 cloud cover : 0.00% INFO - L8 2025-07-17-10-11-45: sand: 0.00% ,whitewater: 3.77% ,water: 61.32% INFO - L8 2025-07-17-10-11-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 133 INFO - Number of shoreline points after removing points within 300m of cloud mask 133 INFO - Number of shoreline points before removing points within 30m of no data pixel 133 INFO - Number of shoreline points after removing points within 30m of no data pixel 131 INFO - L8 2025-07-17-10-12-09 cloud cover : 0.00% INFO - L8 2025-07-17-10-12-09: sand: 0.00% ,whitewater: 3.77% ,water: 61.25% INFO - L8 2025-07-17-10-12-09: 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 137 INFO - Number of shoreline points after removing points within 300m of cloud mask 137 INFO - Number of shoreline points before removing points within 30m of no data pixel 137 INFO - Number of shoreline points after removing points within 30m of no data pixel 135 INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 INFO - L9 2025-07-02-10-05-27 cloud cover : 0.00% INFO - L9 2025-07-02-10-05-27: sand: 0.00% ,whitewater: 0.00% ,water: 42.48% INFO - L9 2025-07-02-10-05-27: 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 - L9 2025-07-02-10-05-51 cloud cover : 0.00% INFO - L9 2025-07-02-10-05-51: sand: 0.00% ,whitewater: 0.00% ,water: 64.72% INFO - L9 2025-07-02-10-05-51: 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 139 INFO - Number of shoreline points after removing points within 300m of cloud mask 139 INFO - Number of shoreline points before removing points within 30m of no data pixel 139 INFO - Number of shoreline points after removing points within 30m of no data pixel 138 INFO - L9 2025-07-09-10-11-38 cloud cover : 0.00% INFO - L9 2025-07-09-10-11-38: sand: 0.00% ,whitewater: 2.68% ,water: 61.85% INFO - L9 2025-07-09-10-11-38: 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 133 INFO - Number of shoreline points after removing points within 300m of cloud mask 133 INFO - Number of shoreline points before removing points within 30m of no data pixel 133 INFO - Number of shoreline points after removing points within 30m of no data pixel 132 INFO - L9 2025-07-09-10-12-02 cloud cover : 0.00% INFO - L9 2025-07-09-10-12-02: sand: 0.00% ,whitewater: 2.68% ,water: 61.92% INFO - L9 2025-07-09-10-12-02: 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 131 INFO - Number of shoreline points after removing points within 300m of cloud mask 131 INFO - Number of shoreline points before removing points within 30m of no data pixel 131 INFO - Number of shoreline points after removing points within 30m of no data pixel 130 INFO - L9 2025-07-18-10-05-57 cloud cover : 0.00% INFO - L9 2025-07-18-10-05-57: sand: 0.00% ,whitewater: 0.11% ,water: 65.62% INFO - L9 2025-07-18-10-05-57: 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 131 INFO - Number of shoreline points after removing points within 300m of cloud mask 131 INFO - Number of shoreline points before removing points within 30m of no data pixel 131 INFO - Number of shoreline points after removing points within 30m of no data pixel 129 INFO - L9 2025-07-25-10-11-47 cloud cover : 0.00% INFO - L9 2025-07-25-10-11-47: sand: 0.00% ,whitewater: 0.00% ,water: 64.57% INFO - L9 2025-07-25-10-11-47: 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 131 INFO - Number of shoreline points after removing points within 300m of cloud mask 131 INFO - Number of shoreline points before removing points within 30m of no data pixel 131 INFO - Number of shoreline points after removing points within 30m of no data pixel 130 INFO - L9 2025-07-25-10-12-11 cloud cover : 6.46% INFO - L9 2025-07-25-10-12-11: sand: 0.00% ,whitewater: 0.00% ,water: 60.11% INFO - L9 2025-07-25-10-12-11: 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 112 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 70