nc_dimdefΒΆ
nc_dimdef adds a new dimension to an open netCDF file.
- dimid = nc_dimdef(ncid, ssName, nSize)
Return Value
If the function succeeds, the return value is not equal to -1. If the function fails, the return value is -1.
Parameters
- ncid
Identifies the netCDF file.
- ssName
ssName is the name of the dimension.
- nSize
nSize is the size of the dimension.
Comment
The netCDF file must be in define mode.
See also
id-1793043