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

load_stac: error if /search endpoint unavailable? #443

Open
clausmichele opened this issue Jun 1, 2023 · 1 comment
Open

load_stac: error if /search endpoint unavailable? #443

clausmichele opened this issue Jun 1, 2023 · 1 comment
Labels
documentation help wanted Extra attention is needed patch
Milestone

Comments

@clausmichele
Copy link
Member

I'm trying to implement load_stac on the python side.

Should the linked catalog/collection/item have a /search endpoint, if we also provide spatial extent etc as parameters?

Maybe we could add an additional error if we provide a STAC item/collection that doesn’t have /search endpoint but we would like to filter with the given parameters?

@m-mohr
Copy link
Member

m-mohr commented Jun 1, 2023

Can be a search endpoint, but bbox and temporal extent could also be filtered for specific collections. GET /collections/{id}/items can support bbox and datetime parameters.

For static catalogs it is more difficult. Here the server must download all metadata files (e.g. via PySTAC) and filter itself. This probably only works good for smaller catalogs.

load_stac can be implemented iteratively. Start with the simplest (search?) and then evolve from there and throw an error regarding what is not supported.

PRs are welcome.

@m-mohr m-mohr added documentation and removed bug labels Jun 1, 2023
@m-mohr m-mohr added this to the 2.0.0 milestone Jun 1, 2023
@m-mohr m-mohr changed the title [load_stac]: error if /search endpoint unavailable? load_stac: error if /search endpoint unavailable? Jan 3, 2024
@m-mohr m-mohr added the help wanted Extra attention is needed label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation help wanted Extra attention is needed patch
Projects
None yet
Development

No branches or pull requests

2 participants