Get a list of variables for a given dataset.
Source:R/get_vars_for_dataset.R
get_vars_for_dataset.Rd
This function lists the variables available for a given dataset. Note that
the spelling and use of capitals in names might differ from the original
publications, as pastclim
harmonises the names of variables across
different reconstructions.
Usage
get_vars_for_dataset(
dataset,
path_to_nc = NULL,
details = FALSE,
annual = TRUE,
monthly = FALSE
)
Arguments
- dataset
string defining dataset to be downloaded (a list of possible values can be obtained with
list_available_datasets()
).- path_to_nc
the path to the custom nc file containing the palaeoclimate reconstructions. If a custom nc file is given, 'details', 'annual' and 'monthly' are ignored
- details
boolean determining whether the output should include information including long names of variables and their units.
- annual
boolean to show annual variables
- monthly
boolean to show monthly variables