NCDF_INQUIRE

The NCDF_INQUIRE function returns a structure that contains information about an open netCDF file. This structure of the form:

{ NDIMS:0L, NVARS:0L, NGATTS:0L, RECDIM:0L }

The structure tags are described below.

Calling Sequence

Result = NCDF_INQUIRE( Cdfid )

Arguments

Cdfid

The netCDF ID, returned from a previous call to NCDF_OPEN or NCDF_CREATE.

Explanation of the Structure Tags

Ndims

The number of dimensions defined for this netCDF file.

Nvars

The number of variables defined for this netCDF file.

Ngatts

The number of global attributes defined for this netCDF file.

RecDim

The ID of the unlimited dimension, if there is one, for this netCDF file. If there is no unlimited dimension, RecDim is set to -1.

Example

See NCDF_VARDEF .