Previous topic

nc_diminq_size

Next topic

nc_dimrename

This Page

nc_dimredimΒΆ

nc_dimredim modifies the size of a dimension. The nc 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 nc file must be in define mode. Only available for UniPlot data files.

History

Version Description
5.10.0 New

id-842514