This is not-standard usage outside of the openEO processes spec. So if we want to promote usage of this feature we should also take the initiative to push this in the aggregate_spatial spec
when using array-to-array reducer with aggregate_spatial on a cube with multiple bands, the aggregations for all bands are flattened in a single band(?) dimension. See example below: 2 input bands with (mean, median, count) aggregation gives a band dimension with 6 "bands". It's undocumented for the user how to handle that. Also, aggregate_spatial has also a target_dimension parameter which could play a role here. This also important to take into account when we want to port aggregate_spatial to proper vector cubes
From https://discuss.eodc.eu/t/how-to-use-quantiles-on-a-2d-data-cube-x-y/703 I learned that the VITO backend supports array-to-array reducers in
aggregate_spatial
for example as documented at https://open-eo.github.io/openeo-python-client/basics.html#computing-multiple-statisticsSome issues
aggregate_spatial
specaggregate_spatial
has also atarget_dimension
parameter which could play a role here. This also important to take into account when we want to port aggregate_spatial to proper vector cubesresults in something like