readNcdfVarName: Get name of variable in netCDF file

Description Usage Arguments Value Author(s) See Also

Description

readNcdfVarName tries to automatically detect the name of the "main" variable in a netCDF file. The name returned is the name of a non coordinate variable. If more than one of such variables are existent, the name of the variable which spans all available dimensions or with a name appearing as a pattern in the file name is used.

Usage

1

Arguments

file

connection to the netCDF file.

Value

character string: name of the variable.

Author(s)

Jannis v. Buttlar

See Also

RNetCDF, infoNcdfVars


ncdf.tools documentation built on May 2, 2019, 4:19 a.m.