changeset 6257:165f60f420cf

Bring bedload average diameter to 'mm'.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 11 Jun 2013 09:12:35 +0200
parents 4ab5277e7e89
children 11d76162eca1
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java	Tue Jun 11 08:44:38 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java	Tue Jun 11 09:12:35 2013 +0200
@@ -253,7 +253,7 @@
             List<QualityMeasurement> measurements = qm.getMeasurements(km);
             double mid = calculateAverage(measurements, diameter);
             location.add(km);
-            avDiameter.add(mid);
+            avDiameter.add(mid * 1000);
         }
         return new BedloadDiameterResult(
             diameter,

http://dive4elements.wald.intevation.org