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-19-38 INFO - L8 2025-01-04-22-19-38 cloud cover : 0.00% INFO - L8 2025-01-04-22-19-38: sand: 0.00% ,whitewater: 7.42% ,water: 43.70% INFO - L8 2025-01-04-22-19-38: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 6 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 562 INFO - Number of shoreline points after removing points within 300m of cloud mask 562 INFO - Number of shoreline points before removing points within 30m of no data pixel 562 INFO - Number of shoreline points after removing points within 30m of no data pixel 562 INFO - Processing image L8 2025-01-04-22-20-02 INFO - L8 2025-01-04-22-20-02 cloud cover : 0.00% INFO - L8 2025-01-04-22-20-02: sand: 0.00% ,whitewater: 4.78% ,water: 7.73% INFO - L8 2025-01-04-22-20-02: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 6 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 68 INFO - Number of shoreline points after removing points within 300m of cloud mask 68 INFO - Number of shoreline points before removing points within 30m of no data pixel 68 INFO - Number of shoreline points after removing points within 30m of no data pixel 67 INFO - Processing image L8 2025-01-20-22-19-37 INFO - L8 2025-01-20-22-19-37 cloud cover : 0.00% INFO - L8 2025-01-20-22-19-37: sand: 0.00% ,whitewater: 0.59% ,water: 50.50% INFO - L8 2025-01-20-22-19-37: 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: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 551 INFO - Number of shoreline points after removing points within 300m of cloud mask 551 INFO - Number of shoreline points before removing points within 30m of no data pixel 551 INFO - Number of shoreline points after removing points within 30m of no data pixel 551 INFO - Processing image L8 2025-01-20-22-20-01 INFO - L8 2025-01-20-22-20-01 cloud cover : 0.00% INFO - L8 2025-01-20-22-20-01: sand: 0.00% ,whitewater: 0.18% ,water: 12.54% INFO - L8 2025-01-20-22-20-01: 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 67 INFO - Number of shoreline points after removing points within 300m of cloud mask 67 INFO - Number of shoreline points before removing points within 30m of no data pixel 67 INFO - Number of shoreline points after removing points within 30m of no data pixel 66 INFO - Processing image L8 2025-02-14-22-13-24 INFO - L8 2025-02-14-22-13-24 cloud cover : 0.68% INFO - L8 2025-02-14-22-13-24: sand: 0.00% ,whitewater: 0.00% ,water: 51.05% INFO - L8 2025-02-14-22-13-24: 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 471 INFO - Number of shoreline points after removing points within 300m of cloud mask 449 INFO - Number of shoreline points before removing points within 30m of no data pixel 449 INFO - Number of shoreline points after removing points within 30m of no data pixel 449 INFO - Processing image L8 2025-02-14-22-13-48 INFO - L8 2025-02-14-22-13-48 cloud cover : 0.92% INFO - L8 2025-02-14-22-13-48: sand: 0.00% ,whitewater: 0.00% ,water: 50.94% INFO - L8 2025-02-14-22-13-48: 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 461 INFO - Number of shoreline points after removing points within 300m of cloud mask 439 INFO - Number of shoreline points before removing points within 30m of no data pixel 439 INFO - Number of shoreline points after removing points within 30m of no data pixel 439 INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 ERROR - Skipping L9 2024-12-11-22-19-41 due to cloud cover percentage exceeding cloud threshold: 88.73% > 10.00%. ERROR - Skipping L9 2024-12-11-22-20-05 due to cloud cover percentage exceeding cloud threshold: 20.77% > 10.00%. ERROR - Skipping L9 2024-12-20-22-13-34 due to cloud cover percentage exceeding cloud threshold: 12.08% > 10.00%. ERROR - Skipping L9 2024-12-20-22-13-58 due to cloud cover percentage exceeding cloud threshold: 14.17% > 10.00%. ERROR - Skipping L9 2024-12-27-22-19-45 due to cloud cover percentage exceeding cloud threshold: 47.18% > 10.00%. ERROR - Skipping L9 2024-12-27-22-20-09 due to cloud cover percentage exceeding cloud threshold: 23.79% > 10.00%. INFO - Processing image L9 2025-01-05-22-13-30 INFO - L9 2025-01-05-22-13-30 cloud cover : 0.00% INFO - L9 2025-01-05-22-13-30: sand: 0.00% ,whitewater: 3.73% ,water: 47.26% INFO - L9 2025-01-05-22-13-30: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 7 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 548 INFO - Number of shoreline points after removing points within 300m of cloud mask 548 INFO - Number of shoreline points before removing points within 30m of no data pixel 548 INFO - Number of shoreline points after removing points within 30m of no data pixel 548 INFO - Processing image L9 2025-01-05-22-13-54 INFO - L9 2025-01-05-22-13-54 cloud cover : 0.00% INFO - L9 2025-01-05-22-13-54: sand: 0.00% ,whitewater: 3.79% ,water: 47.14% INFO - L9 2025-01-05-22-13-54: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 7 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 547 INFO - Number of shoreline points after removing points within 300m of cloud mask 547 INFO - Number of shoreline points before removing points within 30m of no data pixel 547 INFO - Number of shoreline points after removing points within 30m of no data pixel 547 INFO - Processing image L9 2025-01-12-22-19-45 INFO - L9 2025-01-12-22-19-45 cloud cover : 0.00% INFO - L9 2025-01-12-22-19-45: sand: 0.00% ,whitewater: 0.00% ,water: 51.72% INFO - L9 2025-01-12-22-19-45: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 7 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 550 INFO - Number of shoreline points after removing points within 300m of cloud mask 550 INFO - Number of shoreline points before removing points within 30m of no data pixel 550 INFO - Number of shoreline points after removing points within 30m of no data pixel 550 INFO - Processing image L9 2025-01-12-22-20-09 INFO - L9 2025-01-12-22-20-09 cloud cover : 0.00% INFO - L9 2025-01-12-22-20-09: sand: 0.00% ,whitewater: 0.00% ,water: 10.15% INFO - L9 2025-01-12-22-20-09: 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 45 INFO - Number of shoreline points after removing points within 300m of cloud mask 45 INFO - Number of shoreline points before removing points within 30m of no data pixel 45 INFO - Number of shoreline points after removing points within 30m of no data pixel 44 INFO - Processing image L9 2025-01-21-22-13-37 INFO - L9 2025-01-21-22-13-37 cloud cover : 4.68% INFO - L9 2025-01-21-22-13-37: sand: 0.00% ,whitewater: 1.17% ,water: 47.56% INFO - L9 2025-01-21-22-13-37: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 8 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 215 INFO - Number of shoreline points after removing points within 300m of cloud mask 150 INFO - Number of shoreline points before removing points within 30m of no data pixel 150 INFO - Number of shoreline points after removing points within 30m of no data pixel 150 INFO - Processing image L9 2025-01-21-22-14-01 INFO - L9 2025-01-21-22-14-01 cloud cover : 0.77% INFO - L9 2025-01-21-22-14-01: sand: 0.00% ,whitewater: 1.49% ,water: 49.06% INFO - L9 2025-01-21-22-14-01: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 7 shorelines. Number of shorelines after filtering shorelines: 3 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 507 INFO - Number of shoreline points after removing points within 300m of cloud mask 460 INFO - Number of shoreline points before removing points within 30m of no data pixel 460 INFO - Number of shoreline points after removing points within 30m of no data pixel 460 INFO - Processing image L9 2025-02-13-22-19-46 INFO - L9 2025-02-13-22-19-46 cloud cover : 0.84% INFO - L9 2025-02-13-22-19-46: sand: 0.00% ,whitewater: 0.02% ,water: 51.25% INFO - L9 2025-02-13-22-19-46: 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 459 INFO - Number of shoreline points after removing points within 300m of cloud mask 437 INFO - Number of shoreline points before removing points within 30m of no data pixel 437 INFO - Number of shoreline points after removing points within 30m of no data pixel 437 INFO - Processing image L9 2025-02-13-22-20-10 INFO - L9 2025-02-13-22-20-10 cloud cover : 0.00% INFO - L9 2025-02-13-22-20-10: sand: 0.00% ,whitewater: 0.00% ,water: 11.90% INFO - L9 2025-02-13-22-20-10: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2025-02-13-22-20-10: 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 - Processing image L9 2025-02-22-22-13-33 INFO - L9 2025-02-22-22-13-33 cloud cover : 0.00% INFO - L9 2025-02-22-22-13-33: sand: 0.00% ,whitewater: 4.89% ,water: 46.63% INFO - L9 2025-02-22-22-13-33: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 6 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 507 INFO - Number of shoreline points after removing points within 300m of cloud mask 507 INFO - Number of shoreline points before removing points within 30m of no data pixel 507 INFO - Number of shoreline points after removing points within 30m of no data pixel 507 INFO - Processing image L9 2025-02-22-22-13-57 INFO - L9 2025-02-22-22-13-57 cloud cover : 0.00% INFO - L9 2025-02-22-22-13-57: sand: 0.00% ,whitewater: 4.98% ,water: 46.52% INFO - L9 2025-02-22-22-13-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 506 INFO - Number of shoreline points after removing points within 300m of cloud mask 506 INFO - Number of shoreline points before removing points within 30m of no data pixel 506 INFO - Number of shoreline points after removing points within 30m of no data pixel 506