Commit 948517d
committed
fix: mask_output fvd aggregation
If a output_parameters->stream_output->mask_output file was
configured, the flows, velocities, and depths written to disk are an
erroneous mixture of flows, velocities, and depths. For example, the
flow field for a given feature_id contains values for a mixture of
aggregated flows, velocities, and depths. Not the expected flows.
This patch corrects this behavior so the expected aggregated flows _and_
depths are written. However, I am not certain that velocities are
correctly aggregated. I observed NAN values returned for aggregated
velocities. The `optimized_v_data` subroutine needs to be checked to
ensure velocity values are correctly aggregated.1 parent 12a8eae commit 948517d
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2336 | 2336 | | |
2337 | 2337 | | |
2338 | 2338 | | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
2339 | 2342 | | |
2340 | 2343 | | |
2341 | 2344 | | |
| |||
0 commit comments