Introduction
The data access to TIGGE and S2S is now being migrated from Web-API to CDS-API. For more information about the timelines, please consult the dedicated page Decommissioning of ECMWF Public Datasets service. |
Purpose of this page is to describe the current and future access tools to TIGGE and S2S datasets.
Overview of current and future tools
| current | new | |
|---|---|---|
| data retrieval |
|
|
| data discovery | dedicated ECMWF data portals * | dedicated ECDS portals
dedicated MARS catalogues (option to ECDS forms) |
| data history | the same as before | |
| main web portal | the same as before |
* these tools will be still available in parallel with the new ECDS discovery tools
**direct access to MARS is not publicly available
Data access
For data discovery (understanding which data is available) and generation of sample retrieval codes, the dedicated web portals are available (see table in the Overview section above).
For programmatic bigger data retrievals, the python CDS-API or direct access to MARS should be used (the direct access to MARS is not publicly available).
Data discovery
Newly, to browse the available data, there are dedicated MARS catalogues available:
The previous ECMWF web data portals are still available too:
In case of S2S, new dedicated discovery forms replacing the older ECMWF web portals are available directly in the ECDS:
- forecasts: https://ecds.ecmwf.int/datasets/s2s-forecasts?tab=download
- reforecasts: https://ecds.ecmwf.int/datasets/s2s-reforecasts?tab=download
Data retrievals
Up to now, there have been 2 options how to access programmatically S2S or TIGGE data:
- direct MARS access (custome language)
- Web-API (Python)
The required data specification is the same in both options.
In the ECDS, those options are analogical:
- direct MARS access (custome language)
- CDS-API (Python)
The standard CDS-API data specification is virtualy the same as the current Web-API, only the Python modules, methods and functions differ.
Registration
All users must register with ECDS to get the access to its datasets using CDS-API. The user tokens (API keys) can be used to access any dataset across all data stores run by ECMWF (CDS, ADS, EWDS, ECDS).
Users are asked to pay attention to state correctly details about Affiliation, Thematic activities and Activity sectors during the registration as that information helps to understand users needs and interests, which can trigger future changes of TIGGE or S2S datasets.
Examples of the older (Web-API) and new (CDS-API) retrieval requests
| example | MARS language | Web-API | CDS-API |
|---|---|---|---|
| request | | | |
| 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> |
Alternatively the url and token can be part of the Python client definition: client = cdsapi.Client(url="https://ecds.ecmwf.int/api", key="<personal token>") |