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 L9 Minimum Shoreline Length: 500 ERROR - Skipping L9 2021-11-16-22-19-43 due to cloud cover percentage exceeding cloud threshold: 74.30% > 10.00%. ERROR - Skipping L9 2021-11-21-22-22-10 due to cloud cover percentage exceeding cloud threshold: 80.90% > 10.00%. INFO - Processing image L9 2022-01-20-22-20-15 INFO - L9 2022-01-20-22-20-15 cloud cover : 0.00% INFO - L9 2022-01-20-22-20-15: sand: 0.00% ,whitewater: 2.52% ,water: 48.09% INFO - L9 2022-01-20-22-20-15: 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: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 361 INFO - Number of shoreline points after removing points within 300m of cloud mask 361 INFO - Number of shoreline points before removing points within 30m of no data pixel 361 INFO - Number of shoreline points after removing points within 30m of no data pixel 361 INFO - Processing image L9 2022-02-05-22-20-15 INFO - L9 2022-02-05-22-20-15 cloud cover : 0.00% INFO - L9 2022-02-05-22-20-15: sand: 0.00% ,whitewater: 2.01% ,water: 48.97% INFO - L9 2022-02-05-22-20-15: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 14 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 350 INFO - Number of shoreline points after removing points within 300m of cloud mask 350 INFO - Number of shoreline points before removing points within 30m of no data pixel 350 INFO - Number of shoreline points after removing points within 30m of no data pixel 350 INFO - Processing image L9 2022-02-28-22-26-12 INFO - L9 2022-02-28-22-26-12 cloud cover : 1.18% INFO - L9 2022-02-28-22-26-12: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% INFO - L9 2022-02-28-22-26-12: 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: 0 shorelines ERROR - Skipping L9 2022-03-09-22-20-01 due to cloud cover percentage exceeding cloud threshold: 11.03% > 10.00%. ERROR - Skipping L9 2022-03-25-22-19-56 due to cloud cover percentage exceeding cloud threshold: 39.85% > 10.00%. INFO - Processing image L9 2022-04-26-22-19-44 INFO - L9 2022-04-26-22-19-44 cloud cover : 1.29% INFO - L9 2022-04-26-22-19-44: sand: 0.00% ,whitewater: 1.99% ,water: 49.48% INFO - L9 2022-04-26-22-19-44: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 14 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 382 INFO - Number of shoreline points after removing points within 300m of cloud mask 345 INFO - Number of shoreline points before removing points within 30m of no data pixel 345 INFO - Number of shoreline points after removing points within 30m of no data pixel 345 ERROR - Skipping L9 2022-05-12-22-19-36 due to cloud cover percentage exceeding cloud threshold: 10.63% > 10.00%. INFO - Processing image L9 2022-05-28-22-19-30 INFO - L9 2022-05-28-22-19-30 cloud cover : 0.94% INFO - L9 2022-05-28-22-19-30: sand: 0.00% ,whitewater: 0.01% ,water: 52.54% INFO - L9 2022-05-28-22-19-30: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 19 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 356 INFO - Number of shoreline points after removing points within 300m of cloud mask 323 INFO - Number of shoreline points before removing points within 30m of no data pixel 323 INFO - Number of shoreline points after removing points within 30m of no data pixel 323 INFO - Processing image L9 2022-07-15-22-19-48 INFO - L9 2022-07-15-22-19-48 cloud cover : 6.77% INFO - L9 2022-07-15-22-19-48: sand: 0.00% ,whitewater: 0.87% ,water: 50.90% INFO - L9 2022-07-15-22-19-48: 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 196 INFO - Number of shoreline points after removing points within 300m of cloud mask 110 INFO - Number of shoreline points before removing points within 30m of no data pixel 110 INFO - Number of shoreline points after removing points within 30m of no data pixel 110 ERROR - Skipping L9 2022-07-31-22-20-03 due to cloud cover percentage exceeding cloud threshold: 89.04% > 10.00%. ERROR - Skipping L9 2022-09-17-22-20-18 due to cloud cover percentage exceeding cloud threshold: 54.87% > 10.00%. INFO - Processing image L9 2022-11-04-22-20-24 INFO - L9 2022-11-04-22-20-24 cloud cover : 0.00% INFO - L9 2022-11-04-22-20-24: sand: 0.00% ,whitewater: 6.04% ,water: 45.47% INFO - L9 2022-11-04-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: 7 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 374 INFO - Number of shoreline points after removing points within 300m of cloud mask 374 INFO - Number of shoreline points before removing points within 30m of no data pixel 374 INFO - Number of shoreline points after removing points within 30m of no data pixel 374 INFO - Processing image L9 2022-12-06-22-20-25 INFO - L9 2022-12-06-22-20-25 cloud cover : 0.00% INFO - L9 2022-12-06-22-20-25: sand: 0.00% ,whitewater: 0.15% ,water: 51.12% INFO - L9 2022-12-06-22-20-25: 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: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 363 INFO - Number of shoreline points after removing points within 300m of cloud mask 363 INFO - Number of shoreline points before removing points within 30m of no data pixel 363 INFO - Number of shoreline points after removing points within 30m of no data pixel 363 INFO - Processing image L9 2022-12-22-22-20-23 INFO - L9 2022-12-22-22-20-23 cloud cover : 0.55% INFO - L9 2022-12-22-22-20-23: sand: 0.00% ,whitewater: 0.06% ,water: 51.84% INFO - L9 2022-12-22-22-20-23: 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: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 367 INFO - Number of shoreline points after removing points within 300m of cloud mask 367 INFO - Number of shoreline points before removing points within 30m of no data pixel 367 INFO - Number of shoreline points after removing points within 30m of no data pixel 367 INFO - Processing image L9 2023-01-07-22-20-26 INFO - L9 2023-01-07-22-20-26 cloud cover : 0.00% INFO - L9 2023-01-07-22-20-26: sand: 0.00% ,whitewater: 0.35% ,water: 50.74% INFO - L9 2023-01-07-22-20-26: 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: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 363 INFO - Number of shoreline points after removing points within 300m of cloud mask 363 INFO - Number of shoreline points before removing points within 30m of no data pixel 363 INFO - Number of shoreline points after removing points within 30m of no data pixel 363 INFO - Processing image L9 2023-01-23-22-20-20 INFO - L9 2023-01-23-22-20-20 cloud cover : 0.00% INFO - L9 2023-01-23-22-20-20: sand: 0.00% ,whitewater: 0.31% ,water: 50.94% INFO - L9 2023-01-23-22-20-20: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 10 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 362 INFO - Number of shoreline points after removing points within 300m of cloud mask 362 INFO - Number of shoreline points before removing points within 30m of no data pixel 362 INFO - Number of shoreline points after removing points within 30m of no data pixel 362 INFO - Processing image L9 2023-02-08-22-20-30 INFO - L9 2023-02-08-22-20-30 cloud cover : 0.00% INFO - L9 2023-02-08-22-20-30: sand: 0.00% ,whitewater: 3.10% ,water: 47.32% INFO - L9 2023-02-08-22-20-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: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 366 INFO - Number of shoreline points after removing points within 300m of cloud mask 366 INFO - Number of shoreline points before removing points within 30m of no data pixel 366 INFO - Number of shoreline points after removing points within 30m of no data pixel 366 INFO - Processing image L9 2023-02-24-22-20-15 INFO - L9 2023-02-24-22-20-15 cloud cover : 0.00% INFO - L9 2023-02-24-22-20-15: sand: 0.00% ,whitewater: 0.15% ,water: 50.17% INFO - L9 2023-02-24-22-20-15: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 10 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 361 INFO - Number of shoreline points after removing points within 300m of cloud mask 361 INFO - Number of shoreline points before removing points within 30m of no data pixel 361 INFO - Number of shoreline points after removing points within 30m of no data pixel 361 ERROR - Skipping L9 2023-03-12-22-20-08 due to cloud cover percentage exceeding cloud threshold: 92.34% > 10.00%. INFO - Processing image L9 2023-03-28-22-19-57 INFO - L9 2023-03-28-22-19-57 cloud cover : 1.35% INFO - L9 2023-03-28-22-19-57: sand: 0.00% ,whitewater: 0.61% ,water: 49.63% INFO - L9 2023-03-28-22-19-57: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 12 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 312 INFO - Number of shoreline points after removing points within 300m of cloud mask 257 INFO - Number of shoreline points before removing points within 30m of no data pixel 257 INFO - Number of shoreline points after removing points within 30m of no data pixel 257 INFO - Processing image L9 2023-04-13-22-19-50 INFO - L9 2023-04-13-22-19-50 cloud cover : 0.00% INFO - L9 2023-04-13-22-19-50: sand: 0.00% ,whitewater: 0.40% ,water: 51.10% INFO - L9 2023-04-13-22-19-50: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 13 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 362 INFO - Number of shoreline points after removing points within 300m of cloud mask 362 INFO - Number of shoreline points before removing points within 30m of no data pixel 362 INFO - Number of shoreline points after removing points within 30m of no data pixel 362 ERROR - Skipping L9 2023-04-29-22-19-43 due to cloud cover percentage exceeding cloud threshold: 93.54% > 10.00%. INFO - Processing image L9 2023-05-06-22-25-49 INFO - L9 2023-05-06-22-25-49 cloud cover : 0.00% INFO - L9 2023-05-06-22-25-49: sand: 0.00% ,whitewater: 24.96% ,water: 0.00% INFO - L9 2023-05-06-22-25-49: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 ERROR - L9 2023-05-06-22-25-49: 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 626, in extract_shorelines contours_mwi, t_mndwi = find_wl_contours1( File "/home/ubuntu/.local/lib/python3.10/site-packages/coastsat/SDS_shoreline.py", line 921, 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 2023-06-16-22-19-18 INFO - L9 2023-06-16-22-19-18 cloud cover : 2.50% INFO - L9 2023-06-16-22-19-18: sand: 0.00% ,whitewater: 2.77% ,water: 51.17% INFO - L9 2023-06-16-22-19-18: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 19 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 381 INFO - Number of shoreline points after removing points within 300m of cloud mask 265 INFO - Number of shoreline points before removing points within 30m of no data pixel 265 INFO - Number of shoreline points after removing points within 30m of no data pixel 265 ERROR - Skipping L9 2023-07-02-22-19-29 due to cloud cover percentage exceeding cloud threshold: 56.96% > 10.00%. ERROR - Skipping L9 2023-08-03-22-19-43 due to cloud cover percentage exceeding cloud threshold: 10.63% > 10.00%. ERROR - Skipping L9 2023-09-04-22-19-58 due to cloud cover percentage exceeding cloud threshold: 47.71% > 10.00%. INFO - Processing image L9 2023-10-06-22-20-06 INFO - L9 2023-10-06-22-20-06 cloud cover : 0.00% INFO - L9 2023-10-06-22-20-06: sand: 0.00% ,whitewater: 10.40% ,water: 41.02% INFO - L9 2023-10-06-22-20-06: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 14 shorelines. Number of shorelines after filtering shorelines: 1 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 357 INFO - Number of shoreline points before removing points within 30m of no data pixel 357 INFO - Number of shoreline points after removing points within 30m of no data pixel 357 INFO - Processing image L9 2023-11-23-22-20-17 INFO - L9 2023-11-23-22-20-17 cloud cover : 0.00% INFO - L9 2023-11-23-22-20-17: sand: 0.01% ,whitewater: 2.38% ,water: 48.86% INFO - L9 2023-11-23-22-20-17: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 14 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 365 INFO - Number of shoreline points after removing points within 300m of cloud mask 365 INFO - Number of shoreline points before removing points within 30m of no data pixel 365 INFO - Number of shoreline points after removing points within 30m of no data pixel 365 INFO - Processing image L9 2023-12-09-22-20-14 INFO - L9 2023-12-09-22-20-14 cloud cover : 0.00% INFO - L9 2023-12-09-22-20-14: sand: 0.00% ,whitewater: 4.85% ,water: 46.02% INFO - L9 2023-12-09-22-20-14: 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 369 INFO - Number of shoreline points after removing points within 300m of cloud mask 369 INFO - Number of shoreline points before removing points within 30m of no data pixel 369 INFO - Number of shoreline points after removing points within 30m of no data pixel 369 INFO - Processing image L9 2024-01-26-22-20-14 INFO - L9 2024-01-26-22-20-14 cloud cover : 0.00% INFO - L9 2024-01-26-22-20-14: sand: 0.00% ,whitewater: 33.23% ,water: 18.79% INFO - L9 2024-01-26-22-20-14: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 19 shorelines. Number of shorelines after filtering shorelines: 2 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 381 INFO - Number of shoreline points after removing points within 300m of cloud mask 381 INFO - Number of shoreline points before removing points within 30m of no data pixel 381 INFO - Number of shoreline points after removing points within 30m of no data pixel 381 ERROR - Skipping L9 2024-02-11-22-20-16 due to cloud cover percentage exceeding cloud threshold: 70.45% > 10.00%. INFO - Processing image L9 2024-02-27-22-20-07 INFO - L9 2024-02-27-22-20-07 cloud cover : 0.00% INFO - L9 2024-02-27-22-20-07: sand: 0.00% ,whitewater: 3.62% ,water: 46.94% INFO - L9 2024-02-27-22-20-07: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 12 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 362 INFO - Number of shoreline points after removing points within 300m of cloud mask 362 INFO - Number of shoreline points before removing points within 30m of no data pixel 362 INFO - Number of shoreline points after removing points within 30m of no data pixel 362 INFO - Processing image L9 2024-04-22-22-25-49 INFO - L9 2024-04-22-22-25-49 cloud cover : 0.00% INFO - L9 2024-04-22-22-25-49: sand: 0.00% ,whitewater: 0.71% ,water: 58.71% INFO - L9 2024-04-22-22-25-49: 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 127 INFO - Number of shoreline points after removing points within 300m of cloud mask 127 INFO - Number of shoreline points before removing points within 30m of no data pixel 127 INFO - Number of shoreline points after removing points within 30m of no data pixel 125 INFO - Processing image L9 2024-05-01-22-19-35 INFO - L9 2024-05-01-22-19-35 cloud cover : 3.81% INFO - L9 2024-05-01-22-19-35: sand: 0.00% ,whitewater: 5.69% ,water: 48.58% INFO - L9 2024-05-01-22-19-35: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 10 shorelines. Number of shorelines after filtering shorelines: 3 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 296 INFO - Number of shoreline points after removing points within 300m of cloud mask 135 INFO - Number of shoreline points before removing points within 30m of no data pixel 135 INFO - Number of shoreline points after removing points within 30m of no data pixel 135 ERROR - Skipping L9 2024-05-17-22-19-27 due to cloud cover percentage exceeding cloud threshold: 72.50% > 10.00%. INFO - Processing image L9 2024-06-25-22-25-13 INFO - L9 2024-06-25-22-25-13 cloud cover : 0.00% INFO - L9 2024-06-25-22-25-13: sand: 0.00% ,whitewater: 0.01% ,water: 60.18% INFO - L9 2024-06-25-22-25-13: 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 100 INFO - Number of shoreline points after removing points within 300m of cloud mask 100 INFO - Number of shoreline points before removing points within 30m of no data pixel 100 INFO - Number of shoreline points after removing points within 30m of no data pixel 98 INFO - Processing image L9 2024-07-04-22-19-15 INFO - L9 2024-07-04-22-19-15 cloud cover : 4.03% INFO - L9 2024-07-04-22-19-15: sand: 0.00% ,whitewater: 0.19% ,water: 55.33% INFO - L9 2024-07-04-22-19-15: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 15 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 349 INFO - Number of shoreline points after removing points within 300m of cloud mask 246 INFO - Number of shoreline points before removing points within 30m of no data pixel 246 INFO - Number of shoreline points after removing points within 30m of no data pixel 246 INFO - Processing image L9 2024-07-20-22-19-26 INFO - L9 2024-07-20-22-19-26 cloud cover : 2.48% INFO - L9 2024-07-20-22-19-26: sand: 0.00% ,whitewater: 1.75% ,water: 52.19% INFO - L9 2024-07-20-22-19-26: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 INFO - Number of shorelines before removing shorelines < 500m: 17 shorelines. Number of shorelines after filtering shorelines: 1 shorelines INFO - Number of shoreline points before removing points within 300m of cloud mask 359 INFO - Number of shoreline points after removing points within 300m of cloud mask 266 INFO - Number of shoreline points before removing points within 30m of no data pixel 266 INFO - Number of shoreline points after removing points within 30m of no data pixel 266 ERROR - Skipping L9 2024-08-05-22-19-30 due to cloud cover percentage exceeding cloud threshold: 69.56% > 10.00%.