[Dive4elements-commits] [PATCH 1 of 7] Bring bedload average diameter to 'mm'
Wald Commits
scm-commit at wald.intevation.org
Tue Jun 11 09:21:27 CEST 2013
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1370934755 -7200
# Node ID 165f60f420cfc14ce8dcac761c0e317fdc36ac24
# Parent 4ab5277e7e891e622d74f4a1f1c50f6031f0ebae
Bring bedload average diameter to 'mm'.
diff -r 4ab5277e7e89 -r 165f60f420cf artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java
--- 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,
More information about the Dive4elements-commits
mailing list