[Dive4elements-commits] [PATCH 1 of 2] Added new parameter SKIP_DA66S to importer

Wald Commits scm-commit at wald.intevation.org
Wed Dec 19 13:58:33 CET 2012


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1355921997 -3600
# Node ID 35dd03e04e38c445d794296e46d66f7111c63335
# Parent  0ad7141c7dccf63574656cffef61689c8bcd62e6
Added new parameter SKIP_DA66S to importer.

diff -r 0ad7141c7dcc -r 35dd03e04e38 flys-backend/contrib/run_hydr_morph.sh
--- a/flys-backend/contrib/run_hydr_morph.sh	Wed Dec 19 11:41:51 2012 +0100
+++ b/flys-backend/contrib/run_hydr_morph.sh	Wed Dec 19 13:59:57 2012 +0100
@@ -29,6 +29,7 @@
 IMPORTER_SKIP_ANNOTATIONS=false
 IMPORTER_SKIP_WST=false
 IMPORTER_SKIP_PRFS=false
+IMPORTER_SKIP_DA66S=false
 IMPORTER_SKIP_HYKS=false
 IMPORTER_SKIP_EXTRA_WST=false
 IMPORTER_SKIP_FIXATIONS=false
@@ -81,6 +82,7 @@
     -Dflys.backend.importer.skip.gauges=$IMPORTER_SKIP_GAUGES \
     -Dflys.backend.importer.skip.annotations=$IMPORTER_SKIP_ANNOTATIONS \
     -Dflys.backend.importer.skip.prfs=$IMPORTER_SKIP_PRFS \
+    -Dflys.backend.importer.skip.da66s=$IMPORTER_SKIP_DA66S \
     -Dflys.backend.importer.skip.hyks=$IMPORTER_SKIP_HYKS \
     -Dflys.backend.importer.skip.wst=$IMPORTER_SKIP_WST \
     -Dflys.backend.importer.skip.extra.wsts=$IMPORTER_SKIP_EXTRA_WST \
diff -r 0ad7141c7dcc -r 35dd03e04e38 flys-backend/src/main/java/de/intevation/flys/importer/Config.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/Config.java	Wed Dec 19 11:41:51 2012 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/Config.java	Wed Dec 19 13:59:57 2012 +0100
@@ -50,6 +50,9 @@
     public static final String SKIP_BED_HEIGHT_SINGLE =
         "flys.backend.importer.skip.bed.height.single";
 
+    public static final String SKIP_DA66S =
+        "flys.backend.importer.skip.da66s";
+
     public static final String SKIP_BED_HEIGHT_EPOCH =
         "flys.backend.importer.skip.bed.height.epoch";
 
@@ -146,6 +149,10 @@
         return getFlag(SKIP_FLOOD_PROTECTION);
     }
 
+    public boolean skipDA66s() {
+        return getFlag(SKIP_DA66S);
+    }
+
     public boolean skipBedHeightSingle() {
         return getFlag(SKIP_BED_HEIGHT_SINGLE);
     }


More information about the Dive4elements-commits mailing list