Loading...
Searching...
No Matches
datt.c
Go to the documentation of this file.
/*Copyright 2018 University Corporation for Atmospheric
Research/Unidata. See copyright file for more info. */
#include "config.h"
#include "ncdispatch.h"
/* Start doxygen member group. */
int
nc_rename_att(int ncid, int varid, const char *name, const char *newname)
{
NC* ncp;
int stat = NC_check_id(ncid, &ncp);
if(stat != NC_NOERR) return stat;
TRACE(nc_rename_att);
return ncp->dispatch->rename_att(ncid, varid, name, newname);
}
int
nc_del_att(int ncid, int varid, const char *name)
{
NC* ncp;
int stat = NC_check_id(ncid, &ncp);
if(stat != NC_NOERR) return stat;
TRACE(nc_del_att);
stat = ncp->dispatch->del_att(ncid, varid, name);
return stat;
}
/* End doxygen member group. */
nc_del_att
int nc_del_att(int ncid, int varid, const char *name)
Delete an attribute.
Definition datt.c:177
nc_rename_att
int nc_rename_att(int ncid, int varid, const char *name, const char *newname)
Rename an attribute.
Definition datt.c:113
NC_NOERR
#define NC_NOERR
No Error.
Definition netcdf.h:378