lisflood-code icon indicating copy to clipboard operation
lisflood-code copied to clipboard

self.var.downstruct

Open agahirpa opened this issue 4 years ago • 0 comments

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?

agahirpa avatar May 19 '20 23:05 agahirpa