comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/collision/GaugeDischargeZoneFinder.java @ 9195:a4121ec450d6

'ca.'-issue ExportContextCSV+PDF separated uinfo.inundationduration url export
author gernotbelger
date Fri, 29 Jun 2018 14:52:54 +0200
parents f9bb5d0a6ff3
children
comparison
equal deleted inserted replaced
9191:f692f5a0536a 9195:a4121ec450d6
34 34
35 private final Calculation problems; 35 private final Calculation problems;
36 36
37 private final NavigableMap<Double, MainValue> qZones; 37 private final NavigableMap<Double, MainValue> qZones;
38 38
39 private final String approxPrefix = "ca."; // "\u2248" geht wohl nicht 39 private final String approxPrefix = "\u2248";// "ca.";
40
41 40
42 /***** CONSTRUCTORS *****/ 41 /***** CONSTRUCTORS *****/
43 42
44 private GaugeDischargeZoneFinder(final Gauge gauge, final Calculation problems) { 43 private GaugeDischargeZoneFinder(final Gauge gauge, final Calculation problems) {
45 this.gauge = gauge; 44 this.gauge = gauge;
46 this.problems = problems; 45 this.problems = problems;
47 this.qZones = new TreeMap<>(); 46 this.qZones = new TreeMap<>();
48 for (final MainValue mainValue : MainValue.getValuesOfGaugeAndType(gauge, MainValueTypeKey.Q)) 47 for (final MainValue mainValue : MainValue.getValuesOfGaugeAndType(gauge, MainValueTypeKey.Q))
49 this.qZones.put(Double.valueOf(mainValue.getValue().doubleValue()), mainValue); 48 this.qZones.put(Double.valueOf(mainValue.getValue().doubleValue()), mainValue);
50 } 49 }
51
52 50
53 /***** METHODS *****/ 51 /***** METHODS *****/
54 52
55 /** 53 /**
56 * Loads the the main discharge table of a gauge (GAUGE.at) 54 * Loads the the main discharge table of a gauge (GAUGE.at)

http://dive4elements.wald.intevation.org