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

4.11 A Convention for Coordinates: Coordinate Variables
Coordinate Variables contain the coordinate values for a dimension.

A variable with the same name as a dimension is called a coordinate variable. Many programs that read netCDF files recognize and use any coordinate values they find.

To be useful for defining a coordinate system, a coordinate variable:

Examples of typical coordinate variables include lat, lon, level, and time, corresponding to dimensions with the same names.

The notion of coordinate variables has been generalized to multidimensional coordinate axes and sets of coordinate axes that comprise coordinate systems in the netCDF Java library and the Common Data Model it supports. The CF Conventions also provide a natural meaning for multidimensional auxiliary coordinate variables, identified by a coordinates attribute.

 


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