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, NCDF_CREATE, or NCDF_GROUPDEF.
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. NetCDF 3 files can have only one unlimited dimension, while NetCDF 4 files can have multiple unlimited dimensions.
See NCDF_VARPUT.
Pre 4.0 |
Introduced |