All attributes in the file, globals are treated as if they belong to variable 'NC_GLOBAL'. Attributes
for a single variable may be returned by specifying 'variable' - 'NC_GLOBAL' can stand in to return
only those attributes.
Usage
nc_atts(x, variable = NULL, ...)
# S3 method for NetCDF
nc_atts(x, variable = NULL, ...)
# S3 method for character
nc_atts(x, variable = NULL, ...)
Value
data frame of attributes
Arguments
x
filename or handle
variable
optional single name of a variable, or 'NC_GLOBAL'