Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Products not found #30

Open
adelenelai opened this issue Jul 8, 2024 · 3 comments
Open

Products not found #30

adelenelai opened this issue Jul 8, 2024 · 3 comments

Comments

@adelenelai
Copy link

Hello, there's a problem during download as some products are not found on sentinelhub e.g., for S2A_MSIL2A_20190619T103031_N0500_R108_T32TLS_20230805T044707

File "/usr/local/lib/python3.11/dist-packages/sentinelhub/download/handlers.py", line 46, in new_download_func
[2024-07-05, 08:57:04 UTC] {{task_log_fetcher.py:63}} INFO - [2024-07-05 08:56:55,142]     raise DownloadFailedException(
[2024-07-05, 08:57:04 UTC] {{task_log_fetcher.py:63}} INFO - [2024-07-05 08:56:55,142] sentinelhub.exceptions.DownloadFailedException: Failed to download from:
[2024-07-05, 08:57:04 UTC] {{task_log_fetcher.py:63}} INFO - [2024-07-05 08:56:55,142] https://roda.sentinel-hub.com/sentinel-s2-l2a/products/2019/6/19/S2A_MSIL2A_20190619T103031_N0500_R108_T32TLS_20230805T044707/productInfo.json
[2024-07-05, 08:57:04 UTC] {{task_log_fetcher.py:63}} INFO - [2024-07-05 08:56:55,142] with HTTPError:
[2024-07-05, 08:57:04 UTC] {{task_log_fetcher.py:63}} INFO - [2024-07-05 08:56:55,142] 404 Client Error: Not Found for url: https://roda.sentinel-hub.com/sentinel-s2-l2a/products/2019/6/19/S2A_MSIL2A_20190619T103031_N0500_R108_T32TLS_20230805T044707/productInfo.json
[2024-07-05, 08:57:04 UTC] {{task_log_fetcher.py:63}} INFO - [2024-07-05 08:56:55,142] Server response: ""

Is there a workaround for this?

@indrek-sunter
Copy link
Contributor

Hello,

A workaround might be to use other data platforms for the products. However, the data formats might vary across the platforms. KappaMask expects the .SAFE format.

It seems that the product is present on Copernicus Browser and can be downloaded in the .SAFE format from there. I have not looked into their API yet, but it should be possible to implement the download of products from the Copernicus Dataspace.

@adelenelai
Copy link
Author

thanks a lot

@indrek-sunter
Copy link
Contributor

I think this workaround would be outside the scope of the KappaMask base image though. You could implement it as an additional script in a derived Docker image. I hope this is alright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants