metadata is None after `aggregate_spatial`
After applying aggregate_spatial to a Rastercube, the resulting Vectorcube does not contain any metadata anymore.
This is not as straightforward as hoped, as some vector cubes details are not settled yet. But maybe there are some quick wins already possible without having to over-engineer a general solution, so:
what do you want to use the metadata for? Any particular fields, e.g. you just want the band names?
Yes, having the band names would be the most important.
related to https://github.com/Open-EO/openeo-python-client/issues/464 https://github.com/Open-EO/openeo-python-client/issues/425 https://github.com/Open-EO/openeo-python-client/issues/527
I would say aggregate_spatial preserves band names when going from raster to vector, so can we just copy that part of the metadata? Maybe @VincentVerelst can prepare a PR for that?