NetCDF  4.6.3
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
datt.c
Go to the documentation of this file.
1 
8 #include "ncdispatch.h"
9  /* All these functions are part of the above defgroup... */
57 
58  /* All these functions are part of this named group... */
63 
120 int
121 nc_rename_att(int ncid, int varid, const char *name, const char *newname)
122 {
123  NC* ncp;
124  int stat = NC_check_id(ncid, &ncp);
125  if(stat != NC_NOERR) return stat;
126  TRACE(nc_rename_att);
127  return ncp->dispatch->rename_att(ncid, varid, name, newname);
128 }
129 
182 int
183 nc_del_att(int ncid, int varid, const char *name)
184 {
185  NC* ncp;
186  int stat = NC_check_id(ncid, &ncp);
187  if(stat != NC_NOERR) return stat;
188  TRACE(nc_del_att);
189  stat = ncp->dispatch->del_att(ncid, varid, name);
190  return stat;
191 } /* End of named group ...*/
193  /* End of defgroup. */
int nc_rename_att(int ncid, int varid, const char *name, const char *newname)
Rename an attribute.
Definition: datt.c:121
int nc_del_att(int ncid, int varid, const char *name)
Delete an attribute.
Definition: datt.c:183
#define NC_NOERR
No Error.
Definition: netcdf.h:323

Return to the Main Unidata NetCDF page.
Generated on Sat Apr 6 2019 08:19:00 for NetCDF. NetCDF is a Unidata library.