# HG changeset patch # User Ingo Weinzierl # Date 1350305577 -7200 # Node ID b6ba9bbb51225b133e6c1fe3222435bae81e3dea # Parent ac93f397018def7bc55bd0fcce8f68cd94c88a08 #548 Fetch historical discharge table values with SCALE=1. diff -r ac93f397018d -r b6ba9bbb5122 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Mon Oct 15 14:03:47 2012 +0200 +++ b/flys-artifacts/ChangeLog Mon Oct 15 14:52:57 2012 +0200 @@ -1,3 +1,13 @@ +2012-10-15 Ingo Weinzierl + + flys/issue548 + + * src/main/java/de/intevation/flys/artifacts/model/Calculation6.java: + Use SCALE=1 for fetching values of a discharge table. In future, all + discharge tables should be stored in [cm] in database. Currently, + historical discharge tables are in [cm], so no transformation is + necessary. + 2012-10-13 Felix Wolfsteller Improve on issue945/6 diff -r ac93f397018d -r b6ba9bbb5122 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java Mon Oct 15 14:03:47 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java Mon Oct 15 14:52:57 2012 +0200 @@ -26,7 +26,7 @@ public static final int MODE_W = 0; public static final int MODE_Q = 1; - public static final double SCALE = 100d; + public static final double SCALE = 1d; public Calculation6(int mode, long[] timerange, double[] values) {