# HG changeset patch # User Sascha L. Teichmann # Date 1346833436 0 # Node ID 83c0735092a39013dc699aae471a14c45df04d1c # Parent 1dc904370a6476de42d9c44bf670494d3f37bcd3 FixA: Increase Q max about 5% if storing as AT file. flys-artifacts/trunk@5362 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 1dc904370a64 -r 83c0735092a3 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Tue Sep 04 17:32:37 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed Sep 05 08:23:56 2012 +0000 @@ -1,3 +1,8 @@ +2012-09-05 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java: + Increase Q max about 5% (as it should be). + 2012-09-04 Sascha L. Teichmann Fix for issue687 diff -r 1dc904370a64 -r 83c0735092a3 flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java Tue Sep 04 17:32:37 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixATWriter.java Wed Sep 05 08:23:56 2012 +0000 @@ -68,6 +68,9 @@ de.intevation.flys.artifacts.math.Function funcInst = function.instantiate(coeffs); + // Increase Q max about 5%. + qMax[0] += Math.abs(qMax[0])*0.05; + double wMax = funcInst.value(qMax[0]); if (Double.isNaN(wMax) || wMax < 0d) {