Get the name of paleo climate layer(s) based on the current climate layer(s)
Source:R/list.R
get_paleo_layers.Rdget_paleo_layers returns information on the future climate layers for
the matching current climate layers.
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_namecolumn in the result fromlist_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.
Details
Stops with an exception if no matching paleo layer was found for one or more of the provided current climate layer codes.