changeset 7430:7f438ee10be6

Fix total sediment load fetching.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 23 Oct 2013 17:19:30 +0200
parents e4c01198f909
children b65eb09fd74a
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java	Wed Oct 23 17:08:07 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java	Wed Oct 23 17:19:30 2013 +0200
@@ -781,6 +781,9 @@
         else if (fraction.equals("susp_sand_bed")) {
             load.setSuspSandBed(km, v, range);
         }
+        else if (fraction.equals("total")) {
+            load.setLoadTotal(km, v, range);
+        }
         else {
             log.error("Unknown fraction type " + fraction);
         }

http://dive4elements.wald.intevation.org