[PATCH 7 of 9] SedimentYieldArtifact: Accept 'total' load, genreate facet for it
Wald Commits
scm-commit at wald.intevation.org
Thu Oct 17 08:51:33 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# 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);
}
More information about the Dive4elements-commits
mailing list