changeset 481:73052199f9f6

Fixed flys/issue19 flys-backend/trunk@1794 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 02 May 2011 15:58:58 +0000
parents 46bb2b9e0bdc
children 3a99d0295006
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/importer/WstParser.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Mon May 02 11:33:32 2011 +0000
+++ b/flys-backend/ChangeLog	Mon May 02 15:58:58 2011 +0000
@@ -1,3 +1,8 @@
+2011-05-02	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/importer/WstParser.java:
+	  Fixed flys/issue19: Do not take km column in wst file as a water level.
+
 2011-05-02  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/model/Gauge.java: Introduced a 'scale'
--- a/flys-backend/src/main/java/de/intevation/flys/importer/WstParser.java	Mon May 02 11:33:32 2011 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/WstParser.java	Mon May 02 15:58:58 2011 +0000
@@ -240,7 +240,7 @@
 
                     // extract values
                     for (int i = 0; i < columnCount; ++i) {
-                        addValue(kaem, data[i], i);
+                        addValue(kaem, data[i+1], i);
                     }
 
                 }

http://dive4elements.wald.intevation.org