ErikKusch / KrigR

An R Package for downloading, preprocessing, and statistical downscaling of the European Centre for Medium-range Weather Forecasts ReAnalysis 5 (ERA5) family provided by the European Centre for Medium‐Range Weather Forecasts (ECMWF).
MIT License
103 stars 24 forks source link

ERA5 reanalysis data back to 1940 #33

Closed japilo closed 1 year ago

japilo commented 1 year ago

The Copernicus data store now includes ERA5 hourly data reanalysis going back to 1940. However, all documentation I have read for this package indicates that it only includes data back to 1950. Can functionality be added to include the 1940-1950 data?

ErikKusch commented 1 year ago

Hi @japilo , thanks for alerting me to that.

You will be happy to hear that the KrigR functionality already supports this. I just tested this query (adapted from the Quick Start section of my workshop material) and it ran without issue:

Extent_ext <- extent(c(9.87, 15.03, 49.89, 53.06))
QS_Raw <- download_ERA(
  Variable = "2m_temperature",
  DataSet = "era5",
  DateStart = "1940-01-02",
  DateStop = "1940-01-04",
  TResolution = "day",
  TStep = 1,
  Extent = Extent_ext,
  FileName = "Test",
  API_User = API_User,
  API_Key = API_Key
)
ErikKusch commented 1 year ago

I will need to figure out ways to update the documentation based off of such changes. I reckon I can do so, once I implement #26.