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

Decide how to serve collections #3

Open
sturoscy-personal opened this issue Sep 20, 2024 · 3 comments
Open

Decide how to serve collections #3

sturoscy-personal opened this issue Sep 20, 2024 · 3 comments
Assignees

Comments

@sturoscy-personal
Copy link
Collaborator

sturoscy-personal commented Sep 20, 2024

Collections are essentially projects and there won't be many of them initially. Possibly only CMIP6 and CMIP7. Right now, this repo stores them in schemas as json.

  • Must be STAC compliant
@sturoscy-personal sturoscy-personal added question Further information is requested and removed question Further information is requested labels Sep 20, 2024
@bstrdsmkr
Copy link

Just my 2 cents, the bridge API and other projects have settled around Pydantic for schema definitions so I'd prefer seeing these modeled there as well. It's probably worth extracting all those models into a separate reusable package as well

@sturoscy-personal
Copy link
Collaborator Author

@bstrdsmkr We're definitely looking into pydantic, but I did confirm with CEDA that they are serving collections via json.

@sturoscy-personal
Copy link
Collaborator Author

Another thing we need to check is whether or not to use upper or lower case on the collection name (cmip6 vs CMIP6). CEDA is using lowercase and we are using uppercase. I believe the uppercase is breaking the following STAC browser https://radiantearth.github.io/stac-browser/#/external/api.stac.esgf-west.org/collections/cmip6?.language=en while CEDA's is working https://radiantearth.github.io/stac-browser/#/external/api.stac.ceda.ac.uk/collections/cmip6?.language=en

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

2 participants