Skip to content
Snippets Groups Projects

Grid mask support

Merged Sebastian Müller requested to merge grid_mask_support into main
All threads resolved!
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -36,6 +36,11 @@ class GridBase(ABC):
def mask(self):
"""np.ndarray or None: Data mask."""
@property
def any_masked(self):
"""bool: Whether any point in the grid is masked."""
return self.mask is not None and np.any(self.mask)
@property
@abstractmethod
def dim(self):
Loading