mirror of https://gitlab.com/pamhyr/pamhyr2
Solver: Mage: Fix read bin.
parent
f56d87f648
commit
7ae64d390f
|
|
@ -1009,10 +1009,8 @@ class Mage8(Mage):
|
||||||
# Set data for profile RI
|
# Set data for profile RI
|
||||||
reach.set(ri, timestamp, key, d)
|
reach.set(ri, timestamp, key, d)
|
||||||
if key == "Z":
|
if key == "Z":
|
||||||
profile = study.river\
|
profile = reach.profile(ri)
|
||||||
.current_reach()\
|
ptX, ptY = profile.geometry.get_water_limits(d)
|
||||||
.reach.profile(ri)
|
|
||||||
ptX, ptY = profile.get_water_limits(d)
|
|
||||||
reach.set(ri, timestamp, "ptX", ptX)
|
reach.set(ri, timestamp, "ptX", ptX)
|
||||||
reach.set(ri, timestamp, "ptY", ptY)
|
reach.set(ri, timestamp, "ptY", ptY)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue