Extract ERA5-Land meteorological data for the closest grid to a particular latitude and longitude for a selected number of years (1980-2023).
Usage
get_era5_point(
lat,
lon,
years,
variables = c("MET_tmpair", "MET_tmpdew", "MET_wnduvu", "MET_wnduvv", "MET_pprain",
"MET_ppsnow", "MET_prsttn", "MET_radswd"),
api_url = "http://170.64.143.18:80",
api_key = NULL
)
Arguments
- lat
numeric; Latitude
- lon
numeric; Longitude
- years
numeric; vector of years in numeric form to be extracted. Currently years are limited to 1980-2022.
- variables
vector; with AEME meteorological variable names to be downloaded. Defaults to all available variables: c("MET_tmpair", "MET_tmpdew", "MET_wnduvu", "MET_wnduvv", "MET_pprain", "MET_ppsnow", "MET_prsttn", "MET_radswd").
- api_url
character; URL to the API endpoint. Default is "http://170.64.143.18:80"
- api_key
character; API key to access the data.