...
- The current access method WEB-API will be changed to the analogical CDS-API.
- For more details about the migration schedule, visit Decommissioning of ECMWF Public Datasets Service
- Purpose of this page is to describe the current and future access tools to both datasets.
The current TIGGE and S2S users can easily adapt their retrieval requests following the new CDS-API, MARS like, syntax (see in the table below with the examples).
All users are encouraged to try the new, ECDS dedicated, version of the retrieval requests, which some may find more user friendly (see new CDS-API ("beautified") example).
|
Overview of current and future tools
| current | new | |
|---|---|---|
| data retrieval |
|
|
| data discovery | dedicated web portals * | 1) dedicated ECDS portal
2) dedicated MARS catalogues |
| data history | the same as before | |
| main web portal | the same as before |
* these tools will be discontinued
...
The example of dictionary used to translate MARS like to CDS beautified requests for S2S dataset is s2s.commonecds-tigge.yaml
Registration
All users must register with ECDS to get the access to datasets using CDS-API. Although the new ECDS portal shares similar infrastructure as the Copernicus Climate Data Store, the existing user tokens (API keys) cannot be reused in ECDS.
...
Examples of the current and future retrieval requests
| example | MARS language | current WEB-API | new CDS-API (MARS like) | new CDS-API ("beautified" - generated by ECDS) * |
|---|---|---|---|---|
| request | | | | #!/usr/bin/env python |
| API key | Direct access to MARS database needed (not publicly available) | --> cat ~/.ecmwfapirc
{
"url" : "https://api.ecmwf.int/v1",
"key" : "<personal token>",
"email" : "<personal email>"
} | --> cat $HOME/.cdsapirc
url: https://ecds.ecmwf.int/api
key: <personal token>
| --> cat $HOME/.cdsapirc
url: https://ecds.ecmwf.int/api
key: <personal token> |
Alternatively the url and token can be part of the Python client definition: client = cdsapi.Client(url="https://ecds.ecmwf.int/api", | Alternatively the url and token can be part of the Python client definition: client = cdsapi.Client(url="https://ecds.ecmwf.int/api", |
(*) The example of dictionary used to translate MARS like to CDS beautified requests for S2S dataset is s2s.commonTIGGE dataset is ecds-tigge.yaml