Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata is None after aggregate_spatial #516

Open
VincentVerelst opened this issue Dec 14, 2023 · 4 comments
Open

metadata is None after aggregate_spatial #516

VincentVerelst opened this issue Dec 14, 2023 · 4 comments
Labels

Comments

@VincentVerelst
Copy link
Collaborator

After applying aggregate_spatial to a Rastercube, the resulting Vectorcube does not contain any metadata anymore.

@soxofaan
Copy link
Member

soxofaan commented Jan 9, 2024

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?

@VincentVerelst
Copy link
Collaborator Author

Yes, having the band names would be the most important.

@soxofaan soxofaan added the bug label Jan 15, 2024
@soxofaan
Copy link
Member

related to #464 #425 #527

@jdries
Copy link
Collaborator

jdries commented Jan 16, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants