cdms2.axis

take(ax, indices)[source]

Take elements form an array along an axis

Parameters
axThe source array.
indicesThe indices of the values to extract.
Returns
axisTransientAxis

The return array has the same type of ax.