cdms2.bindex¶
-
intersectHorizontalGrid
(latspecs, lonspecs, latlin, lonlin, index)[source]¶ Intersect a horizontal grid with a lat-lon region.
- Parameters
- latspecslatitude specs as defined in the grid module.
- lonspecslongitude specs as defined in the grid module.
- latlinlatlin is the raveled latitude array.
- lonlinlonlin is the raveled longitude array.
- indexindex is the bin index as returned from bindex.
- Returns
- an array of indices, in latlin/lonlin, of the points in the intersection.