NCL Website header
NCL Home > Documentation > Language

Coordinate Variables

Are single-dimension arrays that have the same size as the dimension they are assigned to. A coordinate array represents the data coordinates for each index in the named dimension. These arrays contain monotonically increasing or decreasing values.

The & character is used to reference and assign coordinate variables. In order to assign a coordinate variable to a dimension, the dimension must be named.
    T!0   = "lat"      ; name the dimension

    T&lat = lat        ; assign the coordinate variable
    
Considerably more information about named dimensions and coordinate variables may be found in the "Variables" section of the NCL Reference Manual