changeset 4136:b6ba9bbb5122

#548 Fetch historical discharge table values with SCALE=1.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 15 Oct 2012 14:52:57 +0200 (2012-10-15)
parents ac93f397018d
children 9be8d7942284 1d9c9a3493ea
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <ingo@intevation.de>
+
+	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	<felix.wolfsteller@intevation.de>
 
 	Improve on issue945/6
--- 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) {

http://dive4elements.wald.intevation.org