Open-EO / openeo-earthengine-driver

openEO back-end driver for Google Earth Engine.
Apache License 2.0
21 stars 7 forks source link

Better error message when array is accessed in apply #63

Closed m-mohr closed 2 months ago

m-mohr commented 3 years ago

Originates from https://github.com/Open-EO/openeo-r-client/issues/53#issuecomment-713459388:

When array access is done in apply (not allowed), then GEE gives the following error message:

SERVER-ERROR: Server error: Dimension 'undefined' does not exist.

That is not ideal and should be improved nevertheless to return something like:

x is not an array