mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
debug
This commit is contained in:
1 parent
421e6797f6
commit
c0d4aced5e
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -1282,7 +1282,7 @@ class Mage8(Mage):
|
||||
logger.info(f"compute river bed elevation...")
|
||||
|
||||
for r in reachs:
|
||||
z_min = reach.geometry.get_z_min()
|
||||
z_min = r.geometry.get_z_min()
|
||||
sls = list(map(
|
||||
lambda p: p.get_ts_key(ts_list[0], "sl")[0],
|
||||
r.profiles
|
||||
|
||||
@@ -1683,7 +1683,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
for key in ["Z", "Q", "V"]:
|
||||
d1 = profile1.get_ts_key(timestamp, key)
|
||||
d2 = profile2.get_ts_key(timestamp, key)
|
||||
d = d1-d2
|
||||
d = d1 - d2
|
||||
reach3.set(p, timestamp, key, d)
|
||||
reach4.set(p, timestamp, key, d1)
|
||||
reach5.set(p, timestamp, key, d2)
|
||||
@@ -1694,7 +1694,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
d2 = profile2.get_ts_key(timestamp, 'zfd')
|
||||
reach5.set(p, timestamp, 'zfd', d2)
|
||||
if reach1.has_bedload():
|
||||
d3 = d1-d2
|
||||
d3 = d1 - d2
|
||||
reach3.set(p, timestamp, 'zfd', d3)
|
||||
|
||||
limits = reach3.profile(p).geometry.get_water_limits(
|
||||
|
||||
Reference in new issue
Block a user