...
Note |
---|
Please make sure that you select all the mandatory fields before submit a request. |
This is shown in the following figures:
...
2) The CDS API is a service providing programmatic access to CDS data in Python (using the CDS API client). CDS API example queries can be conveniently constructed by using the CDS web interface Users need to have a CDS account to use it with the related CDS API key. For a full description and some useful examples, please see How to use the CDS API.
If users have more than one CDS API key and therefore have to pass credentials in explicitly, the following method can be used:
Code Block | ||
---|---|---|
| ||
import cdsapi
import yaml
with open('/path/to/ads/cdsapirc', 'r') as f:
credentials = yaml.safe_load(f)
c = cdsapi.Client(url=credentials['url'], key=credentials['key'])
c.retrieve("dataset-short-name",
{... sub-selection request ...},
"target-file") |
We strongly suggest to construct CDS API requests by using the web interface of the relevant dataset and using the 'Show API request' button to get the code.
Note |
---|
For the most common CDS API |
Note |
For the most common issues, please see Common Error Messages for CDS Requests. |
3) The CDS Toolbox is a set of software which enables users to develop custom-made applications via an on-line interface (Figure 3). The applications can make use of the content of the CDS to analyse, monitor and predict the evolution of both climate drivers and impacts. The CDS Toolbox is a catalogue of software that can be classified as:
...
A new Toolbox forum is also available for user to find answers and share knowledge.
Figure 3 CDS Toolbox.
...