Learn R Programming

ncdf.tools (version 0.7.1.295)

readNcdfVarName: Get name of variable in netCDF file

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

readNcdfVarName(file)

Arguments

file
connection to the netCDF file.

Value

See Also

RNetCDF, infoNcdfVars