lisflood-code
lisflood-code copied to clipboard
self.var.downstruct
The self.var.downstruct in routing.py creates some negative values, which creates problem with lakes and reservoir modules.
Is it reasonable to add the following self.var.downstruct[self.var.downstruct < 0] = maskinfo.info.mapC[0]
after [self.var.downstruct[lddC == 5] = maskinfo.info.mapC[0]]
to make sure that no negative value exists in self.var.downstruct?