[PATCH 1 of 3] Fix total sediment load fetching

Wald Commits scm-commit at wald.intevation.org
Wed Oct 23 17:20:57 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1382541570 -7200
# Node ID 7f438ee10be6cf48679fb4048a40b24cdcb6bece
# Parent  e4c01198f9094c1a027c9a64c86186c0c82b29bf
Fix total sediment load fetching.

diff -r e4c01198f909 -r 7f438ee10be6 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java
--- 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);
         }


More information about the Dive4elements-commits mailing list