nc_attget returns the value(s) of a netCDF attribute.
Return Value
values is a string, a number or a vector or -1 in case the attribute does not exists.
Parameters
Identifies the netCDF file.
varid is the identification number of the variable or -1 for a global attribute.
ssName is the name of the attribute.
Comment
The nc_attinq_datatype function can be used to check if the specified attribute exists. nc_attinq_datatype returns -1 if the attribute does not exist.
id-628025