First use NF_INQ, which will tell you how many variables and global
attributes there are in the file. Then start with varid 1, and proceed
to varid nvars, calling NF_INQ_VAR.
| NF_INQ.
| Find number of dimensions, variables, and global attributes, and the unlimited dimid.
|
| NF_INQ_DIM.
| Find dimension name and length.
|
| NF_INQ_VARID.
| Find variable ID from its name.
|
| NF_INQ_VAR.
| Find variable name, type, num dimensions, dim IDs, and num attributes.
|
| NF_INQ_DIMID.
| Find dimension ID from its name.
|
| NF_INQ_DIM.
| Find dimension name and length.
|
| NF_INQ_ATT.
| Find attribute name, type, and length.
|
| NF_INQ_FORMAT.
| Find file format: classic or 64-bit offset
|
| NF_INQ_LIBVERS.
| Find the netCDF version. (Currently 4.0-snapshot2008082116).
|