check_var_in_nc {pastclim}R Documentation

Check whether variables exist in a netcdf file

Description

Internal function to test a custom nc file.

Usage

check_var_in_nc(bio_variables, path_to_nc)

Arguments

bio_variables

vector of names of variables to be extracted

path_to_nc

the path to the custom nc file containing the palaeoclimate reconstructions.

Value

TRUE if the variable exists


[Package pastclim version 2.2.0 Index]