Skip to contents

Return variable names of a NetCDF

Usage

vars(file = NA, action = "get", verbose = FALSE)

Arguments

file

file name

action

'get' to return variable names or 'print' to print

verbose

display additional information

Value

string

Examples

vars(paste0(system.file("extdata",package="eva3dm"),'/wrfinput_d01'))
#> [1] "Times" "XLAT"  "XLONG"