changeset 9530:144a184a414d

Tkh: d50 converted to mm for output
author mschaefer
date Tue, 02 Oct 2018 18:07:22 +0200
parents 429b62373633
children 267ac3012150
files artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/TkhCalculator.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/TkhCalculator.java	Tue Oct 02 16:41:35 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/TkhCalculator.java	Tue Oct 02 18:07:22 2018 +0200
@@ -162,7 +162,7 @@
             return TkhCalculateState.NO_SOILKIND;
 
         final double d50 = getBedMeasurement(km);
-        row.putValue(SInfoResultType.d50, d50);
+        row.putValue(SInfoResultType.d50, d50 * 1000);
         if (Double.isNaN(d50))
             return TkhCalculateState.NO_D50;
 

http://dive4elements.wald.intevation.org