2025-08-01 00:11:51,870 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_075092_20250613 that failed. Failed to open the image file data/nzd0556/L8/ms/2025-06-13-22-20-24_L8_nzd0556_ms.tif 2025-08-01 00:11:55,521 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075092_20250629 as 2025-06-29-22-20-32_L8_nzd0556_ms.tif 2025-08-01 00:12:00,121 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_075092_20250715 that failed. Failed to open the image file data/nzd0556/L8/ms/2025-07-15-22-20-37_L8_nzd0556_ms.tif 2025-08-01 00:12:05,203 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075093_20250629 as 2025-06-29-22-20-56_L8_nzd0556_ms.tif 2025-08-01 00:12:08,713 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC08/C02/T1_TOA/LC08_075093_20250715 that failed. Failed to open the image file data/nzd0556/L8/ms/2025-07-15-22-21-01_L8_nzd0556_ms.tif 2025-08-01 00:12:12,434 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_075092_20250605 that failed. Failed to open the image file data/nzd0556/L9/ms/2025-06-05-22-20-11_L9_nzd0556_ms.tif 2025-08-01 00:12:20,441 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075092_20250707 as 2025-07-07-22-20-30_L9_nzd0556_ms.tif 2025-08-01 00:12:24,990 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075092_20250723 as 2025-07-23-22-20-39_L9_nzd0556_ms.tif 2025-08-01 00:12:29,272 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075093_20250707 as 2025-07-07-22-20-54_L9_nzd0556_ms.tif 2025-08-01 00:12:32,695 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075093_20250723 as 2025-07-23-22-21-03_L9_nzd0556_ms.tif 2025-08-01 00:12:32,719 - satellite_download_logger - INFO - Please read the following information carefully: 2025-08-01 00:12:32,719 - 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-08-01 00:12:32,719 - 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-08-01 00:12:32,719 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-08-01 00:12:32,720 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-08-01 00:12:32,722 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-08-01 00:12:32,722 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-08-01 00:12:32,723 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-08-01 00:12:32,741 - satellite_download_logger - WARNING - L8 2025-06-13-22-20-48: Skipped due to cloud cover 43.48% > threshold 10.00% 2025-08-01 00:12:32,745 - satellite_download_logger - INFO - L8 2025-06-29-22-20-32 cloud cover : 0.00% 2025-08-01 00:12:32,785 - satellite_download_logger - INFO - L8 2025-06-29-22-20-32: sand: 0.00% ,whitewater: 0.73% ,water: 96.66% 2025-08-01 00:12:32,786 - satellite_download_logger - INFO - L8 2025-06-29-22-20-32: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:12:32,789 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 7 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-08-01 00:12:32,789 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 144 2025-08-01 00:12:32,789 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 144 2025-08-01 00:12:32,789 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 144 2025-08-01 00:12:32,792 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 144 2025-08-01 00:12:33,121 - satellite_download_logger - INFO - L8 2025-06-29-22-20-56 cloud cover : 0.00% 2025-08-01 00:12:33,131 - satellite_download_logger - INFO - L8 2025-06-29-22-20-56: sand: 0.00% ,whitewater: 1.82% ,water: 24.34% 2025-08-01 00:12:33,131 - satellite_download_logger - INFO - L8 2025-06-29-22-20-56: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:12:33,133 - satellite_download_logger - ERROR - L8 2025-06-29-22-20-56: 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-08-01 00:12:33,134 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-08-01 00:12:33,139 - satellite_download_logger - INFO - L9 2025-07-07-22-20-30 cloud cover : 0.00% 2025-08-01 00:12:33,207 - satellite_download_logger - INFO - L9 2025-07-07-22-20-30: sand: 0.00% ,whitewater: 2.81% ,water: 58.65% 2025-08-01 00:12:33,208 - satellite_download_logger - INFO - L9 2025-07-07-22-20-30: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:12:33,209 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 5 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-08-01 00:12:33,209 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 128 2025-08-01 00:12:33,209 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 128 2025-08-01 00:12:33,209 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 128 2025-08-01 00:12:33,211 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 128 2025-08-01 00:12:33,544 - satellite_download_logger - INFO - L9 2025-07-07-22-20-54 cloud cover : 0.00% 2025-08-01 00:12:33,560 - satellite_download_logger - INFO - L9 2025-07-07-22-20-54: sand: 0.00% ,whitewater: 0.00% ,water: 19.17% 2025-08-01 00:12:33,560 - satellite_download_logger - INFO - L9 2025-07-07-22-20-54: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:12:33,561 - satellite_download_logger - ERROR - L9 2025-07-07-22-20-54: 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-08-01 00:12:33,565 - satellite_download_logger - INFO - L9 2025-07-23-22-20-39 cloud cover : 8.29% 2025-08-01 00:12:33,612 - satellite_download_logger - INFO - L9 2025-07-23-22-20-39: sand: 0.00% ,whitewater: 2.69% ,water: 52.26% 2025-08-01 00:12:33,613 - satellite_download_logger - INFO - L9 2025-07-23-22-20-39: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:12:33,614 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 5 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-08-01 00:12:33,614 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 87 2025-08-01 00:12:33,618 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 59 2025-08-01 00:12:33,618 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 59 2025-08-01 00:12:33,619 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 59 2025-08-01 00:12:33,876 - satellite_download_logger - INFO - L9 2025-07-23-22-21-03 cloud cover : 0.00% 2025-08-01 00:12:33,884 - satellite_download_logger - INFO - L9 2025-07-23-22-21-03: sand: 0.00% ,whitewater: 0.00% ,water: 14.39% 2025-08-01 00:12:33,885 - satellite_download_logger - INFO - L9 2025-07-23-22-21-03: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:12:33,885 - satellite_download_logger - ERROR - L9 2025-07-23-22-21-03: 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.