nc_attrenameΒΆ
nc_attrename renames a given attribute.
-
ret = nc_attrename(ncid, varid, ssName, ssNewName)
Return Value
ret is -1 if an error occurs, otherwise ret is 1.
Parameters
-
ncid
Identifies the netCDF file.
-
varid
varid.
-
ssName
ssName is the name of the netCDF attribute.
-
ssNewName
ssName is the new name of the netCDF attribute.
See also
id-236618