# HG changeset patch # User Björn Ricks # Date 1354034378 -3600 # Node ID 9745f37c0d52a989341fe641ba3ef241636bd9f5 # Parent 5d19a291bd9f96bd2ee2b75f9a49878f0ffdbe20 Use constant from DischargeTables for the scaling factor Don't hardcode the scaling factor in the GaugeDischargeCurveFacet. Instead use the constant scaling factor from the DischargeTables. diff -r 5d19a291bd9f -r 9745f37c0d52 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java Tue Nov 27 17:38:23 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/GaugeDischargeCurveFacet.java Tue Nov 27 17:39:38 2012 +0100 @@ -59,7 +59,8 @@ DischargeTables dt = new DischargeTables(river, name); - Map map = dt.getValues(100d); + Map map = dt.getValues( + DischargeTables.HISTORICAL_SCALE); double [][] values = map.get(name); if (values == null) {