Hi,
I’m trying to download specific Sentinel-5P and Sentinel-3 SLSTR products using sentinelhub
.
I configured SHConfig to include sh_client_id
, sh_client_secret
, aws_access_key_id
and aws_secret_access_key
.
Using the relevant catalog, I’m able to retrieve the link from the Sentinel-3 file I want to download:
creodias_config = SHConfig()
creodias_config.sh_base_url = DataCollection.SENTINEL3_SLSTR.service_url
creodias_catalog = SentinelHubCatalog(config=creodias_config)
search_iterator = creodias_catalog.search(DataCollection.SENTINEL3_SLSTR,
time=time_interval,
bbox=BBox(bbox, crs=CRS.WGS84))
link = list(search_iterator)t0])"assets"]t"data"]t"href"]
_, _, bucket_name, url_key = link.split("/", 3)
s3_client = AwsDownloadClient.get_s3_client(creodias_config)
s3_client.download_file(bucket_name, url_key, "tmp")
However I’m getting the following error running the last line above:
ClientError: An error occurred (404) when calling the HeadObject operation: Not Found
Any tip on how to proceed from here would be greatly appreciated!