Learn R Programming

ncdf.tools (version 0.7.1.295)

infoNcdfAtts: Print a summary of all netCDF variable attributes

Description

This function returns a summary of all attributes of a single variable in a netCDF file.

Usage

infoNcdfAtts(file.con, var.id = "NC_GLOBAL")

Arguments

file.con
a NetCDF object pointing to the respective netCDF file.
var.id
the name or id of the variable for which to display attributes.

Value

Details

If an id or variable name is given for 'var.id ', attributes from one variable are returned. Global attributes are returned if 'NC_GLOBAL' is given.

See Also

infoNcdfDims, infoNcdfVars, att.inq.nc