NCL Home > Documentation > Language

Variable dimension reordering

In order to reorder the dimensions of a variable, the variable's dimensions must be named.
    Consider a variable x(time,lat,lon)

    x_reorder = x(lat|:,lon|:,time|:)           ; x_order(lat,lon,time)
    
Considerably more information about dimension reordering may be found in the "Variables" section of the NCL Reference Manual