nc_varinq_nattsΒΆ
The nc_varinq_natts function returns the number of attributes for a variable, given its ID.
-
natts = nc_varinq_natts(ncid, varid)
Return Value
natts is the number of attributes for the variable with the ID varid. If an error occurs natts is -1.
Parameters
-
ncid
Identifies the netCDF file.
-
varid
varid is the ID of a variable.
id-1291545