Mercurial > dive4elements > river
changeset 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 | acb63fd3c8d3 |
children | 5eb8b9ae4484 |
files | etl/src/main/java/org/dive4elements/river/etl/aft/SyncContext.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etl/src/main/java/org/dive4elements/river/etl/aft/SyncContext.java Mon Sep 16 09:52:28 2013 +0200 +++ b/etl/src/main/java/org/dive4elements/river/etl/aft/SyncContext.java Mon Sep 16 12:51:22 2013 +0200 @@ -119,6 +119,10 @@ double station = gauge.getStation(); if (station >= from && station <= to) { result.put(entry.getKey(), gauge); + } else { + log.warn("DIPS: Skipping Gauge: " + gauge.getName() + + " because it is at Station: " + station + + " and the river is limited to: " + from + " - " + to); } }