Hello,
i’m trying to get dates of available landsat 8/9 images (level 2-atmospherically corrected).
I have used this function:
def get_dates(time_interval,bbox,collection):
catalog = SentinelHubCatalog(config=config)
tiles = list(catalog.search(
collection=collection,
time=time_interval,
bbox=bbox
))
dates = =parse_time(t('properties']''datetime']) for t in tiles]
return dates
lan8_dates=get_dates(time_interval,bbox,DataCollection.LANDSAT_OT_L2)
But I get this message:
DownloadFailedException: Failed to download from:
https://services…
with HTTPError:
404 Client Error: Not Found for url: …
Server response: “{“code”:404,“description”:“Collection not found.”}”
I’m not sure what cause this error. I can see that this function works when I use sentinel 2 but not landsat, but I don’t know what is the reason.
My end goal is to get the dates availability of Landsat 8/9