cdms2.tvariable:TransientVariable

TransientVariable.getAxisIndex(axis_spec)

Get the index of the axis specificed by axis_spec.

Parameters
axis_spec :
Returns
the axis index or -1 if no match is found.