NetCDF  4.4.0
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  return ncp->dispatch->rename_att(ncid, varid, name, newname);
113 }
114 
156 int
157 nc_del_att(int ncid, int varid, const char *name)
158 {
159  NC* ncp;
160  int stat = NC_check_id(ncid, &ncp);
161  if(stat != NC_NOERR) return stat;
162  return ncp->dispatch->del_att(ncid, varid, name);
163 } /* End of named group ...*/
165  /* 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:157
#define NC_NOERR
No Error.
Definition: netcdf.h:315

Return to the Main Unidata NetCDF page.
Generated on Tue May 3 2016 08:56:00 for NetCDF. NetCDF is a Unidata library.