2008 Unidata NetCDF Workshop for Developers and Data Providers > The "Classic" NetCDF Data Model
3.11 Attributes
Attributes hold metadata (data about data). An attribute contains
information about properties of a variable or dataset.
An attribute has a name, type, and values. Attributes are used to
specify such properties as units, standard names (that identify types
of quantity), special values, maximum and minimum valid values,
scaling factors, offsets, and measurement parameters.
- Like variables, the type of an attribute may be one of char, byte, short, int,
float, or double.
- An attribute may have multiple values (1-D), but
attributes cannot be multidimensional.
- Global attributes apply to a whole file. Variable attributes
apply to a specific variable.
- NetCDF conventions are defined primarily in terms of
attributes. Thus the names of attributes are standardized rather
than the names of variables.
- Attributes cannot have attributes.
2008 Unidata NetCDF Workshop for Developers and Data Providers > The "Classic" NetCDF Data Model