cdms2.axis

mapLinearIntersection(xind, yind, iind, aMinusEps, aPlusEps, bPlusEps, bMinusEps, boundLeft, nodeSubI, boundRight)[source]

Map Linear Intersection

Parameters
xindc’ if (a,b) is closed on the left, ‘o’ if open,
yindsame for right endpoint j
Returns
True if the coordinate interval (a,b) intersects the node nodeSubI or cell
bounds [boundLeft,boundRight], where the interval (a,b) is defined by:
  • aMinusEps,aPlusEps = a +/- epsilon

  • bPlusEps,bMinusEps = b +/- epsilon

and the intersection option iind = ‘n’,’b’,’e’,’s’ specifies whether
the intersection is with respect to the node value nodeSubI (‘n’ or ‘e’)
or the cell bounds [boundLeft,boundRight].

See also

mapLinearExt