work on vater limits for top view visualization

This commit is contained in:
Theophile Terraz committed 2023-11-30 15:06:00 +01:00
1 parent d79a0cc973
commit 21197ead23
3 files changed
+51

No files matched your search

+6
View File
@@ -813,6 +813,12 @@ class Mage8(Mage):
# Set data for profile RI
reach.set(ri, timestamp, key, d)
if key == "Z":
profile = study.river.current_reach().reach.profile(ri)
ptX,ptY = profile.get_water_limits(d)
reach.set(ri, timestamp, "ptX", ptX)
reach.set(ri, timestamp, "ptY", ptY)
endline()
end = newline().size <= 0