Skip to contents

Return variable names of a NetCDF

Usage

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

Arguments

file

file name

action

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

verbose

display additional information

Examples

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