Closed hoangtv1899 closed 3 years ago
@hoangtv1899 .. None of this code generates mask values, but only reads them. We can make our code tolerant of nans/99999 values if we need to though, so if you can clarify exactly what problem you're seeing we can sort it out.
Mask values in all functions are internally converted to booleans depending on whether they are >0 or not. This is the behavior in version 1.0.3 and above. We have no control over the incoming mask values of course. Closing this.
During the overland flow calculation, mask values should be 0 (outside of the domain) and 1 (inside of the domain) in order to calculate correctly.