infoNcdfAtts: Print a summary of all netCDF variable attributes

Description Usage Arguments Details Value Author(s) See Also

View source: R/infoNcdfAtts.R

Description

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

Usage

1
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.

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.

Value

A matrix containing the name, value and type (columns) of all attributes (rows)

Author(s)

Jannis v. Buttlar

See Also

infoNcdfDims, infoNcdfVars, att.inq.nc


ncdf.tools documentation built on May 21, 2017, 1:08 a.m.

Search within the ncdf.tools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.