Solver: Mage: Comment setter Z, Q and V into profile and bufferize and fix indent.

opt-result
Pierre-Antoine 2026-07-02 11:00:59 +02:00
parent 0a1760cee6
commit a61d130baa
1 changed files with 23 additions and 23 deletions

View File

@ -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