Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java @ 2311:b8df8d1476ba
Compute differences between discharge table values and reference discharge table values in historical discharge curve calculation.
flys-artifacts/trunk@3991 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 09 Feb 2012 10:57:35 +0000 |
parents | 89ca1e8572e4 |
children | 2c96222dd773 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java Thu Feb 09 10:21:16 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java Thu Feb 09 10:57:35 2012 +0000 @@ -153,7 +153,7 @@ NumberFormat wf = Formatter.getHistoricalDischargeW(context); NumberFormat qf = Formatter.getHistoricalDischargeQ(context); - double[] wq = new double[2]; + double[] wq = new double[3]; String gaugeName = getReferenceGaugename(); @@ -168,7 +168,7 @@ df.format(start) + " - " + df.format(end), wf.format(wq[0]), qf.format(wq[1]), - "TODO: Difference to reference curve", + qf.format(wq[2]), gaugeName }); }