Versions Compared

Key

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

...

For ERA5.1-complete follow the same procedure as for era5-complete explained above, however:

Warning

Please read: Technical issue fixed on the ERA5.1 data retrieval through CDS API

  1. edit the script to change:


    Code Block
    'reanalysis-era5-complete' to 'reanalysis-era5.1-complete
    


  2. data is only available for the years 2000-2006 inclusive - so make sure that your request dates are within this time period.


    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')
    




...