Read attribute value from NetCDF data source
attvalue = ncreadatt(source,location,attname)
attvalue = ncreadatt(source,location,attname)
reads
the attribute attname
from the group or variable
specified by location
in source
,
where source is the name of a NetCDF file or the URL of a NetCDF data
source.
|
Character vector or string scalar specifying the name of a NetCDF file or the URL of an OPeNDAP NetCDF data source. |
|
Character vector or string scalar specifying a group or variable in the NetCDF data source. To
read global attributes, set |
|
Character vector or string scalar specifying the name of an attribute that you want to read in the NetCDF data source. |
|
Data associated with the attribute. |