Accessing CCMEO STAC API¶
Examples on how to use python libraries to discover the collections from the CCMEO datacube STAC API.
Using pystac-client¶
The developers of the pystac-client library provide multiple examples for interacting with STAC API. Please refer to those and consult the pystac-client documentation for additional information.
For certificate error while accessing the STAC API, see using custom certificate documentation
List collections¶
In this example you will learn how to query a STAC API with pystac-client to get the available collections
List items¶
In this example you will learn how to :
- Query a STAC API with pystac-client with a portion of filter;
- Access the data href for the specific filter.
Info
This specific example uses the collection hrdem-mosaic-2m from CCMEO's datacube
For more details on search parameters available with pystac-client, see items search documentation.