cdms2.hgrid:AbstractCurveGrid¶
-
AbstractCurveGrid.
intersect
(spec)[source]¶ Intersect with the region specification.
- Parameters
- ‘spec’is a region specification of the form defined in the grid module.
- Returns
- (mask, indexspecs) where
- ‘mask’is the mask of the result grid AFTER self and region spec are interested.
- ‘indexspecs’is a list of index specifications suitable for slicing a
variable with the given grid.