shoot.hydrology.Anomaly.is_valid#
- Anomaly.is_valid(x, y)[source]#
Test if grid points are outside all eddy boundary contours
Used to select background (outside) profiles that are not contaminated by any eddy.
- Parameters:
x (array-like) – Grid indices along X.
y (array-like) – Grid indices along Y.
- Returns:
True for points outside all eddy contours.
- Return type:
ndarray of bool