NCL Home > Documentation > Language

Array Dimension Reduction

Is a feature that causes arrays with a dimension = 1 to collpase to one fewer dimensions.

Array (13,64,128): sub-select u2 = u(0,:,:). u2 now (64 x 128). No other information is lost, all attributes, and coordinate variables for the original three dimensions are still associated with u2.

To get around this automatic dimension reduction, the following syntax is required:
u2 = u(0:0,:,:).