Skip to contents

Finds the files of CHELSA V2.1 monthly climatologies (12 months per variable) for the present (1981-2010) or a future period, climate model (GCM) and scenario (SSP), by listing the CHELSA storage, so the exact file names (which differ between present and future data) need not be known.

Usage

chelsa_monthly_urls(
  vars = c("tasmax", "tasmin", "tas", "pr"),
  period = "1981-2010",
  gcm = NULL,
  ssp = NULL,
  months = 1:12
)

Arguments

vars

Variables: "tasmax", "tasmin", "tas" (mean temperature) and "pr" (precipitation); any other CHELSA monthly variable, e.g. "rsds" or "vpd", works too.

period

"1981-2010" (present) or a future period, "2011-2040", "2041-2070" or "2071-2100".

gcm, ssp

For future periods: the climate model, e.g. "IPSL-CM6A-LR", "MPI-ESM1-2-HR", "UKESM1-0-LL", "GFDL-ESM4", "MRI-ESM2-0", and the scenario, "ssp126", "ssp370" or "ssp585".

months

Months to return.

Value

A data.frame with var, month, url and file (the file name).

References

Karger, D.N., Conrad, O., Bohner, J., et al. (2017) Climatologies at high resolution for the earth's land surface areas. Scientific Data 4, 170122. doi:10.1038/sdata.2017.122

Examples

if (FALSE) { # \dontrun{
chelsa_monthly_urls(c("tasmax", "pr"))
chelsa_monthly_urls("tas", "2071-2100", gcm = "MPI-ESM1-2-HR",
                    ssp = "ssp370")
} # }