changeset 6310:3ac657d60e60

Don't print two header at calculated gauges
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 12 Jun 2013 17:45:56 +0200
parents ebba1a795d76
children c4c7ed0e5ffc
files artifacts/src/main/java/org/dive4elements/river/exports/ATWriter.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/ATWriter.java	Wed Jun 12 17:45:35 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/ATWriter.java	Wed Jun 12 17:45:56 2013 +0200
@@ -192,9 +192,10 @@
         // A header is required, because the desktop version of FLYS will skip
         // the first row.
         if (gName != null) {
-            printGaugeHeader(out, meta, river, km, gName, datum, date, unit);
             if (isCalculation) {
                 printCalculatedGaugeHeader(out, meta, river, km, gName, datum, date, unit);
+            } else {
+                printGaugeHeader(out, meta, river, km, gName, datum, date, unit);
             }
         }
         else {

http://dive4elements.wald.intevation.org