The NCDF_DIMDEF function defines a dimension in a netCDF file given its name and size.
Result = NCDF_DIMDEF( Cdfid, DimName, Size [, /UNLIMITED] )
If successful, the dimension ID is returned.
The netCDF ID, returned from a previous call to NCDF_OPEN or NCDF_CREATE.
A scalar string containing the name of the dimension being defined.
The size of the dimension. Size can be any scalar expression. If the UNLIMITED keyword is used, the Size parameter should be omitted.
Set this keyword to create a dimension of unlimited size. Note that only one dimension in a netCDF file can be unlimited.
Introduced: Pre 4.0