cdms2.avariable¶
-
getBoundList
(coordList, mask=None, removeBadCells=False, badCellIndices=[])[source]¶ Return a list of bounds built from a list of coordinates
- Parameters
- coordList
coordinate list, should have getBounds()
- mask
avoid checking areas where mask is one
- removeBadCells
set to True if you want to the code to remove bad cells, ie zero cells, butterfly cells, …
- maskCellIndices
list of bad cell indices to mask out (output)
- Returns
- [latBounds, lonBounds]