Closed bossie closed 10 months ago
The root cause is a groupBy
in the implementation, losing all information about the order of the requested bands.
My guess is that the problem only manifests itself when the bands in the GEOMETRY assets are involved; maybe users don't request these very often.
Noticed this while going over
FileLayerProvider
code in the context of https://github.com/Open-EO/openeo-geopyspark-driver/issues/465.Even though the order of the bands differs, OpenEO will return the same result for both requests.
Example code:
The band logic in
FileLayerProvider
is, IMHO, hard to follow and makes it difficult to adapt it so this might be a good opportunity to revisit it and clean it up.