Open-EO / openeo-python-client

Python client API for OpenEO
https://open-eo.github.io/openeo-python-client/
Apache License 2.0
151 stars 40 forks source link

Support unordered band collection in BandDimension #575

Open soxofaan opened 3 months ago

soxofaan commented 3 months ago

In some situations (e.g. load_stac usage with certain STAC resources), the band names of the STAC resource can be extracted, but not their order (because of mappings instead of arrays in the STAC metadata).

Currently, an arbitrary order is enforced client side by blindly casting the bands in BandDimension to be a list, but we should not do that and allow it to be just a unordered set to avoid wrong assumptions