(ncid,varid,name,data)
¶Defines a NetCDF attribute. This function defines the attribute called name of the variable varid in the NetCDF file ncid. The value of the attribute will be data. For global attributes varid can be netcdf_getConstant("global").
See also: netcdf_getAtt.
Package: netcdf