nc_dimredimΒΆ
nc_dimredim modifies the size of a dimension. The NC2 file must be set to define mode (see nc_endef/nc_redef).
-
ret = nc_dimredim(ncid, dimid, nNewSize)
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.
-
dimid
-
nNewSize
nSize is the new size of the dimension.
Comment
The NC2 file must be in define mode. Only available for UniPlot data files (NC2).
History
Version | Description |
---|---|
5.10.0 | New. |
See also
Overview UniPlot Data Files, nc_redef, nc_dimdef, nc_dimid, nc_create
id-842514