NetCDF  4.4.1
datt.c
Go to the documentation of this file.
1 
9 #include "ncdispatch.h"
10  /* All these functions are part of the above defgroup... */
57 
58  /* All these functions are part of this named group... */
63 
106 int
107 nc_rename_att(int ncid, int varid, const char *name, const char *newname)
108 {
109  NC* ncp;
110  int stat = NC_check_id(ncid, &ncp);
111  if(stat != NC_NOERR) return stat;
112  TRACE(nc_rename_att);
113  return ncp->dispatch->rename_att(ncid, varid, name, newname);
114 }
115 
157 int
158 nc_del_att(int ncid, int varid, const char *name)
159 {
160  NC* ncp;
161  int stat = NC_check_id(ncid, &ncp);
162  if(stat != NC_NOERR) return stat;
163  TRACE(nc_del_att);
164  stat = ncp->dispatch->del_att(ncid, varid, name);
165  return stat;
166 } /* End of named group ...*/
168  /* End of defgroup. */
int nc_rename_att(int ncid, int varid, const char *name, const char *newname)
Rename an attribute.
Definition: datt.c:107
int nc_del_att(int ncid, int varid, const char *name)
Delete an attribute.
Definition: datt.c:158
#define NC_NOERR
No Error.
Definition: netcdf.h:315

Return to the Main Unidata NetCDF page.
Generated on Sun Aug 28 2016 13:47:11 for NetCDF. NetCDF is a Unidata library.