nc_inquire_ngattsΒΆ
nc_inquire_ngatts returns the number of global attributes in a nc file.
-
ngatts = nc_inquire_ngatts(ncid)
Return Value
If the function succeeds, the return value is the number of global attributes. If the function fails, the return value is -1.
Parameters
-
ncid
Identifies the nc file.
See also
id-2107885