Get mask of invalid values from the raster.
If the raster is not loaded, reads only the mask from disk to optimize memory usage.
The mask is always returned as a boolean array, even if there is no mask associated to .data (nomask property
of masked arrays).
- Return type:
ndarray[tuple[Any, ...], dtype[bool]]
- Returns:
The mask of invalid values in the raster.