environmentaltools.download.query_esgf_catalog
- environmentaltools.download.query_esgf_catalog(query: Dict[str, str | List[str]], indices: List[str] | None = None, **kwargs) DataFrame[source]
Query ESGF catalog with automatic fallback for CORDEX projects.
Uses intake-esgf for supported projects, falls back to PyESGF for CORDEX.
- Parameters:
query – Dictionary of query parameters
indices – List of ESGF indices to search
**kwargs – Additional arguments
- Returns:
DataFrame containing metadata for matching datasets
- Return type:
pd.DataFrame
- Raises:
ImportError – If neither intake-esgf nor PyESGF is available