cdms2.axis:Axis

Axis.getBounds(isGeneric=None)[source]

Get axis bounds.

If bounds are not available and you want them generated set the correct behavior using setAutoBounds.

Parameters
isGenericlist of bool

First value is set True if bounds are generated.

Returns
numpy.ndarray

Returns bounds if available, generates bounds if setAutoBounds has been set accordingly otherise None is returned.