Renames the attribute named old_name of the variable varid in the data set ncid. new_name is the new name of the attribute. To rename a global attribute use netcdf.getConstant("global") for varid.
See also: netcdf.copyAtt,netcdf.getConstant.
Package: netcdf