Previous: An Example of Coordinate Variables Next: Classic NetCDF Model Limitations Table of contents Frames 2010 Unidata NetCDF Workshop > The Two NetCDF Data Models

4.13 Variables Versus Attributes
When should you use variables or attributes?

Both netCDF variables and attributes are named, typed containers for values. This leads to the question, when is it appropriate to use a netCDF attribute instead of a netCDF variable to hold a value?

Characteristics of variables:

Characteristics of attributes:

 


Previous: An Example of Coordinate Variables Next: Classic NetCDF Model Limitations Table of contents Frames 2010 Unidata NetCDF Workshop > The Two NetCDF Data Models