Mercurial > dive4elements > river
changeset 2814:bfd6a7ef0ad5
Added a new config option to skip parsing MINFO sediment density values.
flys-backend/trunk@4231 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 13 Apr 2012 09:52:22 +0000 (2012-04-13) |
parents | f121c0f456ab |
children | 3febaed762b8 |
files | flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/importer/Config.java |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/ChangeLog Fri Apr 13 09:45:20 2012 +0000 +++ b/flys-backend/ChangeLog Fri Apr 13 09:52:22 2012 +0000 @@ -1,3 +1,10 @@ +2012-04-13 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/importer/Config.java: Added a new + config option to skip parsing MINFO sediment density values: + + -Dflys.backend.importer.skip.sediment.density=true + 2012-04-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/importer/ImportSedimentDensity.java,
--- a/flys-backend/src/main/java/de/intevation/flys/importer/Config.java Fri Apr 13 09:45:20 2012 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/Config.java Fri Apr 13 09:52:22 2012 +0000 @@ -47,6 +47,9 @@ public static final String SKIP_BED_HEIGHT_EPOCH = "flys.backend.importer.skip.bed.height.epoch"; + public static final String SKIP_SEDIMENT_DENSITY = + "flys.backend.importer.skip.sediment.density"; + public static final Config INSTANCE = new Config(); @@ -112,5 +115,9 @@ public boolean skipBedHeightEpoch() { return Boolean.getBoolean(SKIP_BED_HEIGHT_EPOCH); } + + public boolean skipSedimentDensity() { + return Boolean.getBoolean(SKIP_SEDIMENT_DENSITY); + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :