API
For Contributors
Read 8 bit arrays as a succession of binary masks.
Forces array to np.uint8.
np.uint8
See read_bit_array.
read_bit_array
bit_mask (np.ndarray) – Bit array to read
bit_id (int) – Bit ID of the slice to be read Example: read the bit 0 of the mask as a cloud mask (Theia)
Binary mask or list of binary masks if a list of bit_id is given
Union[np.ndarray, list]