Open-EO / openeo-api

The openEO API specification
http://api.openeo.org
Apache License 2.0
91 stars 11 forks source link

Constraints for band names? #530

Closed soxofaan closed 5 months ago

soxofaan commented 7 months ago

We recently had some issues related to band names. E.g. a user that (accidentally) (re)named bands to something like

"Band(name='NDVI', common_name=None, wavelength_um=None, aliases=None, gsd=None)"

so band name is full of parenthesis, equal signs, spaces, etc.

We were wondering if there any constraints for band names in the openEO spec or STAC specs? I couldn't really find any so far, so does that mean that all kinds of "special" characters, whitespace, newlines, unicode/emoji stuff is allowed in band names?

soxofaan commented 7 months ago

cc @JeroenVerstraelen @EmileSonneveld

m-mohr commented 6 months ago

Band names (and all other dimension labels), are unrestricted, indeed. Both in openEO and STAC. The example looks more like a client issue to me though?

soxofaan commented 5 months ago

ok thanks for confirming

The example looks more like a client issue to me though?

More like a accidental user error, nothing much the client could have done. (Unless there were band name constraints the client could enforce)