[Dive4elements-commits] [PATCH] AT-Parser: Do not change unit of W and Q in discharge tables

Wald Commits scm-commit at wald.intevation.org
Mon Jun 10 21:26:25 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1370892382 -7200
# Node ID 9c597ccda611a742aa0c2143a3ea7b5ed36fe79d
# Parent  69a4082b8d8ec788253d9966ecdd398bf2af22f2
AT-Parser: Do not change unit of W and Q in discharge tables

diff -r 69a4082b8d8e -r 9c597ccda611 backend/src/main/java/org/dive4elements/river/importer/parsers/AtFileParser.java
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/AtFileParser.java	Mon Jun 10 16:30:41 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/AtFileParser.java	Mon Jun 10 21:26:22 2013 +0200
@@ -132,8 +132,8 @@
 
                     dischargeTable.addDischargeTableValue(
                         new ImportDischargeTableValue(
-                            new BigDecimal(iQ/100.0),
-                            new BigDecimal(iW/100.0)));
+                            new BigDecimal(iQ),
+                            new BigDecimal(iW)));
                 }
 
                 beginning = false;


More information about the Dive4elements-commits mailing list