Skip to contents

CHELSA-TraCE21k (Karger et al. 2023) has one layer per century, named by a time id from 20 (1900-1990 CE, the present of the data set) down to -200 (22,000 years before present). This function converts between time ids and thousands of years before present (ka BP; present = 1950).

Usage

trace21k_time(kyr_bp = NULL, time_id = NULL)

Arguments

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.

Value

A data.frame with time_id, kyr_bp and the first and last year of the century (year_start, year_end; negative = BCE as written in the data set's documentation).

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

See also

trace21k_id() for the time id of ages in years.

Examples

trace21k_time(c(0, 6, 12, 21))
#>   time_id kyr_bp year_start year_end
#> 1      20      0       1900     1990
#> 2     -40      6      -4100    -4001
#> 3    -100     12     -10100   -10001
#> 4    -190     21     -19100   -19001
trace21k_time(time_id = c(20, -190))
#>   time_id kyr_bp year_start year_end
#> 1      20      0       1900     1990
#> 2    -190     21     -19100   -19001