Mercurial > dive4elements > river
changeset 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 | 9eef5004ff21 |
children | 4eccd72595ee |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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); }