Open-EO / openeo-python-driver

Common parts of a Python driver implementation for OpenEO
Apache License 2.0
11 stars 5 forks source link

wrong dimension name for collection CGS_SENTINEL2_RADIOMETRY_V102_001 ? #25

Closed lforesta closed 4 years ago

lforesta commented 4 years ago

I am trying the evi process graph using this collection: CGS_SENTINEL2_RADIOMETRY_V102_001, which should have dimension "bands" according to its metadata.

However when trying to reduce over "dimension": "bands" (or "spectral" or anything else), I get the following error:

{"message":"'list' object has no attribute 'reduce'"}

By running the phenology example and checking the pg produced, I saw that the correct value is "dimension": "spectral_bands". Specifying that fixes the issue, but without the working example one would not know.

I'm aware that generally a user is not supposed to build the pg by hand, still it should be possible to do that. Did I miss this info anywhere in the metadata?

I can provide a full pg for testing if needed.

soxofaan commented 4 years ago

should be fixed by e6787860a93