Skip to contents

get_paleo_layers returns information on the future climate layers for the matching current climate layers.

Usage

get_paleo_layers(current_layer_codes, model_name = NA, epoch = NA,
  years_ago = NA)

Arguments

current_layer_codes

character vector. Code(s) of the current climate layers either as a character vector or as the dataframe provided by list_layers.

model_name

character vector. Paleo climate model name see the model_name column in the result from list_layers_paleo.

epoch

character vector. Epoch for which you want the paleo layer, e.g. "mid-Holocene", "Last Glacial Maximum".

years_ago

integer. Years for which you want the paleo layer, e.g. 6000, 21000.

Value

A dataframe with information on the paleo layer(s) matching the provided current layer(s).

Details

Stops with an exception if no matching paleo layer was found for one or more of the provided current climate layer codes.

Examples

paleo_layers <- get_paleo_layers("MS_biogeo08_sss_mean_5m", years_ago = 6000)
paleo_layers$layer_code
#> [1] "MS_biogeo08_sss_mean_6kya"