Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the C3S climate data store (CDS).
  2. Type  'ERA5' in the search box.
  3. Follow the ERA5 dataset title link of interest (there will be many more hits).
  4. Currently there are eight online ERA5 and two ERA5-Land catalogue entries  

    Expand
    titleShow ERA5 catalogue entries in the CDS


  5. Each of these dataset catalogue entries includes the following tabs:
    • Overview . This gives a description of the selected dataset and metadata information (e.g. spatial details, file format, variables, etc).
    • Documentation . This provides links to detailed documentation about the dataset.
    • Download data . This is a download web form.
  6. Go to the Download data tab to make your selection for ERA5 data retrieval. Using this web interface, you can:
    • make selections as per your requirements. For your convenience only valid combinations will show; invalid combinations are greyed out interactively.
    • accept the data licence in the Terms of use section (in case you had not yet accepted it). You will only see this section after you have logged in.

      Note

      You will need to do this regardless whether you are accessing data through the web interface or through the CDS API (see below).


  7. Click on the button Submit Form at the bottom right to submit your data request (you must be logged in and have accepted the terms and conditions before submitting your request).

  8. You will now be redirected to the Your requests page.

...

Although some flavours of the ERA5 family data is not online in the CDS (i.e. not available through the interactive web download form), it is accessible through CDS API. This embraces ERA5-complete , and ERA5.1-complete and ERA5-complete-preliminary, which provide data in the 'raw' format as they were produced:

...

Expand
titleExample to download ERA5.1 monthly mean temperature at 50 hPa at a regular lat/lon grid in NetCDF format.


Code Block
#!/usr/bin/env python
import cdsapi
c = cdsapi.Client()
c.retrieve('reanalysis-era5.1-complete', { # Please note the addition '.1' for ERA5.1!
                                           # Keywords 'expver' and 'class' can be dropped. They are obsolete
                                           # since their values are imposed by 'reanalysis-era5.1-complete'
    'date': '2005-01-01',                  # Valid range:  2000-01-01 to 2006-12-31. Always first of the month for monthly means
    'levelist': '50',                      # Pressure level at 50 hPa
    'levtype': 'pl',
    'param': '130.128',                    # Full information at https://apps.ecmwf.int/codes/grib/param-db/
    'stream': 'moda',                      # Monthly means (of Daily means).
    'type': 'an',
    'grid'    : '1.0/1.0',                 # Latitude/longitude grid resolution.
    'format'  : 'netcdf',                  # Output needs to be regular lat-lon, so only works in combination with 'grid'!
}, 'era5.1-temperature-monthly-mean.nc')

For ERA5-complete preliminary back-extension (1950-1978, superseded now, users are advised to access the final release from 1940 instead) follow the same procedure as for era5-complete explained above, however:

edit the script to change:

Code Block
'reanalysis-era5-complete' to 'reanalysis-era5-complete-preliminary-back-extension'

Data is available for the years 1950-1978 inclusive - so make sure that your request dates are within this time period.

...

Expand
titleExample to download ERA5 back extension (preliminary 1950-1978) hourly temperature from model level 1 to 5 at a regular lat/lon grid in NetCDF format
Code Block
languagepy
import cdsapi
c = cdsapi.Client()
c.retrieve('reanalysis-era5-complete-preliminary-back-extension', { # Please note the name of the dataset
                                           # Keywords 'expver' and 'class' can be dropped. They are obsolete
                                           # since their values are imposed by 'reanalysis-era5-complete-preliminary-back-extension'
    'date': '1970-01-01',                  # Valid range:  1950-01-01 to 1978-12-31.
    'levelist': '1/2/3/4/5',               # Model levels from 1 to 5
    'levtype': 'ml',
    'param': '130.128',                    # Full information at https://apps.ecmwf.int/codes/grib/param-db/
    'stream': 'oper',                      # Hourly data.
    'type': 'an',
    'grid': '1.0/1.0',                     # Latitude/longitude grid resolution.
	'time':'00/to/23', 		               # You can drop :00:00 and use MARS short-hand notation, instead of '00/06/12/18', full information at https://confluence.ecmwf.int/pages/viewpage.action?pageId=118817378
    'format':'netcdf',                     # Output needs to be regular lat-lon, so only works in combination with 'grid'!
}, 'era5.preliminary-back-extension-temperature-monthly-mean.nc')
Expand
titleExample to download ERA5 back extension (preliminary 1950-1978) monthly mean temperature at 50 hPa at a regular lat/lon grid in NetCDF format
Code Block
#!/usr/bin/env python
import cdsapi
c = cdsapi.Client()
c.retrieve('reanalysis-era5-complete-preliminary-back-extension', { # Please note the name of the dataset
                                           # Keywords 'expver' and 'class' can be dropped. They are obsolete
                                           # since their values are imposed by 'reanalysis-era5-complete-preliminary-back-extension'
    'date': '1964-01-01',                  # Valid range:  1950-01-01 to 1978-12-31. Always first of the month for monthly means
    'levelist': '50',                      # Pressure level at 50 hPa
    'levtype': 'pl',
    'param': '130.128',                    # Full information at https://apps.ecmwf.int/codes/grib/param-db/
    'stream': 'moda',                      # Monthly means (of Daily means).
    'type': 'an',
    'grid'    : '1.0/1.0',                 # Latitude/longitude grid resolution.
    'format'  : 'netcdf',                  # Output needs to be regular lat-lon, so only works in combination with 'grid'!
}, 'era5.preliminary-back-extension-temperature-monthly-mean.nc')



...