Download point-level historical weather (ERA5) using open-meteo API
Source:R/get_historical_weather.R
get_historical_weather.Rd
Download point-level historical weather (ERA5) using open-meteo API
Usage
get_historical_weather(
latitude,
longitude,
site_id = NULL,
start_date,
end_date,
variables = c("relative_humidity_2m", "precipitation", "wind_speed_10m", "cloud_cover",
"temperature_2m", "shortwave_radiation")
)
Arguments
- latitude
latitude degree north
- longitude
longitude degree east
- site_id
name of site location (optional, default = NULL)
- start_date
earliest date requested. Must be on or after 1950-01-01
- end_date
latest date requested
- variables
vector of name of variable(s) https://open-meteo.com/en/docs/ensemble-api