DKRZ Documentation

Data Endpoints — STAC Indexed

The DKRZ data services portfolio and related community services, fetched live from the STAC service registry.

How to work with STAC

STAC APIs and catalogs can be explored interactively in the browser, but they are also easy to query programmatically. For example, you can use pystac-client in Python to open an API and search within a specific collection:

from pystac_client import Client

api_url = "https://search.east.esgf.io"
client = Client.open(api_url)

# 1. Search explicitly for items in this collection
search = client.search(collections=["CORDEX-CMIP6"])

# 2. Check the total count directly from the server
print("Total matched items:", search.matched())

# 3. Fetch all items into a non-empty pystac.ItemCollection / list
item_collection = search.item_collection()
Loading registry…