comparison artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixWQCurveGenerator.java @ 6531:52d160b16a4c

FixWQCurveGenerator: Set same tolerance to "at Gauge?"-definition as in other w/q cases.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 02 Jul 2013 15:36:46 +0200
parents 2afe2fe12576
children c5945aca0c8d
comparison
equal deleted inserted replaced
6530:2afe2fe12576 6531:52d160b16a4c
155 155
156 public double getCurrentGaugeDatum() { 156 public double getCurrentGaugeDatum() {
157 if (context.getContextValue(CURRENT_KM) != null) { 157 if (context.getContextValue(CURRENT_KM) != null) {
158 return DischargeCurveGenerator.getCurrentGaugeDatum( 158 return DischargeCurveGenerator.getCurrentGaugeDatum(
159 (Double) context.getContextValue(CURRENT_KM), 159 (Double) context.getContextValue(CURRENT_KM),
160 (D4EArtifact) getMaster(), 0.1d); 160 (D4EArtifact) getMaster(), 1e-4);
161 } 161 }
162 else return 0d; 162 else return 0d;
163 } 163 }
164 164
165 /** Translate River annotations if not at gauge. */ 165 /** Translate River annotations if not at gauge. */

http://dive4elements.wald.intevation.org