Batch downloads ERA5 driver data from the ECMWF API (CDS Toolbox)

gc_era5_request(
  user,
  lat,
  lon,
  var,
  product,
  filename,
  start_date,
  end_date,
  method = "mean"
)

Arguments

user

ECMWF Copernicus CDS user

lat

latitude

lon

longitude

var

CDS variable of interest

product

CDS product to query

filename

output filename (CSV)

start_date

start date as YYYY-MM-DD

end_date

end date as YYYY-MM-DD

method

aggregation method (mean, max, min, sum)

Value

A data frame with queried data including the date, position and requested variable