Introduction
The Climate Data Store (CDS) API is the service to allow users to request data from CDS datasets via a python script. These scripts use a number of keywords which vary from dataset to dataset, usually following the sections of the CDS download form.
As the CDS API cannot currently return the valid keyword list on demand, they are documented on this page for some of the most popular CDS datasets.
In the table below, we present the list of keywords (also referred to as CDS vocabulary) that can be used in these CDS API requests, along with example values for each valid keyword.
Please note that not all keywords can be used for all datasets.
The area selection is only available for the ERA5 family datasets and the Seasonal forecast datasets.
CORDEX, CMIP5 and UERRA datasets cannot be regridded.
Users are recommended to construct CDS API scripts by using the web interface of the relevant dataset to build a valid request and then using the 'Show API request' button to get the corresponding CDS API code.
Color legend
Keyword allowed | |
Keyword not allowed |
If a keyword which is not allowed is used, the resulting output file could be corrupted or incomplete or an error could occurred when running the script.
ERA5 family datasets
Datasets name | Keywords | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product type | variable | year | month | day | time | format** | grid* | area | pressure_level | Example script | |
ERA5 hourly data on single levels from 1979 to present:'reanalysis-era5-single-levels' | 'reanalysis' | 'total_precipitation' | '2019' | '01' | '01 | '00:00' | 'netcdf' | [1.0,1.0] | [N,W,S,E] | ||
ERA5 monthly averaged data on single levels from 1979 to present: 'reanalysis-era5-single-levels-monthly-means' | 'monthly_averaged_reanalysis' | 'total_precipitation' | '2019' | '01' | '00:00' | 'netcdf' | [1.0,1.0] | [N,W,S,E] | |||
ERA5 hourly data on pressure levels from 1979 to present: 'reanalysis-era5-pressure-levels' | 'reanalysis' | 'temperature' | '2019' | '01' | '01 | '00:00' | 'netcdf' | [1.0,1.0] | [N,W,S,E] | '850' | |
ERA5 monthly averaged data on pressure levels from 1979 to present: 'reanalysis-era5-pressure-levels-monthly-means' | 'monthly_averaged_reanalysis' | 'relative humidity' | '2019' | '01' | '00:00' | 'netcdf' | [1.0,1.0] | [N,W,S,E] | '850' | ||
ERA5-Land hourly data from 2001 to present: 'reanalysis-era5-land' | 'total_precipitation' | '2019' | '01' | '01 | '00:00' | 'netcdf' | [1.0,1.0] | [N,W,S,E] | |||
ERA5-Land monthly averaged data from 2001 to present: 'reanalysis-era5-land-monthly-means' | 'monthly_averaged_reanalysis' | 'total_precipitation' | '2019' | '01' | '00:00' | 'grib' | [1.0,1.0] | [N,W,S,E] |
* Latitude/longitude grid. Default: 0.25 x 0.25
** If 'netcdf' selected, the keyword 'grid' must be included.
Datasets name | Keywords | |||||||||||
class | date* | levelist* | levtype | param | stream | time | type | grid | area | format** | Example script | |
reanalysis-era5-complete: | 'ea' | '2020-01-01' | '1' | 'ml' | '155' | 'oper' | '00:00' | 'an' If 'fc' the keyword 'step' have to be added to the script. | [1.0,1.0] | [N,W,S,E] | 'grib' or 'netcdf' |
*The syntax '/to/' could be use for intervals.
** If 'netcdf' selected, the keyword 'grid' must be included.
Seasonal forecasts datasets
Datasets name | Keywords | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product type | variable | year | month | day | time | grid | area | pressure_level | originating_centre | system | leadtime_hour | leadtime_month | Example script | |
Seasonal forecast daily data on single levels from 2017 to present: 'seasonal-original-single-levels' |
| '2m_temperature' | '2019' | '10' | '01 | '00:00' | [1.0,1.0] | [N,W,S,E] | 'ukmo' | '142' | '6' | |||
Seasonal forecast anomalies on single levels from 2017 to present: 'seasonal-postprocessed-single-levels' | 'ensemble_mean' | '10m_u_component_of_wind_anomaly' | '2017' | '09' | [1.0,1.0] | [N,W,S,E] | 'ecmwf' | '4' | '1' | |||||
Seasonal forecast monthly statistics on single levels from 2017 to present: 'seasonal-monthly-single-levels' | 'monthly_mean' | '10m_u_component_of_wind' | '1993' | '09' | [1.0,1.0] | [N,W,S,E] | 'ecmwf' | '5' | '1' | |||||
Seasonal forecast daily data on pressure levels from 2017 to present: 'seasonal-original-pressure-levels' |
| 'v_component_of_wind' | '2018' | '4' | '01 | '00:00' | [1.0,1.0] | [N,W,S,E] | '10' | 'ukmo' | '12' | '12' | ||
Seasonal forecast anomalies on pressure levels from 2017 to present: 'seasonal-postprocessed-pressure-levels' | 'ensemble_mean' | 'geopotential_anomaly' | '2018' | '11' | [1.0,1.0] | [N,W,S,E] | '200' | 'cmcc' | '3' | '2' | ||||
Seasonal forecast monthly statistics on pressure levels from 2017 to present: 'seasonal-monthly-pressure-levels' | 'monthly_mean' | 'geopotential' | '2017' | '09' | [1.0,1.0] | [N,W,S,E] | '10' | 'meteo_france' | '5' | '2' |
UERRA datasets
Datasets name | Keywords | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
variable | year | month | day | time | format | pressure_level | height_level | soil_level | origin | Example script | |
UERRA regional reanalysis for Europe on single levels from 1961 to present: 'reanalysis-uerra-europe-single-levels' | 'total_precipitation' | '2018' | '12' | '30' | '06:00' | 'grib' | 'mescan_surfex' | ||||
UERRA regional reanalysis for Europe on height levels from 1961 to present: 'reanalysis-uerra-europe-height-levels' | 'pressure' | '1961' | '01' | '01' | '00:00' | 'grib' | '15_m' | ||||
UERRA regional reanalysis for Europe on pressure levels from 1961 to present: 'reanalysis-uerra-europe-pressure-levels' | 'geopotential' | '1967' | '10' | '07' | '00:00' | 'grib' | '10' | ||||
UERRA regional reanalysis for Europe on soil levels from 1961 to present: 'reanalysis-uerra-europe-soil-levels' | 'soil_temperature | '1968' | '08 | '02' | '06:00' | 'netcdf' | '2' | 'uerra_harmonie' |
Datasets name | Keywords | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
class | dataset | date | expver | levtype | origin | param | stream | time | type | target | Example script | |
Complete UERRA regional reanalysis for Europe from 1961 to present | 'ur' | 'uerra' | '2017-11-01/to/2017-11-30' | 'prod' | 'sfc' | 'eswi' | '260242' | 'oper' | '00:00:00' | 'an' | 'output.grib' |
260242 corresponds to 2 metre relative humidity. You can check the parameter ID from the Parameter Database.
CORDEX regional climate model dataset
Datasets name | Keywords | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
variable | start year | end year | format | experiment | ensemble_member | simulation_version | temporal_resolution | gcm_model | rcm_model | Example script | |
CORDEX regional climate model data on single levels for Europe: 'projections-cordex-single-levels' | 'mean_precipitation_flux' | '2006' | '2008' | 'zip' | 'evaluation' | 'r1i1p1' | 'v1' | 'daily_mean' | 'era_interim' | 'cclm4_8_17' |
CMIP5 climate projections datasets
Datasets name | Keywords | ||||||
---|---|---|---|---|---|---|---|
variable | format | experiment | ensemble_member | period | model | Example script | |
CMIP5 daily data on single levels: 'projections-cmip5-daily-single-levels' | '2m_temperature' | 'zip' | 'historical' | 'r1i1p1' | '19750101-19991231' | 'access1_3' | |
CMIP5 monthly data on single levels: 'projections-cmip5-monthly-single-levels' | '10m_wind_speed' | 'zip' | 'amip' | 'r1i1p1' | '197901-200812' | 'cnrm_cm5' | |
CMIP5 daily data on pressure levels: 'projections-cmip5-daily-pressure-levels' | 'u_component_of_wind' | 'zip' | 'historical' | 'r1i1p1' | '20050101-20051231' | 'access1_0' | |
CMIP5 monthly data on pressure levels: 'projections-cmip5-monthly-pressure-levels' | 'u_component_of_wind' | 'tgz' | 'rcp_2_6' | 'r3i1p1' | '200601-210012' | 'ipsl_cm5a_lr' |