Page info |
---|
infoType | Modified date |
---|
prefix | Last modified on |
---|
type | Flat |
---|
|
Note |
---|
Please be aware that the following page is relevant for the CDS API package of the current CDS system. Although some of the functionalities are common to the new CDS-Beta system we invite you to read the following page for information on some of the changes: Please read: CDS and ADS migrating to new infrastructure: Common Data Store (CDS) Engine |
Info |
---|
icon | false |
---|
title | Table of Contents |
---|
|
|
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.
...
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' |
Code Block |
---|
| import cdsapi
c = cdsapi.Client()
c.retrieve(
'projections-cmip5-daily-single-levels',
{
'ensemble_member': 'r1i1p1',
'format': 'zip',
'experiment': 'historical',
'variable': '2m_temperature',
'model': 'access1_3',
'period': '19750101-19991231',
},
'download.zip') |
|
CMIP5 monthly data on single levels: 'projections-cmip5-monthly-single-levels' | '10m_wind_speed' | 'zip' | 'amip' | 'r1i1p1' | '197901-200812' | 'cnrm_cm5' |
Code Block |
---|
| import cdsapi
c = cdsapi.Client()
c.retrieve(
'projections-cmip5-monthly-single-levels',
{
'ensemble_member': 'r1i1p1',
'format': 'zip',
'experiment': 'amip',
'variable': '10m_wind_speed',
'model': 'cnrm_cm5',
'period': '197901-200812',
},
'download.zip') |
|
CMIP5 daily data on pressure levels: 'projections-cmip5-daily-pressure-levels' | 'u_component_of_wind' | 'zip' | 'historical' | 'r1i1p1' | '20050101-20051231' | 'access1_0' |
Code Block |
---|
| import cdsapi
c = cdsapi.Client()
c.retrieve(
'projections-cmip5-daily-pressure-levels',
{
'ensemble_member': 'r1i1p1',
'format': 'zip',
'experiment': 'historical',
'variable': 'u_component_of_wind',
'model': 'access1_0',
'period': '20050101-20051231',
},
'download.zip') |
|
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' |
Code Block |
---|
| import cdsapi
c = cdsapi.Client()
c.retrieve(
'projections-cmip5-monthly-pressure-levels',
{
'ensemble_member': 'r3i1p1',
'format': 'tgz',
'experiment': 'rcp_2_6',
'variable': 'u_component_of_wind',
'model': 'ipsl_cm5a_lr',
'period': '200601-210012',
},
'download.tar.gz') |
|
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | CKB |
---|
showSpace | false |
---|
sort | title |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("cds","cds-api") and type = "page" and space = "CKB" |
---|
labels | data C3S cams |
---|
|