cdms2.hgrid:AbstractHorizontalGrid

AbstractHorizontalGrid.checkConvex()[source]

Check that each cell of the grid is convex in lon-lat space, with nodes defined counter-clockwise.

Returns
a 1D numpy array of cells that fail the cross-product test.