Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculator.java @ 9235:d47f6641f597
sinfo.flood_duration step entfernt bei Eingabe 100m-step muss noch hinzugefügt werden
author | gernotbelger |
---|---|
date | Fri, 06 Jul 2018 15:29:12 +0200 |
parents | 0dcd1cd41915 |
children | b515ed950d39 |
comparison
equal
deleted
inserted
replaced
9234:2d4750874c57 | 9235:d47f6641f597 |
---|---|
78 calcRange.getMaximumDouble(), bankKey); | 78 calcRange.getMaximumDouble(), bankKey); |
79 | 79 |
80 // Merge all stations (range/step, borders of gauge ranges, infrastructures) | 80 // Merge all stations (range/step, borders of gauge ranges, infrastructures) |
81 final Map<Double, InfrastructureValue> allStations = new HashMap<>(); | 81 final Map<Double, InfrastructureValue> allStations = new HashMap<>(); |
82 final Map<Double, InfrastructureValue> secondBank = new HashMap<>(); // any second infrastructure in case of both-banks-option | 82 final Map<Double, InfrastructureValue> secondBank = new HashMap<>(); // any second infrastructure in case of both-banks-option |
83 addRangeStations(allStations, winfo); | 83 // addRangeStations(allStations, winfo); //@Schäfer: bitte überprüfen, wie diese Funktion ersetzt werden muss |
84 addGaugeLimits(allStations, durFinders.keySet(), calcRange.getMinimumDouble(), calcRange.getMaximumDouble()); | 84 addGaugeLimits(allStations, durFinders.keySet(), calcRange.getMinimumDouble(), calcRange.getMaximumDouble()); |
85 addInfrastructures(allStations, secondBank, infras); | 85 addInfrastructures(allStations, secondBank, infras); |
86 final double[] stationsSorted = sortStations(allStations.keySet()); | 86 final double[] stationsSorted = sortStations(allStations.keySet()); |
87 | 87 |
88 // Calculate W and Q for all stations and the selected discharge states | 88 // Calculate W and Q for all stations and the selected discharge states |