2025-09-01 00:11:27,728 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_074091_20250724 that failed. Failed to open the image file data/nzd0475/L8/ms/2025-07-24-22-14-05_L8_nzd0475_ms.tif 2025-09-01 00:11:32,182 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_074091_20250809 that failed. Failed to open the image file data/nzd0475/L8/ms/2025-08-09-22-14-13_L8_nzd0475_ms.tif 2025-09-01 00:11:35,623 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_074092_20250724 that failed. Failed to open the image file data/nzd0475/L8/ms/2025-07-24-22-14-29_L8_nzd0475_ms.tif 2025-09-01 00:11:43,507 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_074092_20250809 that failed. Failed to open the image file data/nzd0475/L8/ms/2025-08-09-22-14-37_L8_nzd0475_ms.tif 2025-09-01 00:11:50,088 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075091_20250731 as 2025-07-31-22-20-17_L8_nzd0475_ms.tif 2025-09-01 00:11:54,534 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075091_20250816 as 2025-08-16-22-20-26_L8_nzd0475_ms.tif 2025-09-01 00:11:59,965 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074091_20250801 as 2025-08-01-22-14-06_L9_nzd0475_ms.tif 2025-09-01 00:12:04,286 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_074091_20250817 that failed. Failed to open the image file data/nzd0475/L9/ms/2025-08-17-22-14-18_L9_nzd0475_ms.tif 2025-09-01 00:12:07,783 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074092_20250801 as 2025-08-01-22-14-30_L9_nzd0475_ms.tif 2025-09-01 00:12:07,812 - satellite_download_logger - INFO - Please read the following information carefully: 2025-09-01 00:12:07,812 - 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-09-01 00:12:07,812 - 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-09-01 00:12:07,812 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-09-01 00:12:07,814 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-09-01 00:12:07,816 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-09-01 00:12:07,816 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-09-01 00:12:07,818 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-09-01 00:12:07,823 - satellite_download_logger - INFO - L8 2025-07-31-22-20-17 cloud cover : 0.00% 2025-09-01 00:12:07,865 - satellite_download_logger - INFO - L8 2025-07-31-22-20-17: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-09-01 00:12:07,865 - satellite_download_logger - INFO - L8 2025-07-31-22-20-17: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-09-01 00:12:07,869 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 27 shorelines. Number of shorelines after filtering shorelines: 2 shorelines 2025-09-01 00:12:07,869 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 148 2025-09-01 00:12:07,869 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 148 2025-09-01 00:12:07,869 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 148 2025-09-01 00:12:07,869 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 148 2025-09-01 00:12:08,121 - satellite_download_logger - INFO - L8 2025-08-16-22-20-26 cloud cover : 0.00% 2025-09-01 00:12:08,148 - satellite_download_logger - INFO - L8 2025-08-16-22-20-26: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-09-01 00:12:08,148 - satellite_download_logger - INFO - L8 2025-08-16-22-20-26: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-09-01 00:12:08,150 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-09-01 00:12:08,150 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 92 2025-09-01 00:12:08,150 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 92 2025-09-01 00:12:08,150 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 92 2025-09-01 00:12:08,150 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 92 2025-09-01 00:12:08,395 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-09-01 00:12:08,442 - satellite_download_logger - INFO - L9 2025-07-23-22-20-15 cloud cover : 0.00% 2025-09-01 00:12:08,476 - satellite_download_logger - INFO - L9 2025-07-23-22-20-15: sand: 0.00% ,whitewater: 0.00% ,water: 0.00% 2025-09-01 00:12:08,476 - satellite_download_logger - INFO - L9 2025-07-23-22-20-15: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-09-01 00:12:08,478 - satellite_download_logger - ERROR - L9 2025-07-23-22-20-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.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. 2025-09-01 00:12:08,486 - satellite_download_logger - INFO - L9 2025-08-01-22-14-06 cloud cover : 0.00% 2025-09-01 00:12:08,525 - satellite_download_logger - INFO - L9 2025-08-01-22-14-06: sand: 0.00% ,whitewater: 3.99% ,water: 40.57% 2025-09-01 00:12:08,525 - satellite_download_logger - INFO - L9 2025-08-01-22-14-06: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-09-01 00:12:08,527 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-09-01 00:12:08,527 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 89 2025-09-01 00:12:08,527 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 89 2025-09-01 00:12:08,527 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 89 2025-09-01 00:12:08,527 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 89 2025-09-01 00:12:08,774 - satellite_download_logger - INFO - L9 2025-08-01-22-14-30 cloud cover : 0.00% 2025-09-01 00:12:08,802 - satellite_download_logger - INFO - L9 2025-08-01-22-14-30: sand: 0.00% ,whitewater: 4.35% ,water: 39.93% 2025-09-01 00:12:08,802 - satellite_download_logger - INFO - L9 2025-08-01-22-14-30: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-09-01 00:12:08,804 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-09-01 00:12:08,804 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 91 2025-09-01 00:12:08,804 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 91 2025-09-01 00:12:08,804 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 91 2025-09-01 00:12:08,804 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 91