Download point-level climate projections using open-meteo API
Source:R/get_climate_projections.R
get_climate_projections.RdReturns daily climate projections from high-resolution CMIP6 models covering
1950–2050. Use daily_to_hourly() to downscale to hourly resolution.
Usage
get_climate_projections(
latitude,
longitude,
site_id = NULL,
start_date,
end_date,
model = "EC_Earth3P_HR",
variables = c("temperature_2m_mean")
)Arguments
- latitude
latitude in decimal degrees north
- longitude
longitude in decimal degrees east
- site_id
optional site label added to output; defaults to "latitude_longitude"
- start_date
start of the date range (ISO format "YYYY-MM-DD"). Data available from 1950-01-01.
- end_date
end of the date range (ISO format "YYYY-MM-DD"). Projections available through 2050-12-31.
- model
climate model id. Default
"EC_Earth3P_HR". All seven models:"CMCC_CM2_VHR4","FGOALS_f3_H","HiRAM_SIT_HR","MRI_AGCM3_2_S","EC_Earth3P_HR","MPI_ESM1_2_XR","NICAM16_8S". See https://open-meteo.com/en/docs/climate-api for details.- variables
character vector of daily variable names (use
_mean,_max,_min, or_sumsuffixes as appropriate, e.g."temperature_2m_mean"). See https://open-meteo.com/en/docs/climate-api for the full list.