-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update STAC Metadata with Proposal #77
base: main
Are you sure you want to change the base?
Conversation
@andresfchamorro; I added a collection based on recommendations from some STAC folks internally. They also recommended I test it out with the pystac client:
Works as expected, and |
Created a file with the total population sum (total, m, f): |
thanks @zacharyDez! I really like this structure, specially how the content from sources can be managed at the item level. I'm ok with adding a collection level too. One thing I'm missing is what is the current approach to build the stac files. I see some tests were added but is there a function that would help to create the json files from scratch? I was using a notebook which was a bit janky but at least it could be re-run as the dataset expands. |
@andresfchamorro ; I could help migrate your workflow to python scripts that could be unittested. |
What I Changed
space2stats_population_2020
dataset, representing population data in H3 hexagons.sci:citation
attribute to the item properties. We also leave room for future inclusion ofsci:doi
andsci:publications
when applicable.themes: ["Demographics", "Population"]
.catalog.json
to link to the new STAC item, creating a 1:N relationship between the catalog and items, where each item corresponds to a specific data source.sources.json
into each STAC item for a more streamlined and centralized structure.How to Test It
How I Changed it
Structure
sources.json
is now directly embedded within each item, making each item self-contained and easier to manage.Scientific Extension
sci:citation
to the item properties. In future updates, we can introduce additional scientific metadata fields such assci:doi
andsci:publications
if relevant to the datasets.Themes Extension and Future Considerations