diff --git a/scripts/preview_images_for_dates.py b/scripts/preview_images_for_dates.py index 801dbbfa..e2401eab 100644 --- a/scripts/preview_images_for_dates.py +++ b/scripts/preview_images_for_dates.py @@ -315,7 +315,7 @@ def main(): # Check if EE was initialized or not try: - ee.ImageCollection("LANDSAT/LT05/C01/T1_TOA") + ee.ImageCollection("LANDSAT/LC08/C02/T1_TOA") except: ee.Initialize() diff --git a/src/coastseg/common.py b/src/coastseg/common.py index 552f6cb7..18d7f07f 100644 --- a/src/coastseg/common.py +++ b/src/coastseg/common.py @@ -1488,15 +1488,6 @@ def get_filtered_files_dict(directory: str, file_type: str, sitename: str) -> di ) continue - # satname_parts = parts[-1].split(".") - - # if len(satname_parts) < 2: - # logging.warning( - # f"Skipping file with unexpected name format: {old_filename}" - # ) - # continue - - # satname = satname_parts[0] tif_filename = f"{date}_{satname}_{sitename}_ms.tif" if satname in satellites: diff --git a/src/coastseg/downloads.py b/src/coastseg/downloads.py index 5d224a6b..5a1406a0 100644 --- a/src/coastseg/downloads.py +++ b/src/coastseg/downloads.py @@ -169,7 +169,7 @@ def count_images_in_ee_collection( # Check if EE was initialized or not try: - ee.ImageCollection("LANDSAT/LT05/C01/T1_TOA") + ee.ImageCollection("LANDSAT/LC08/C02/T1_TOA") except: ee.Initialize()