[PATCH 10 of 15] issue1658: Fix SedimentLoadLSGenerator (with surprise: isnt that done via processors?)

Wald Commits scm-commit at wald.intevation.org
Fri Nov 1 18:12:00 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1383320239 -3600
# Node ID 4efa34256b62189e787d0f5d1a55e47aaa675c85
# Parent  83b7b957c360d41bc060ea47406cae0f5d34c566
issue1658: Fix SedimentLoadLSGenerator (with surprise: isnt that done via processors?).

diff -r 83b7b957c360 -r 4efa34256b62 artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java	Fri Nov 01 16:31:24 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java	Fri Nov 01 16:37:19 2013 +0100
@@ -133,7 +133,7 @@
             context.putContextValue("startkm", bounds.getLower());
             context.putContextValue("endkm", bounds.getUpper());
         }
-        if (FacetTypes.IS.SEDIMENT_LOAD(name)) {
+        if (FacetTypes.IS.SEDIMENT_LOAD_TA(name)||FacetTypes.IS.SEDIMENT_LOAD_M3A(name)){
             doSedimentLoadOut(
                 (double[][]) bundle.getData(context),
                 bundle,


More information about the Dive4elements-commits mailing list