Closed soxofaan closed 2 months ago
cc @llanduyt
reason is that aggregate_spatial
does not set metadata
so merge_cubes does not know what band names to add
workaround is to manually define the band dimension metadata on avg_vec
, before using it further, e.g. very crudely
avg_vec.metadata = openeo.metadata.CubeMetadata(
dimensions=[
input.metadata.band_dimension
]
)
fixed by 2bac71979d0fdef87c959fdc2f32f78be5005759
user has something like this (very simplified):
the last step fails with
while client should be able to figure out that the available band names for
merged
are "B02" and "B02_avg"