ncattput : Store an attribute by name with variable
varid. The type and length of the attribute must be specified.
int ncattput(int cdfid,int varid,char* name,nc_type datatype,int len,
void* value); |
ncattinq : Inquire about an attribute by name. Can get either type or
length.
int ncattinq(int cdfid,int varid,char* name,nc_type* datatype,int* len); |
ncattget : Get an attribute's value by name.
int ncattget(int cdfid,int varid,char* name,void* value); |
ncattcopy : Copy an attribute from one variable to another.
int ncattcopy(int incdf,int invar,char* name,int outcdf,int outvar); |
ncattname : Get the name of an attribute from its number. The number
is not an id, but can change as the number of attributes associated with a variable
changes. Attribute numbers run from 0 to natts-1.
int ncattname(int cdfid,int varid,int attnum,char* name); |
ncattrename : Rename an attribute.
int ncattrename(int cdfid,int varid,char* name,char* newname); |
ncattdel : Delete an attribute.
int ncattdel(int cdfid,int varid,char* name); |