nc_att | R Documentation |
Variable attributes are number 0:(n-1). Global attributes are indexed by -1 or the label "NC_GLOBAL".
nc_att(x, variable, attribute, ...)
## S3 method for class 'NetCDF'
nc_att(x, variable, attribute, ...)
## S3 method for class 'character'
nc_att(x, variable, attribute, ...)
x |
or file handle |
variable |
name or index (zero based) of variable |
attribute |
name or index (zero based) of attribute |
... |
ignored |
nc_inq
includes the number of global attributes
nc_vars
includes the number of variable attributes
data frame of attribute with numeric id, character attribute name, character or numeric variable id or name depending on input, and attribute value.
f <- system.file("extdata", "S2008001.L3m_DAY_CHL_chlor_a_9km.nc", package = "ncmeta")
nc_att(f, 0, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.