changeset 5807:b9ae676a9afe

Config: Add new flag to skip w80-csv imports (which are not done yet anyways).
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 24 Apr 2013 11:36:20 +0200
parents afcad84755f9
children c69ce591e3ea
files flys-backend/contrib/run_hydr_morph.sh flys-backend/src/main/java/de/intevation/flys/importer/Config.java
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/contrib/run_hydr_morph.sh	Wed Apr 24 11:32:54 2013 +0200
+++ b/flys-backend/contrib/run_hydr_morph.sh	Wed Apr 24 11:36:20 2013 +0200
@@ -39,6 +39,7 @@
 IMPORTER_SKIP_OFFICIAL_LINES=false
 IMPORTER_SKIP_PRFS=false
 IMPORTER_SKIP_W80S=false
+IMPORTER_SKIP_W80_CSVS=false
 IMPORTER_SKIP_WST=false
 
 IMPORTER_SKIP_BED_HEIGHT_SINGLE=false
@@ -95,6 +96,7 @@
     -Dflys.backend.importer.skip.sediment.yield=$IMPORTER_SKIP_SEDIMENT_YIELD \
     -Dflys.backend.importer.skip.sq.relation=$IMPORTER_SKIP_SQ_RELATION \
     -Dflys.backend.importer.skip.w80s=$IMPORTER_SKIP_W80S \
+    -Dflys.backend.importer.skip.w80.csvs=$IMPORTER_SKIP_W80_CSVS \
     -Dflys.backend.importer.skip.waterlevels=$IMPORTER_SKIP_WATERLEVELS \
     -Dflys.backend.importer.skip.waterlevel.differences=$IMPORTER_SKIP_WATERLEVEL_DIFFERENCES \
     -Dflys.backend.importer.skip.wst=$IMPORTER_SKIP_WST \
--- a/flys-backend/src/main/java/de/intevation/flys/importer/Config.java	Wed Apr 24 11:32:54 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/Config.java	Wed Apr 24 11:36:20 2013 +0200
@@ -35,6 +35,9 @@
     public static final String SKIP_W80S =
         "flys.backend.importer.skip.w80s";
 
+    public static final String SKIP_W80_CSVS =
+        "flys.backend.importer.skip.w80.csvs";
+
     public static final String SKIP_HYKS =
         "flys.backend.importer.skip.hyks";
 
@@ -138,6 +141,10 @@
         return getFlag(SKIP_DA50S);
     }
 
+    public boolean skipW80CSVs() {
+        return getFlag(SKIP_W80_CSVS);
+    }
+
     public boolean skipW80s() {
         return getFlag(SKIP_W80S);
     }

http://dive4elements.wald.intevation.org