2025-06-01 00:02:30,737 - satellite_download_logger - ERROR - Could not save metasdata for LANDSAT/LC08/C02/T1_TOA/LC08_074084_20250505 that failed. Failed to open the image file data/nzd0057/L8/ms/2025-05-05-22-10-48_L8_nzd0057_ms.tif 2025-06-01 00:02:40,263 - satellite_download_logger - INFO - Successfully downloaded image id LANDSAT/LC08/C02/T1_TOA/LC08_074084_20250521 as 2025-05-21-22-10-52_L8_nzd0057_ms.tif 2025-06-01 00:02:50,477 - satellite_download_logger - ERROR - Could not save metasdata for LANDSAT/LC08/C02/T1_TOA/LC08_074085_20250505 that failed. Failed to open the image file data/nzd0057/L8/ms/2025-05-05-22-11-12_L8_nzd0057_ms.tif 2025-06-01 00:02:59,869 - satellite_download_logger - INFO - Successfully downloaded image id LANDSAT/LC08/C02/T1_TOA/LC08_074085_20250521 as 2025-05-21-22-11-16_L8_nzd0057_ms.tif 2025-06-01 00:03:08,119 - satellite_download_logger - INFO - Successfully downloaded image id LANDSAT/LC09/C02/T1_TOA/LC09_074084_20250513 as 2025-05-13-22-10-58_L9_nzd0057_ms.tif 2025-06-01 00:03:16,385 - satellite_download_logger - INFO - Successfully downloaded image id LANDSAT/LC09/C02/T1_TOA/LC09_074084_20250529 as 2025-05-29-22-10-51_L9_nzd0057_ms.tif 2025-06-01 00:03:21,874 - satellite_download_logger - INFO - Successfully downloaded image id LANDSAT/LC09/C02/T1_TOA/LC09_074085_20250513 as 2025-05-13-22-11-22_L9_nzd0057_ms.tif 2025-06-01 00:03:30,007 - satellite_download_logger - INFO - Successfully downloaded image id LANDSAT/LC09/C02/T1_TOA/LC09_074085_20250529 as 2025-05-29-22-11-15_L9_nzd0057_ms.tif 2025-06-01 00:03:30,039 - satellite_download_logger - INFO - Please read the following information carefully: 2025-06-01 00:03:30,039 - satellite_download_logger - 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. 2025-06-01 00:03:30,039 - satellite_download_logger - 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. 2025-06-01 00:03:30,039 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-06-01 00:03:30,041 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-06-01 00:03:30,043 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-06-01 00:03:30,043 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-06-01 00:03:30,044 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-06-01 00:03:30,048 - satellite_download_logger - INFO - Processing image L8 2025-05-21-22-10-52 2025-06-01 00:03:30,048 - satellite_download_logger - INFO - L8 2025-05-21-22-10-52 cloud cover : 0.00% 2025-06-01 00:03:30,105 - satellite_download_logger - INFO - L8 2025-05-21-22-10-52: sand: 0.00% ,whitewater: 0.00% ,water: 38.61% 2025-06-01 00:03:30,106 - satellite_download_logger - INFO - L8 2025-05-21-22-10-52: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-01 00:03:30,113 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-06-01 00:03:30,113 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 69 2025-06-01 00:03:30,113 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 69 2025-06-01 00:03:30,113 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 69 2025-06-01 00:03:30,113 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 69 2025-06-01 00:03:30,416 - satellite_download_logger - INFO - Processing image L8 2025-05-21-22-11-16 2025-06-01 00:03:30,417 - satellite_download_logger - INFO - L8 2025-05-21-22-11-16 cloud cover : 0.00% 2025-06-01 00:03:30,445 - satellite_download_logger - INFO - L8 2025-05-21-22-11-16: sand: 0.00% ,whitewater: 0.00% ,water: 26.17% 2025-06-01 00:03:30,446 - satellite_download_logger - INFO - L8 2025-05-21-22-11-16: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-01 00:03:30,447 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-06-01 00:03:30,447 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 53 2025-06-01 00:03:30,447 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 53 2025-06-01 00:03:30,447 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 53 2025-06-01 00:03:30,449 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 52 2025-06-01 00:03:31,047 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-06-01 00:03:31,051 - satellite_download_logger - INFO - Processing image L9 2025-05-13-22-10-58 2025-06-01 00:03:31,051 - satellite_download_logger - INFO - L9 2025-05-13-22-10-58 cloud cover : 0.00% 2025-06-01 00:03:31,081 - satellite_download_logger - INFO - L9 2025-05-13-22-10-58: sand: 0.00% ,whitewater: 0.00% ,water: 40.44% 2025-06-01 00:03:31,082 - satellite_download_logger - INFO - L9 2025-05-13-22-10-58: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-01 00:03:31,083 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-06-01 00:03:31,083 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 73 2025-06-01 00:03:31,083 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 73 2025-06-01 00:03:31,083 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 73 2025-06-01 00:03:31,083 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 73 2025-06-01 00:03:31,345 - satellite_download_logger - INFO - Processing image L9 2025-05-13-22-11-22 2025-06-01 00:03:31,345 - satellite_download_logger - INFO - L9 2025-05-13-22-11-22 cloud cover : 0.00% 2025-06-01 00:03:31,370 - satellite_download_logger - INFO - L9 2025-05-13-22-11-22: sand: 0.00% ,whitewater: 0.00% ,water: 40.00% 2025-06-01 00:03:31,370 - satellite_download_logger - INFO - L9 2025-05-13-22-11-22: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-01 00:03:31,371 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-06-01 00:03:31,371 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 75 2025-06-01 00:03:31,371 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 75 2025-06-01 00:03:31,371 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 75 2025-06-01 00:03:31,371 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 75 2025-06-01 00:03:31,625 - satellite_download_logger - INFO - Processing image L9 2025-05-29-22-10-51 2025-06-01 00:03:31,626 - satellite_download_logger - INFO - L9 2025-05-29-22-10-51 cloud cover : 8.33% 2025-06-01 00:03:31,651 - satellite_download_logger - INFO - L9 2025-05-29-22-10-51: sand: 0.00% ,whitewater: 0.00% ,water: 29.39% 2025-06-01 00:03:31,651 - satellite_download_logger - INFO - L9 2025-05-29-22-10-51: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-01 00:03:31,653 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-06-01 00:03:31,653 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 85 2025-06-01 00:03:31,655 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 37 2025-06-01 00:03:31,655 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 37 2025-06-01 00:03:31,655 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 37 2025-06-01 00:03:31,906 - satellite_download_logger - INFO - Processing image L9 2025-05-29-22-11-15 2025-06-01 00:03:31,906 - satellite_download_logger - INFO - L9 2025-05-29-22-11-15 cloud cover : 0.00% 2025-06-01 00:03:31,920 - satellite_download_logger - INFO - L9 2025-05-29-22-11-15: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-06-01 00:03:31,920 - satellite_download_logger - INFO - L9 2025-05-29-22-11-15: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-06-01 00:03:31,922 - satellite_download_logger - ERROR - L9 2025-05-29-22-11-15: 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.