NetCDF  4.6.3
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
dattget.c File Reference

Attribute functions. More...

#include "ncdispatch.h"

Go to the source code of this file.

Functions

int nc_get_att_string (int ncid, int varid, const char *name, char **value)
 Get a variable-length string attribute. More...
 
Getting Attributes

Functions to get the values of attributes.

int nc_get_att (int ncid, int varid, const char *name, void *value)
 Get an attribute of any type. More...
 
int nc_get_att_text (int ncid, int varid, const char *name, char *value)
 Get an attribute. More...
 
int nc_get_att_schar (int ncid, int varid, const char *name, signed char *value)
 Get an attribute. More...
 
int nc_get_att_uchar (int ncid, int varid, const char *name, unsigned char *value)
 Get an attribute. More...
 
int nc_get_att_short (int ncid, int varid, const char *name, short *value)
 Get an attribute. More...
 
int nc_get_att_int (int ncid, int varid, const char *name, int *value)
 Get an attribute. More...
 
int nc_get_att_long (int ncid, int varid, const char *name, long *value)
 Get an attribute. More...
 
int nc_get_att_float (int ncid, int varid, const char *name, float *value)
 Get an attribute. More...
 
int nc_get_att_double (int ncid, int varid, const char *name, double *value)
 Get an attribute. More...
 
int nc_get_att_ubyte (int ncid, int varid, const char *name, unsigned char *value)
 Get an attribute. More...
 
int nc_get_att_ushort (int ncid, int varid, const char *name, unsigned short *value)
 Get an attribute. More...
 
int nc_get_att_uint (int ncid, int varid, const char *name, unsigned int *value)
 Get an attribute. More...
 
int nc_get_att_longlong (int ncid, int varid, const char *name, long long *value)
 Get an attribute. More...
 
int nc_get_att_ulonglong (int ncid, int varid, const char *name, unsigned long long *value)
 Get an attribute. More...
 

Detailed Description

Attribute functions.

These functions read and write attributes.

Copyright 2018 University Corporation for Atmospheric Research/Unidata. See COPYRIGHT file for more info.

Definition in file dattget.c.


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