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

method to convert CollectionMetadata to STAC json #344

Open
jdries opened this issue Nov 24, 2022 · 3 comments
Open

method to convert CollectionMetadata to STAC json #344

jdries opened this issue Nov 24, 2022 · 3 comments
Assignees

Comments

@jdries
Copy link
Collaborator

jdries commented Nov 24, 2022

Need to improve the as_dict method on CollectionMetadata to generate proper and complete STAC metadata.

@soxofaan
Copy link
Member

I'm not sure what you mean here, as CollectionMetadata in the client has no as_dict method.
And the class is basically just a wrapper around STAC(ish) metadata given to the constructor, with accessor methods and properties for common metadata items; it's not really a builder for metadata

@jdries
Copy link
Collaborator Author

jdries commented Nov 25, 2022

my bad, commits got lost, I now fixed it without requiring something in the client
But anyway: for tests but also for user logs, it would be convenient that we can export our metadata into a standardized format.
The most logical one being:
https://github.com/stac-extensions/datacube

@soxofaan
Copy link
Member

indeed, we could indeed crank up STAC support/compatibility in a couple of places. Also related:

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

No branches or pull requests

3 participants