bluegreen-labs / ecmwfr

Interface to the public ECMWF API Web Services
https://bluegreen-labs.github.io/ecmwfr/
Other
106 stars 30 forks source link

UserError: Restricted access to ERA5T #93

Closed khufkens closed 2 years ago

khufkens commented 2 years ago

When seeing this error:

UserError: Restricted access to ERA5T

Your date range constructed from the online query tool includes dates which are not accessible to you. There is no easy way to discover which dates are or aren't available as the ERA5 and ERA5T data pools are mixed. You can resolve this issue by specifying a date range rather than using year, month and day fields in your request.

It is possible to specify one specific date via date = "2000-01-01" or multiple days via date = ["2000-01-01","2000-01-02","2000-10-20"] or date = "YYYY-MM-DD/YYYY-MM-DD".

khufkens commented 2 years ago

Lifted from the Confluence ECMWF forum by Xiaobo Yang as not publicly accessible anymore

Hi all,

The latest ERA5T available data can be calculated as below:

    Take your local time, say CEST 23:09 on 18/8/22
    Work out UTC hours, 21:09 on 18/8/22
    Use the UTC time and date and minus 5 days, in this case, 21:09 on 13/8/22
    ERA5T data is available up to 21 UTC 13/8/22

To tell the difference between ERA5 and ERA5T, you can always download data in GRIB and check the value of 'expver'.

Hope this helps.

Xiaobo