-
Notifications
You must be signed in to change notification settings - Fork 30
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
to_stac
for creating STAC catalog from HydroMT catalog
#405
Comments
I don't remember discussing this option, but that would be interesting addition as well especially to use a STAC browsers to search the data. The first step to do this would be to identify the minimum required information for a STAC catalog entry and see if that is compatible with the HydroMT data catalog and/or whether we can get this from the data itself. Also, to my mind this functionality would fit better in a @Jaapel Is that also what you had in mind? If so, could you point us to a description of STAC which lists the minimal required fields. And if you see more use cases could you add these to the description. |
Ok I thought we discussed both the STAC -> HydroMT catalog and HydroMT catalog -> STAC approaches. This one is about the latter. About the spec of STAC: https://stacspec.org/en/about/stac-spec/ |
from_yaml
for creating STAC catalog from HydroMT catalog to_stac
for creating STAC catalog from HydroMT catalog
So I've looked into this and the stac spec requies that you describe spatial and temporal bounds for stac items which I'm not sure we have for all stuff that's in hydromt. Perhaps this is a good thing to add into hydromt as well, but that will require more work. However, this could also go well together with the work of #356 Otherwise I'm not sure this is possible or at least feasable without that, so we might have to reject this after all. @hboisgon @DirkEilander what do you think? |
Those would indeed be nice attributes to add. However it would strictly speaking not be necessary if we are ok with inferring this information from the datasets when creating the stac items. I propose to add the attributes to the current data catalog specs and make a method that can infer these from the data. |
Don't forget that STAC enabled extensions: https://github.com/radiantearth/stac-spec/tree/master/extensions#overview |
My other issues are blocked, so I'm picking this up next. |
Kind of request
Adding new functionality
Enhancement Description
I want to share my HydroMT catalog with STAC users.
This can either be performed by making a HydroMT catalog readable with STAC APIS, however, this would complicate HydroMT users.
Instead, if I can create a STAC catalog using some HydroMT python function (and perhaps a CLI option?), I can easily create and update my STAC catalog using a HydroMT catalog.
About STAC spec: https://stacspec.org/en/about/stac-spec/
Use case
I have a HydroMT catalog that should be readable via STAC.
Additional Context
No response
The text was updated successfully, but these errors were encountered: