Set a mask on the raster array.
All pixels where mask is set to True or > 0 will be masked (in addition to previously masked pixels).
Masking is performed in place. The mask must have the same shape as loaded data,
unless the first dimension is 1, then it is ignored.
- Parameters:
mask (ndarray
[Any
, dtype
[bool_
]] | Mask
) – The raster array mask.
- Return type:
None