cdms2.hgrid:AbstractHorizontalGrid

AbstractHorizontalGrid.flatAxes()

Flat Axes

Returns
(flatlat, flatlon) where flatlat is a raveled NumPy array

having the same length as the number of cells in the grid, similarly for flatlon.