Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/DIPSGauge.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 | 2b7f44c80857 |
children |
comparison
equal
deleted
inserted
replaced
5175:cfc5540a4eec | 5379:61bf64b102bc |
---|---|
111 aeo = Double.parseDouble(aeoString); | 111 aeo = Double.parseDouble(aeoString); |
112 | 112 |
113 String stationString = element.getAttribute("STATIONIERUNG"); | 113 String stationString = element.getAttribute("STATIONIERUNG"); |
114 if (stationString.length() == 0) { | 114 if (stationString.length() == 0) { |
115 log.warn("DIPS: Setting station of gauge '" + name + "' to zero."); | 115 log.warn("DIPS: Setting station of gauge '" + name + "' to zero."); |
116 stationString = "0"; | 116 stationString = "-99999"; |
117 } | 117 } |
118 station = Double.parseDouble(stationString); | 118 station = Double.parseDouble(stationString); |
119 if (station == 0d) { | 119 if (station == 0d) { |
120 log.warn("DIPS: Station of gauge '" + name + "' is zero."); | 120 log.warn("DIPS: Station of gauge '" + name + "' is zero."); |
121 } | 121 } |