NCDF_DIMRENAME procedure renames an existing
dimension in a netCDF file which has been opened for writing. If the new name is longer than the old name, the netCDF file must be in define mode. You cannot rename one dimension to have the same name as another dimension.
Cdfid, Dimid, NewName
The netCDF ID, returned from a previous call to NCDF_OPEN or NCDF_CREATE.
The netCDF dimension ID, returned from a previous call to NCDF_DIMID or NCDF_DIMDEF, or the name of the dimension.
A scalar string containing the new name for the dimension.