cdms2.variable:DatasetVariable

DatasetVariable.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.