mirror of https://gitlab.com/pamhyr/pamhyr2
Solver: Mage: Comment setter Z, Q and V into profile and bufferize and fix indent.
parent
0a1760cee6
commit
a61d130baa
|
|
@ -1161,7 +1161,7 @@ class Mage8(Mage):
|
|||
ri = i - reach_offset[reach]
|
||||
|
||||
# Set data for profile RI
|
||||
reach.set(ri, timestamp, key, d)
|
||||
# reach.set(ri, timestamp, key, d)
|
||||
if key == "Z":
|
||||
profile = reach.profile(ri)
|
||||
limits = profile.geometry.get_water_limits(d)
|
||||
|
|
@ -1201,7 +1201,7 @@ class Mage8(Mage):
|
|||
table["Q"][ti, p.global_index],
|
||||
table["Z"][ti, p.global_index],
|
||||
)
|
||||
r.set(pi, t, "V", v)
|
||||
# r.set(pi, t, "V", v)
|
||||
velocity_arr[ti, j] = v
|
||||
j += 1
|
||||
|
||||
|
|
@ -1210,9 +1210,9 @@ class Mage8(Mage):
|
|||
|
||||
logger.info(f"read_bin: ... end with {len(ts)} timestamp read")
|
||||
|
||||
results.bufferize("Z")
|
||||
results.bufferize("Q")
|
||||
results.bufferize("V")
|
||||
# results.bufferize("Z")
|
||||
# results.bufferize("Q")
|
||||
# results.bufferize("V")
|
||||
logger.info(f"reading time: '{time.time() - start}'")
|
||||
|
||||
@timer
|
||||
|
|
|
|||
Loading…
Reference in New Issue