I was wondering if it is possible to request data using the API with time given in hours since 01-01-1900, which appears to be how it is given in netCDF files. So instead of the usual year/month/day/time arrays, you would request something like the following:

c.retrieve( 'reanalysis-era5-land', 
	        { 'format': 'netcdf',
              'variable': [ '2m_dewpoint_temperature', '2m_temperature', ], 
              'hours': [ '1074168', '1074169', '1074170', '1074171', '1074172', '1074173' ], },
              'download.nc')


1 Comment

  1. Hi Peter, the recommended way to specify dates/times in your CDS API request is to follow the method shown on the relevant CDS 'download data' page. For the ERA5-Land data https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-land?tab=form

    These are 'year','month','day','time'

    e.g.:

            'year': '2018',
            'month': '08',
            'day': '27',
            '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',
            ],

    (Using other keywords/values can lead to requests failing)
    Hope that helps,
    Kevin