comparison etl/src/main/java/org/dive4elements/river/etl/aft/SyncContext.java @ 7019:a2d61401bd92

(Issue 1353): Add warning when a gauge is skipped because of station
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 16 Sep 2013 12:51:22 +0200
parents 6f80d5f375fd
children 0a5239a1e46e
comparison
equal deleted inserted replaced
7018:acb63fd3c8d3 7019:a2d61401bd92
117 continue; 117 continue;
118 } 118 }
119 double station = gauge.getStation(); 119 double station = gauge.getStation();
120 if (station >= from && station <= to) { 120 if (station >= from && station <= to) {
121 result.put(entry.getKey(), gauge); 121 result.put(entry.getKey(), gauge);
122 } else {
123 log.warn("DIPS: Skipping Gauge: " + gauge.getName() +
124 " because it is at Station: " + station +
125 " and the river is limited to: " + from + " - " + to);
122 } 126 }
123 } 127 }
124 128
125 return result; 129 return result;
126 } 130 }

http://dive4elements.wald.intevation.org