2025-08-01 00:14:44,207 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_074088_20250622 as 2025-06-22-22-12-43_L8_nzd0317_ms.tif 2025-08-01 00:14:47,698 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC08/C02/T1_TOA/LC08_075088_20250715 as 2025-07-15-22-19-01_L8_nzd0317_ms.tif 2025-08-01 00:14:51,726 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_074088_20250630 as 2025-06-30-22-12-43_L9_nzd0317_ms.tif 2025-08-01 00:14:55,523 - satellite_download_logger - ERROR - Could not save metadata for LANDSAT/LC09/C02/T1_TOA/LC09_074088_20250716 that failed. Failed to open the image file data/nzd0317/L9/ms/2025-07-16-22-12-48_L9_nzd0317_ms.tif 2025-08-01 00:15:00,079 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075088_20250707 as 2025-07-07-22-18-55_L9_nzd0317_ms.tif 2025-08-01 00:15:03,574 - satellite_download_logger - INFO - Successfully downloaded image ID LANDSAT/LC09/C02/T1_TOA/LC09_075088_20250723 as 2025-07-23-22-19-03_L9_nzd0317_ms.tif 2025-08-01 00:15:03,618 - satellite_download_logger - INFO - Please read the following information carefully: 2025-08-01 00:15:03,618 - 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:15:03,618 - 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:15:03,618 - satellite_download_logger - INFO - --------------------------------------------------------------------------------------------------------------------- 2025-08-01 00:15:03,620 - satellite_download_logger - INFO - Extracting shorelines for L5 Minimum Shoreline Length: 500 2025-08-01 00:15:03,625 - satellite_download_logger - INFO - WARNING: CoastSat has hard-coded the value for the minimum shoreline length for L7 to 200 2025-08-01 00:15:03,625 - satellite_download_logger - INFO - Extracting shorelines for L7 Minimum Shoreline Length: 200 2025-08-01 00:15:03,626 - satellite_download_logger - INFO - Extracting shorelines for L8 Minimum Shoreline Length: 500 2025-08-01 00:15:03,640 - satellite_download_logger - INFO - L8 2025-06-22-22-12-43 cloud cover : 4.28% 2025-08-01 00:15:03,736 - satellite_download_logger - INFO - L8 2025-06-22-22-12-43: sand: 0.00% ,whitewater: 7.58% ,water: 42.01% 2025-08-01 00:15:03,737 - satellite_download_logger - INFO - L8 2025-06-22-22-12-43: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:15:03,738 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-08-01 00:15:03,738 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 126 2025-08-01 00:15:03,742 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 92 2025-08-01 00:15:03,742 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 92 2025-08-01 00:15:03,744 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 90 2025-08-01 00:15:04,138 - satellite_download_logger - INFO - L8 2025-07-15-22-19-01 cloud cover : 0.00% 2025-08-01 00:15:04,194 - satellite_download_logger - INFO - L8 2025-07-15-22-19-01: sand: 0.00% ,whitewater: 27.78% ,water: 20.03% 2025-08-01 00:15:04,195 - satellite_download_logger - INFO - L8 2025-07-15-22-19-01: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:15:04,199 - 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:15:04,200 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 156 2025-08-01 00:15:04,200 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 156 2025-08-01 00:15:04,200 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 156 2025-08-01 00:15:04,202 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 154 2025-08-01 00:15:04,666 - satellite_download_logger - INFO - Extracting shorelines for L9 Minimum Shoreline Length: 500 2025-08-01 00:15:04,690 - satellite_download_logger - INFO - L9 2025-06-21-22-18-50 cloud cover : 0.00% 2025-08-01 00:15:04,709 - satellite_download_logger - INFO - L9 2025-06-21-22-18-50: sand: 0.00% ,whitewater: 0.00% ,water: 6.30% 2025-08-01 00:15:04,710 - satellite_download_logger - INFO - L9 2025-06-21-22-18-50: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:15:04,712 - satellite_download_logger - ERROR - L9 2025-06-21-22-18-50: 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:15:04,718 - satellite_download_logger - INFO - L9 2025-06-30-22-12-43 cloud cover : 9.84% 2025-08-01 00:15:04,762 - satellite_download_logger - INFO - L9 2025-06-30-22-12-43: sand: 0.00% ,whitewater: 12.66% ,water: 30.56% 2025-08-01 00:15:04,763 - satellite_download_logger - INFO - L9 2025-06-30-22-12-43: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:15:04,765 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-08-01 00:15:04,765 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 118 2025-08-01 00:15:04,771 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 89 2025-08-01 00:15:04,771 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 89 2025-08-01 00:15:04,773 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 87 2025-08-01 00:15:05,075 - satellite_download_logger - INFO - L9 2025-07-07-22-18-55 cloud cover : 0.00% 2025-08-01 00:15:05,148 - satellite_download_logger - INFO - L9 2025-07-07-22-18-55: sand: 0.00% ,whitewater: 0.62% ,water: 49.95% 2025-08-01 00:15:05,149 - satellite_download_logger - INFO - L9 2025-07-07-22-18-55: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:15:05,150 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 2 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-08-01 00:15:05,150 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 174 2025-08-01 00:15:05,151 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 174 2025-08-01 00:15:05,151 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 174 2025-08-01 00:15:05,154 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 172 2025-08-01 00:15:05,481 - satellite_download_logger - INFO - L9 2025-07-23-22-19-03 cloud cover : 0.00% 2025-08-01 00:15:05,537 - satellite_download_logger - INFO - L9 2025-07-23-22-19-03: sand: 0.00% ,whitewater: 1.20% ,water: 50.11% 2025-08-01 00:15:05,537 - satellite_download_logger - INFO - L9 2025-07-23-22-19-03: Less than 50 sand pixels detected within reference shoreline buffer. Using find_wl_contours1 2025-08-01 00:15:05,539 - satellite_download_logger - INFO - Number of shorelines before removing shorelines < 500m: 1 shorelines. Number of shorelines after filtering shorelines: 1 shorelines 2025-08-01 00:15:05,539 - satellite_download_logger - INFO - Number of shoreline points before removing points within 300m of cloud mask 169 2025-08-01 00:15:05,539 - satellite_download_logger - INFO - Number of shoreline points after removing points within 300m of cloud mask 169 2025-08-01 00:15:05,539 - satellite_download_logger - INFO - Number of shoreline points before removing points within 30m of no data pixel 169 2025-08-01 00:15:05,543 - satellite_download_logger - INFO - Number of shoreline points after removing points within 30m of no data pixel 167