# HG changeset patch # User Sascha L. Teichmann # Date 1317320385 0 # Node ID a800994aed1e49ef37a5ff52282752dd2fce7749 # Parent a890bf077de57d09d375ea7e6fb7776e89671d35 Fixed issues flys/issue244, flys/issue332 flys-artifacts/trunk@2865 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r a890bf077de5 -r a800994aed1e flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Sep 28 15:47:57 2011 +0000 +++ b/flys-artifacts/ChangeLog Thu Sep 29 18:19:45 2011 +0000 @@ -1,3 +1,12 @@ +2011-09-29 Sascha L. Teichmann + + flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich) + flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5) + + * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding + issue the w's of the first line underun the minimal w of the curve at times. + An extra test was introduced to suppress the output of the q's of the wrong w's. + 2011-09-28 Felix Wolfsteller * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: diff -r a890bf077de5 -r a800994aed1e flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java Wed Sep 28 15:47:57 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java Thu Sep 29 18:19:45 2011 +0000 @@ -139,7 +139,13 @@ out.print(EMPTY); } for (int i = COLUMNS-columns; i < COLUMNS; ++i) { - printQ(out, getQ(startW + i*0.01)); + double w = startW + i*0.01; + if (w < minW) { + out.print(EMPTY); + } + else { + printQ(out, getQ(w)); + } } out.println(); startW += 0.1;