NCDF_DIMDEF function defines a
dimension in a netCDF file given its name and size. If successful, the dimension ID is returned.
Result = NCDF_DIMDEF(
Cdfid, DimName, Size
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.
can be any scalar expression. If the UNLIMITED keyword is used, the
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.