readNcdfVarName: readNcdfVarName

Description Usage Arguments Value Author(s) See Also

View source: R/readNcdfVarName.R

Description

get name of variable in ncdf file Try to automatically detect the name of the "main" variable in a ncdf file. The name returned is the name of the only non coordinate variable. If more than one of these is returned, the name of the variable having the most dimensions is used. If there are still more than one variable, try to match the filename

Usage

1

Arguments

file

connection to the ncdf file.

Value

character string: name of the variable.

Author(s)

Jannis v. Buttlar, Thomas Wutzler

See Also

infoNcdfVars


bgctw/ncdfTools documentation built on Jan. 29, 2020, 1:16 p.m.