- Created by Baudouin Raoult, last modified by XCristian XSimarro2 on Apr 28, 2015
WARNING: This page has been moved to Access ECMWF Public Datasets.
The ECMWF Public Datasets Service is being decommissioned and access to most datasets closed on 1 June 2023. In a final step later this year, access to the remaining multi-model datasets S2S and TIGGE will be migrated to a different system. For more information and possible alternatives, please consult the dedicated page on Decommissioning of ECMWF Public Datasets service.
This service will allow you to access the ECMWF public datasets . You will need to have an account on ECMWF web site. If you don't have an account, please self register here.
The procedure is very simple: the user writes a request, submits it and retrieves a file (grib or netcdf format) including the requested data.
This method allows users to download ECMWF public datasets in a programmatic way.
You can also try visiting https://api.ecmwf.int/v1/key/ to retrieve your credentials.
Note that the key expires in 1 year. You will receive an email to the registered email address 1 month before the expiration date with the renewal instructions.
The ecmwf-api-client library was added to the Python Package Index (PYPI):
Install via pip with:
pip install ecmwf-api-client
If you do not have admin privileges you can always install the client in your user space:
pip install --user ecmwf-api-client
Alternatively, if you have Anaconda installed you can install the Web API Python client library doing:
conda install -c conda-forge ecmwf-api-client
If you have Anaconda installed you can install the Web API Python client library doing:
conda install -c conda-forge ecmwf-api-client
Alternatively, you can first install Python (and pip) on your Windows environment.
- Download windows installer exe from Python.org download page
- Run the exe.
- Screen will be shown to chose the installation option.
- Uncheck "install for all user" option.
- Go for the custom installation.
- On next screen specify the directory path for which your user have full access on the computer (take a note of this as you will need it to set the environment variables).
- Uncheck "create shortcuts for installed application" option.
- Make sure "Add python to environment variable" option is Unchecked .
- Complete the installation.
Then add the installation and Script folder path in PATH using set (temporary) or setx (permanent) in a Command Prompt window. This is to make sure that your computer knows where to find the Python interpreter. To do this you will have to modify a setting called PATH, which is a list of directories where Windows will look for programs. Further details and examples are available here. You may choose also to set your environment variables into a batch file (e.g. set-env.bat which you will need to run from the Command Prompt.
@echo off
set PY_HOME=C:\...\python37
set PATH=%PY_HOME%;%PY_HOME%\Scripts;%PATH%
You can now install it via pip (see instructions above).
For languages other than Python please see Web-API Downloads
To check the availability of ECMWF Public Datasets go to the web interface:
http://apps.ecmwf.int/datasets/
Using this interface you can discover all the ECMWF Public Datasets that are available from our archive. We strongly recommend you to to navigate through our public datasets to become familiar with their availability. You may select a Public Dataset and start navigating trough its content.
Please take into account some considerations about the content:
- Different ECMWF Public Datasets include different "parameters" , "times", and "steps"
- In each ECMWF Public Dataset not all the "parameters" are available from all "steps"
- In each ECMWF Public Dataset not all the "steps" are available from all "times"
The web interface above will help you to check and understand the availability. For any kind of selections the system will update the attributes in a dynamic way to reflect the current availability. (i.e. if you change the steps some parameters will be added or removed).
Tip
- If you click on the ERA-interim http://apps.ecmwf.int/datasets/data/interim_full_daily/ you will get a web page reflecting the availability of this specific Public Dataset as the period that it is available, the forecast steps and the parameters that are available etc.
- From this page you have the option to define the values of your requests such as the "date", the "time" the "steps" and the "parameters" that you are interested in.
- In the case of ERA-Interim if you select time "06:00:00" only, the system updates the availability of the "steps" dynamically. In that case only the "step" 00 is available (checkable).
- Additionally if you select "step" 00 you will see that only a subset of the parameters are now available and only these parameters can now be checked.
Spend some time to understand how it works, make some selections try to execute the MARS scripts.
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
Related articles
There is no content with the specified labels
Blog Posts
-
Blog: Decommissioning of ECMWF Public Datasets service
created by
Mar 02, 2023
-
Blog: ERA5 access migrated to the Climate Data Store (CDS)
created by
Mar 05, 2019
-
Blog: IMPORTANT New interpolation software: MIR
created by
Jan 29, 2019
-
Blog: New Public Dataset: CERA-SAT Monthly
created by
Oct 15, 2018
-
Blog: ERA5 and C3S users should migrate they work to CDS
created by
Aug 02, 2018
-
Blog: Change in the Web API behaviour: expected fields vs. retrieved fields
created by
Feb 26, 2018
-
Blog: New Public Dataset: CERA-SAT
created by
Dec 08, 2017
-
Blog: New models added on Public Dataset UERRA
created by
Nov 23, 2017
-
Blog: New Public Dataset: CAMS Reanalysis
created by
Nov 13, 2017
-
Blog: Limit the period of a request via the Web User Interface
created by
Nov 10, 2017
-
Blog: New Public Dataset: C3S Seasonal forecasts
created by
Nov 02, 2017
-
Blog: New Public Dataset: CERA-20C Observation Feedback
created by
Oct 03, 2017
-
Blog: Web-API client version 1.5.0 released
created by
Sep 20, 2017
-
Blog: New Public Dataset: ERA5 reanalysis
created by
Aug 03, 2017
-
Blog: New Public Dataset: CAMS climate forcing
created by
Jun 02, 2017
-
Blog: New Public Dataset: UERRA Harmonie and UM-4dvar
created by
May 25, 2017
-
Blog: New Public Dataset: Year Of Polar Prediction (YOPP)
created by
May 10, 2017
-
Blog: New Public Dataset: Global ECMWF Fire Forecasting model (GEFF)
created by
Feb 27, 2017
-
Blog: New Public Dataset: CERA-20C daily
created by
Jan 30, 2017
-
Blog: New Public Dataset: CERA-20C monthly
created by
Jan 12, 2017
-
Blog: New S2S origin: KMA is now available
created by
Jan 11, 2017
-
Blog: New Public Dataset: ERA5_test reanalysis
created by
Nov 04, 2016
-
Blog: New Public Dataset: CAMS GHG flux inversions
created by
Jul 20, 2016
-
Blog: New Public Dataset: S2S, ECCC, Reforecasts
created by
Jun 29, 2016
-
Blog: New Public Dataset: S2S, ECCC, Realtime
created by
Jun 22, 2016
-
Blog: New Public Dataset: CAMS NRT dataset
created by
Jun 22, 2016
-
Blog: New Public Dataset: CAMS Global Fire Assimilation System
created by
May 20, 2015
-
Blog: New Public Dataset: ERA-20C Monthly Means, ERA-20C Wave Monthly Means
created by
May 20, 2015
-
Blog: New Public Dataset: ERA-20C Daily, ERA-20C Wave, ERA-20C Observations
created by
May 13, 2015
-
Blog: New Public Dataset: S2S
created by
May 13, 2015
-
Blog: Limit target size
created by
Apr 29, 2015
-
Blog: Limit number of fields
created by
Apr 01, 2015
Recently Updated
WARNING: This page has been moved to Access MARS.
8 Comments
Dick Dee
Tried and tested, at home on my Mac. Very good...
Paul Dando
A frequently asked question is whether it's possible to use the API(s) to retrieve data in netCDF format. Are there plans to implement this and, if so, what is the time scale ?
Also, are there plans to support the MARS 'compute' functionality ?
Matthew Manoussakis
netCDF is on our future plans
'compute' functionality will not be available on Web API ( we would like to keep it 'light' ). However a similar functionality for arithmetic may be available on a separate package.
Helene Garcon
What is the current situation for batch retrievals concerning netCDF? is the option available or only via Wed data portals?
Matthew Manoussakis
You may use
'format':'netcdf'
Dick Dee
The 'Loading table...' does not work at the moment (under 'Choosing a dataset')
Matthew Manoussakis
fixed!
Arda SORMAN
I have tried to run c# for EPS data, but it gives me an error (Unable to connect to the remote server) for web request. my url is "https://api.ecmwf.int/v1"
What should I do for overcoming this problem? thanks in advance