Return a binary missing data mask of the data array.
The binary mask’s data array comprises dimensionless 8-bit integers and has 0 where the data array has missing data and 1 otherwise.
Returns : |
|
---|
Examples
>>> print d.mask.array
[[ True False True False]]
>>> b = d.binary_mask().array
>>> print b
[[0 1 0 1]]