earthdaily.earthdatastore.post_query_items
- earthdaily.earthdatastore.post_query_items(items, query)[source]
Apply a query filter to items fetched from a STAC catalog and return an ItemCollection.
- Parameters:
items (list[any]) – List of STAC items to filter.
query (dict[str, dict[str, any]]) – Query filter with operations to apply to item properties.
- Returns:
Filtered collection of items matching the query.
- Return type:
ItemCollection
Examples
>>> query = { ... 'eo:cloud_cover': {'lt': [10], 'gt': [0]}, ... 'datetime': {'eq': '2023-01-01'} ... } >>> filtered_items = post_query_items(catalog_items, query)