Copernicus Cds
v0.2.1The Copernicus Climate Data Store (C3S/ECMWF) catalogue — browse or search the ~140 published…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cds_collections
List or keyword-search the Copernicus Climate Data Store catalogue — the ~140 published climate datasets (ERA5 reanalysis, CMIP6/CORDEX projections, satellite ECVs, seasonal forecasts, in-situ networks). Returns each collection id (pass it to cds_collection or cds_submit_request), title, and the temporal/spatial extent it covers. Keyless. AUTHORITATIVE for "which Copernicus/C3S dataset covers X" — the catalogue itself, not a description of it.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max collections to return (1-200, default 25). |
offset | number | Skip this many matches (default 0). |
query | string | Optional keyword filter, matched against collection id, title and description (e.g. "sea ice", "ERA5", "wildfire"). Omit to list everything. |
cds_collection
Full detail for ONE Copernicus Climate Data Store collection by id (e.g. "reanalysis-era5-single-levels"). Returns the STAC record — title, abstract, keywords, licence, temporal and bounding-box extent, documentation links — AND the request form: the variables, years, months, pressure levels, area and output formats the retrieval job will accept. Keyless. Call this before cds_submit_request to learn what the dataset actually accepts.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | Collection id from cds_collections, e.g. "reanalysis-era5-single-levels". |
include_form | boolean | Include the retrieval request form (the accepted inputs). Default true. |
cds_submit_request
Submit a data-retrieval job to the Copernicus Climate Data Store and return the job id and status. Requires your own free CDS Personal Access Token, passed as _apiKey. Use cds_collection first to learn the accepted inputs; CDS jobs are asynchronous — this returns immediately with a job id. Poll it with cds_job_status (same _apiKey) until it reads "successful", then collect the download link with cds_job_result.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Your own Copernicus CDS Personal Access Token (BYO). Get one free at cds.climate.copernicus.eu: create an ECMWF account, accept the dataset licences, then copy the Personal Access Token from your prof… |
collection_id * | string | Collection id to retrieve from, e.g. "reanalysis-era5-single-levels". |
inputs * | object | The request body inputs, exactly as the collection form declares them, e.g. {"variable":["2m_temperature"],"year":["2024"],"month":["01"],"day":["01"],"time":["12:00"],"data_format":"netcdf"}. |
cds_job_status
Check a Copernicus Climate Data Store retrieval job submitted with cds_submit_request. Returns its status (accepted, running, successful, failed or dismissed), timestamps and ready (true only when the data can be collected). Unknown or other-account job id returns found:false. Poll until ready is true, then call cds_job_result. Requires the same _apiKey (your own CDS Personal Access Token) that submitted the job.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Your own Copernicus CDS Personal Access Token (BYO), the one that submitted the job. Get one free at cds.climate.copernicus.eu: create an ECMWF account, accept the dataset licences, then copy the Pers… |
job_id * | string | The job id returned by cds_submit_request (job.jobID). |
cds_job_result
Collect the output of a Copernicus Climate Data Store retrieval job: when the job is successful returns the download URL (href) with file type, size in bytes and expiry where the service states them. If the job is not finished it does NOT return an empty result: it returns ready:false with the current status and tells you to poll cds_job_status. A failed job returns its failure reason. Unknown job id returns found:false. Requires the same _apiKey that submitted the job.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | Your own Copernicus CDS Personal Access Token (BYO), the one that submitted the job. Get one free at cds.climate.copernicus.eu: create an ECMWF account, accept the dataset licences, then copy the Pers… |
job_id * | string | The job id returned by cds_submit_request (job.jobID). |