.. highlightlang:: us .. index:: nc_redef .. _nc_redef: nc_redef ======== .. us.tag nc_redef ENGLISH NC :ref:`nc_redef` puts an open netCDF file into define mode, so dimensions, variables, and attributes can be added or renamed and attributes can be deleted. .. function:: r = nc_redef(ncid) .. us.return **Return Value** If the function succeeds, the return value is not equal to -1. If the function fails, the return value is -1. .. us.params **Parameters** .. uparam:: ncid Identifies the netCDF file. .. seealso:: :ref:`overview-netcdf-files`, :ref:`nc_create`, :ref:`nc_endef` :sub:`id-735543`