Netcdf Toolkit - netcdf.getAtt
data =netcdf.getAtt(ncid,varid,name)Get the value of a NetCDF attribute.
This function returns the value of the attribute called name of the variable varid in the NetCDF file ncid.
For global attributes varid can be netcdf.getConstant("global").
See also: netcdf.putAtt.