Open-EO / openeo-processes

Interoperable processes for openEO's big Earth observation cloud processing.
https://processes.openeo.org
Apache License 2.0
49 stars 15 forks source link

load_stac: error if /search endpoint unavailable? #443

Open clausmichele opened 1 year ago

clausmichele commented 1 year ago

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 commented 1 year ago

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.