# HG changeset patch # User Felix Wolfsteller # Date 1381988796 -7200 # Node ID 6bc884bab32eca1c2734f22888a64fb708e5b09b # Parent 9eef5004ff21dd0671519709e6c64e2ba8737489 SedimentYieldArtifact: Accept 'total' load, genreate facet for it. diff -r 9eef5004ff21 -r 6bc884bab32e artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java --- 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); }