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

SENTINEL2_L2A query fails with 400 InvalidParameterValue from OSCARS #277

Open
bossie opened this issue Nov 28, 2022 · 0 comments
Open

SENTINEL2_L2A query fails with 400 InvalidParameterValue from OSCARS #277

bossie opened this issue Nov 28, 2022 · 0 comments

Comments

@bossie
Copy link
Collaborator

bossie commented Nov 28, 2022

Bumped into this when taking a request originally targeting openeo-dev.creo.vito.be to openeo.vito.be (SENTINEL2_L2A is a single collection on Creo but a combination on Terrascope).

Specific collections TERRASCOPE_S2_TOC_V2 and SENTINEL2_L2A_SENTINELHUB do work.

connection = openeo.connect("https://openeo.vito.be").authenticate_oidc()

data_cube = (connection.load_collection("SENTINEL2_L2A", bands=["B08", "B04", "B02", "SCL"])
             .filter_temporal(["2019-09-21", "2019-09-21"])
             .filter_bbox(west=471275.3098352262, south=5657503.248379398, east=492660.20213888795, north=5674436.759279663, crs="EPSG:32631"))

data_cube.download("/tmp/test.tif")

Error:

E openeo.rest.OpenEoApiError: [500] Internal: Server error: HTTPError('400 Client Error: for url: https://services.terrascope.be/catalogue/products?collection=urn%3Aeop%3AVITO%3ATERRASCOPE_S2_TOC_V2&bbox=471275.3098352262%2C5657503.248379398%2C492660.20213888795%2C5674436.759279663&sortKeys=title&startIndex=1&start=2019-09-21T00%3A00%3A00&end=2019-09-21T23%3A59%3A59.999999&cloudCover=%5B0%2C100.0%5D') (ref: r-08076aa6238544ba8af1eb605fe860f0)

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

1 participant