Loadable Function: attnum = netcdf_inqAttID(ncid,varid,attname)

Return the attribute id attnum of the attribute named attname of the variable varid in the dataset ncid. For global attributes varid can be netcdf_getConstant("global").

See also: netcdf_inqAttName.

Package: netcdf