att.val.ncv {ncvar} | R Documentation |
Get the value of an attribute. For internal use only.
att.val.ncv(att, name)
att |
A list of objects of class "att.ncv". |
name |
The name of the attribute. |
Get the value of an attribute. For internal use only.
The attribute value. NULL
if the attributes does not exist.
Juerg Schmidli
## Create example file foo.ncv() ## Open file nc <- open.nc(paste(tempdir(),"/foo.nc",sep="")) ## Get attribute att <- att.get.ncv(nc, "temperature", 1) att.val.ncv(att, "missing_value") close.nc(nc)