diff artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java @ 7369:6bc884bab32e

SedimentYieldArtifact: Accept 'total' load, genreate facet for it.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 17 Oct 2013 07:46:36 +0200
parents 24023630f693
children ab17c76611f9
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java	Thu Oct 17 07:45:41 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java	Thu Oct 17 07:46:36 2013 +0200
@@ -176,6 +176,9 @@
             else if (fraction.equals("suspended_sediment")) {
                 facetType = SEDIMENT_LOAD_SUSP_SEDIMENT;
             }
+            else if (fraction.equals("total")) {
+                facetType = SEDIMENT_LOAD_TOTAL_LOAD;
+            }
             else {
                 logger.error("Do not know fraction type " + fraction);
             }

http://dive4elements.wald.intevation.org