infoNcdfAttr: infoNcdfAttr

Description Usage Arguments Value Author(s)

View source: R/infoNcdfAtts.R

Description

get summary of all ncdf variable attributes

Usage

1
2
infoNcdfAttr(file.con, attr, var.id = "NC_GLOBAL", 
    info = infoNcdfAtts(file.con, var.id))

Arguments

file.con

a NetCDF object pointing to the respective ncdf file.

attr

string of the attribute name, e.g. "units"

var.id

the name or id of the variable for which to get attribute

info

may provide result of infoNcdfAtts for efficiency

Value

scalar attribute string of first matched attribute

Author(s)

Jannis v. Buttlar, Thomas Wutzler


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