NCDF_DIMID

The NCDF_DIMID function returns the ID of a netCDF dimension, given the name of the dimension. This function returns -1 if the dimension does not exist.

Calling Sequence

Result = NCDF_DIMID( Cdfid, DimName )

Arguments

Cdfid

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

DimName

A scalar string containing the dimension name.

Example

See NCDF_VARPUT .