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

[BUG] Sentinel-3 data download fails with creodias.sentinel-hub.com endpoint #557

Open
AdrienWehrle opened this issue Feb 12, 2025 · 3 comments
Labels

Comments

@AdrienWehrle
Copy link

Hi,

I get a hanging download when using the SENTINEL3_OLCI collection. That made me think of the recent deprecation warning and I realized that this collection is indeed pointing to creodias.sentinel-hub.com.

So within earthspy and as suggested in the post above, I changed the endpoint from creodias.sentinel-hub.com to sh.dataspace.copernicus.eu but now I get:

DownloadFailedException: Failed to download from:
https://sh.dataspace.copernicus.eu/api/v1/catalog/1.0.0/search
with HTTPError:
401 Client Error: Unauthorized for url: https://sh.dataspace.copernicus.eu/api/v1/catalog/1.0.0/search
Server response: "{"code": 401, "description": "You are not authorized! Please provide a valid access token within the header [Authorization: Bearer <accessToken>] of your request."}"

Which feels like I'd need an extra token now, on top of the Sentinelhub one?

If it's indeed due to the deprecation, I feel like this should be handled by sentinelhub-py rather than packages relying on it like earthspy? If this is actually not the problem, I'm still wondering if the deprecation will affect sentinelhub-py and if there's a plan to handle it?

I'm running sentinelhub 3.10.0 (which is quite old, but I can't really see recent updates that could help with my issue though) on Ubuntu 24.04.01.

Thank you a lot in advance! :)

@zigaLuksic
Copy link
Collaborator

Hi @AdrienWehrle

did you try configuring the authentication for the Copernicus Data Space Ecosystem

There are also some other slight changes in use, you can follow these examples

@AdrienWehrle
Copy link
Author

Thank you for this! Their OAuth client generator is down for now it seems, but hopefully I'll be able to get one soon.

Does this mean users willing to download SENTINEL3_OLCI now need both SentinelHub credentials and a dataspace token?

@zigaLuksic
Copy link
Collaborator

After Creodias is deprecated, Sentinel Hub will no longer provide access to Sentinel 3 data (see here)

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

No branches or pull requests

2 participants