Versions Compared

Key

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

...

The data are archived in the ECMWF data archive (MARS) and the data have been copied to the Climate Data Store (CDS). The data should be downloaded using the CDS catalogue or the CDS API, which can obtain data from the CDS copy or from MARS (Member State users can access the data using MARS directly, in the usual manner). Documentation on how to use the CDS API to download ERA5-Land data can be found here. The installation and downloading steps are similar to those of ERA5.

A couple of downloading examples to extract the data from MARS or from the CDS using the CDS API are given below:

...

Expand
titleBasic CDS API script example to download hourly snow depth (in m of water equivalent) on 1st January 2013 from ERA5-Land data archived in MARS


Code Block
languagetext
#!/usr/bin/env python
import cdsapi
 
c = cdsapi.Client()
c.retrieve('reanalysis-era5land-complete', {    # do not change this!
    'class'   : 'l5',
    'expver'  : '1',
    'stream'  : 'oper',
    'type'    : 'an',
    'param'   : '141.128',
    'levtype' : 'sfc',
    'date'    : '2013-01-01',
    'time'    : '00/to/23/by/1',
}, 'snow_20130101_era5land.grib')


...

Expand
titleBasic CDS API script example to download accumulated runoff from 00UTC to 12UTC hourly snow depth (in m of water equivalent) on 1st January 2013 from ERA5-Land data archived in the CDS


Code Block
languagetext
#!/usr/bin/env python
import cdsapi

c = cdsapi.Client()
c.retrieve(
    'test-reanalysis-
era5land
era5-
complete
land',
 
{
   {
 
#
 
do
 
not
 
change
 
this!
   '
class' : 'l5
format':'grib',
     
'expver'
  
:
 '
1
time'
,
:[
     
'stream' : 'oper',
       '00:00','01:00','02:00',
        
'type'
    
: 'fc
'03:00','04:00','05:00',
       
'param' : '205.128', 'levtype' : 'sfc
     '06:00','07:00','08:00',
            '09:00','10:00','11:00',
            '12:00','13:00','14:00',
            '15:00','16:00','17:00',
            '18:00','19:00','20:00',
            '21:00','22:00','23:00'
        ],
        'day':'01',
        'month':'01',
        'year':'2013',
        'variable':'snow_depth_water_equivalent',
        'type':'analysis'
    },
    'snow_20130101_era5land.grib')



Expand
titleBasic CDS API script example to download accumulated runoff from 00UTC to 12UTC on 1st January 2013 from ERA5-Land



#!/usr/bin/env python import cdsapi c = cdsapi.Client() c.retrieve('reanalysis-era5land-complete', { # do not change this! 'class' : 'l5', 'expver' : '1', 'stream' : 'oper', 'type' : 'fc', 'param' : '205.128', 'levtype' : 'sfc', 'date' : '2013-01-01', 'time' : '00',
'step' : '12',
  }, 'runoff_00-12_20130101_era5land.grib')



Expand
titleBasic CDS API script example to download hourly snow depth (in m of water equivalent) on 1st January 2013 from ERA5-Land data archived in the CDS


Code Block
languagetext





#!/usr/bin/env python
import cdsapi

c = cdsapi.Client()
c.retrieve(
    'test-reanalysis-era5-land',
    {
        'format':'grib',
        'time':[
            '00:00','01:00','02:00',
            '03:00','04:00','05:00',
            '06:00','07:00','08:00',
            '09:00','10:00','11:00',
            '12:00','13:00','14:00',
            '15:00','16:00','17:00',
            '18:00','19:00','20:00',
            '21:00','22:00','23:00'
        ],
        'day':'01',
        'month':'01',
    
'date'
    'year':
'2013
-01-01
',
    
'time'
    'variable':
'00
'snow_depth_water_equivalent',


    
'step'
    'type':
'
12',
 
analysis'
    },
 
'runoff_00-12
   'snow_20130101_era5land.grib')





The data in the native grid can be accessed from MARS using the keywords class="l5" and expver=0001. Subdivisions of the data are labelled using the keywords 'stream' and 'type'. The keyword 'levtype' should be set to 'sfc' for all the fields in ERA5-Land.

...