cdms2.axis

splitSlice(s, size)[source]

For a ‘wraparound’ slice, return two equivalent slices within the range 0..size-1.