comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java @ 5379:61bf64b102bc mapgenfix

Merge with default branch
author Christian Lins <christian.lins@intevation.de>
date Fri, 22 Mar 2013 11:25:54 +0100
parents a929d9a9fa1e
children
comparison
equal deleted inserted replaced
5175:cfc5540a4eec 5379:61bf64b102bc
23 23
24 import org.apache.commons.math.FunctionEvaluationException; 24 import org.apache.commons.math.FunctionEvaluationException;
25 25
26 import org.apache.log4j.Logger; 26 import org.apache.log4j.Logger;
27 27
28 /** Write AT files. */
28 public class ATWriter 29 public class ATWriter
29 { 30 {
30 private static Logger logger = Logger.getLogger(ATWriter.class); 31 private static Logger logger = Logger.getLogger(ATWriter.class);
31 32
32 public static final int COLUMNS = 10; 33 public static final int COLUMNS = 10;
154 double scale) 155 double scale)
155 throws IOException 156 throws IOException
156 { 157 {
157 PrintWriter out = new PrintWriter(writer); 158 PrintWriter out = new PrintWriter(writer);
158 159
159 // a header is required, because the desktop version of FLYS will skip 160 // A header is required, because the desktop version of FLYS will skip
160 // the first row. 161 // the first row.
161 if (gName != null) { 162 if (gName != null) {
162 printGaugeHeader(out, meta, river, km, gName, datum, date); 163 printGaugeHeader(out, meta, river, km, gName, datum, date);
163 } 164 }
164 else { 165 else {

http://dive4elements.wald.intevation.org