Skip to contents

The addresses of the files of CHELSA-TraCE21k V1.0 for one or more time steps: the monthly layers needed by climate_indices() and the 19 bioclimatic variables.

Usage

trace21k_urls(
  vars = c("tasmax", "tasmin", "pr"),
  kyr_bp = NULL,
  time_id = NULL,
  months = 1:12
)

Arguments

vars

Monthly variables ("tasmax", "tasmin", "pr") and/or bioclimatic variables ("bio01" to "bio19", or "bio" for all 19).

kyr_bp

Time in thousands of years before present, 0 to 22 (e.g. 21 for the Last Glacial Maximum, 12 for the Younger Dryas, 6 for the mid-Holocene); rounded to the century.

time_id

Time ids, to convert them back: give either kyr_bp or time_id.

months

Months of the monthly variables.

Value

A data.frame with var, month (NA for bioclimatic variables), time_id, kyr_bp, url and file.

References

Karger, D.N., Nobis, M.P., Normand, S., Graham, C.H., Zimmermann, N.E. (2023) CHELSA-TraCE21k: high-resolution (1 km) downscaled transient temperature and precipitation data since the Last Glacial Maximum. Climate of the Past 19, 439-456. doi:10.5194/cp-19-439-2023

Examples

head(trace21k_urls(kyr_bp = 21))
#>      var month time_id kyr_bp
#> 1 tasmax     1    -190     21
#> 2 tasmax     2    -190     21
#> 3 tasmax     3    -190     21
#> 4 tasmax     4    -190     21
#> 5 tasmax     5    -190     21
#> 6 tasmax     6    -190     21
#>                                                                                                   url
#> 1 https://os.zhdk.cloud.switch.ch/chelsav1/chelsa_trace/tasmax/CHELSA_TraCE21k_tasmax_1_-190_V1.0.tif
#> 2 https://os.zhdk.cloud.switch.ch/chelsav1/chelsa_trace/tasmax/CHELSA_TraCE21k_tasmax_2_-190_V1.0.tif
#> 3 https://os.zhdk.cloud.switch.ch/chelsav1/chelsa_trace/tasmax/CHELSA_TraCE21k_tasmax_3_-190_V1.0.tif
#> 4 https://os.zhdk.cloud.switch.ch/chelsav1/chelsa_trace/tasmax/CHELSA_TraCE21k_tasmax_4_-190_V1.0.tif
#> 5 https://os.zhdk.cloud.switch.ch/chelsav1/chelsa_trace/tasmax/CHELSA_TraCE21k_tasmax_5_-190_V1.0.tif
#> 6 https://os.zhdk.cloud.switch.ch/chelsav1/chelsa_trace/tasmax/CHELSA_TraCE21k_tasmax_6_-190_V1.0.tif
#>                                     file
#> 1 CHELSA_TraCE21k_tasmax_1_-190_V1.0.tif
#> 2 CHELSA_TraCE21k_tasmax_2_-190_V1.0.tif
#> 3 CHELSA_TraCE21k_tasmax_3_-190_V1.0.tif
#> 4 CHELSA_TraCE21k_tasmax_4_-190_V1.0.tif
#> 5 CHELSA_TraCE21k_tasmax_5_-190_V1.0.tif
#> 6 CHELSA_TraCE21k_tasmax_6_-190_V1.0.tif
trace21k_urls(c("bio01", "bio12"), kyr_bp = c(0, 21))$file
#> [1] "CHELSA_TraCE21k_bio01_20_V1.0.tif"   "CHELSA_TraCE21k_bio12_20_V1.0.tif"  
#> [3] "CHELSA_TraCE21k_bio01_-190_V1.0.tif" "CHELSA_TraCE21k_bio12_-190_V1.0.tif"