Loadable Function: netcdf_renameAtt(ncid,varid,old_name,new_name)

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