mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 01:34:04 +00:00
Junction errors name window
- Reach indexes take their window key and name it when a reach id appears twice in one plan - Window planning passes its key through reach shaping, pond-channel settlement and confluence grading - A downstream reach starting above its feeder's end fails closed naming the window - Index, grader and plan-cache tests check that each failure names its window
This commit is contained in:
1 parent
41e38debad
commit
358f7218f8
17 files changed
+101
-64
No files matched your search
@@ -87,7 +87,7 @@ final class HydrologyPlanHarness {
|
||||
double started = cpuMillis();
|
||||
try {
|
||||
WindowPlan plan = planners.windows().plan(key, needed);
|
||||
windows.put(key, new IndexedWindow(plan, ReachIndex.build(plan.reaches(), plan.ponds())));
|
||||
windows.put(key, new IndexedWindow(plan, ReachIndex.build(plan.key(), plan.reaches(), plan.ponds())));
|
||||
} catch (RuntimeException failure) {
|
||||
failures.add("window " + key.wx() + "," + key.wz() + " plan: " + cause(failure));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user