Closed opsdep closed 3 years ago
Previous code has a bug in the algorithm. The bug is at the beginning of the for loop, it ignores the previous mask. By initializing the mask before the for loop and update it with np.ma.mask_or the correct algorithm is applied and the bug is fixed.
Previous code has a bug in the algorithm. The bug is at the beginning of the for loop, it ignores the previous mask. By initializing the mask before the for loop and update it with np.ma.mask_or the correct algorithm is applied and the bug is fixed.