NCL Home > Documentation > Language

Named Dimensions

In NCL, dimensions are ordered using row x column ordering [ie, row major], which is identical to C. By convention, dimensions are numbered from left(0) to right(n-1) where n is the total number of dimensions. NCL allows names to be assigned with dimensions. These named dimensions are essential for reordering an array. A named dimension is created by entering the variable name followed by the ! character, followed by the appropriate dimension index.
    T!0 = "lat"
    
Considerably more information about named dimensions may be found in the "Variables" section of the NCL Reference Manual