9 #include "ncdispatch.h"
90 int stat = NC_check_id(ncid, &ncp);
92 return ncp->dispatch->inq_att(ncid, varid, name, xtypep, lenp);
167 int stat = NC_check_id(ncid, &ncp);
169 return ncp->dispatch->inq_attid(ncid, varid, name, idp);
258 int stat = NC_check_id(ncid, &ncp);
260 return ncp->dispatch->inq_attname(ncid, varid, attnum, name);
303 int stat = NC_check_id(ncid, &ncp);
306 return ncp->dispatch->inq(ncid, NULL, NULL, nattsp, NULL);
361 int stat = NC_check_id(ncid, &ncp);
363 return ncp->dispatch->inq_att(ncid, varid, name, xtypep, NULL);
427 int stat = NC_check_id(ncid, &ncp);
429 return ncp->dispatch->inq_att(ncid, varid, name, NULL, lenp);
int nc_inq_attid(int ncid, int varid, const char *name, int *idp)
Find an attribute ID.
int nc_inq_natts(int ncid, int *nattsp)
Find number of global or group attributes.
int nc_inq_att(int ncid, int varid, const char *name, nc_type *xtypep, size_t *lenp)
Return information about a netCDF attribute.
int nc_inq_atttype(int ncid, int varid, const char *name, nc_type *xtypep)
Find the type of an attribute.
int nc_inq_attname(int ncid, int varid, int attnum, char *name)
Find the name of an attribute.
int nc_inq_attlen(int ncid, int varid, const char *name, size_t *lenp)
Find the length of an attribute.
#define NC_NOERR
No Error.
int nc_type
The nc_type type is just an int.