.. highlightlang:: us .. _nc_attdelete: nc_attdelete ============ .. index:: nc_attdelete .. us.tag nc_attdelete ENGLISH NC_Att New330 :ref:`nc_attdelete` deletes a given attribut. The file must be in define mode. .. function:: ret = nc_attdelete(ncid, varid, ssName) .. us.return **Return Value** *ret* is -1 if an error occurs, otherwise *ret* is 1. .. us.params **Parameters** .. uparam:: ncid Identifies the netCDF file. .. uparam:: varid *varid* is the identification number of the variable or -1 for a global attribute. .. uparam:: ssName *ssName* is the name of the netCDF attribute. .. seealso:: :ref:`overview-netcdf-files`, :ref:`nc_create`, :ref:`nc_redef`, :ref:`nc_attrename` :sub:`id-207933`