[Dive4elements-commits] [PATCH 3 of 7] Config: Add new flag to skip w80-csv imports (which are not done yet anyways)
Wald Commits
scm-commit at wald.intevation.org
Wed Apr 24 14:41:46 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1366796180 -7200
# Node ID b9ae676a9afe6f999dcc149114689fd7610d1bb7
# Parent afcad84755f9474231347621e176c15fb8212a90
Config: Add new flag to skip w80-csv imports (which are not done yet anyways).
diff -r afcad84755f9 -r b9ae676a9afe flys-backend/contrib/run_hydr_morph.sh
--- 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 \
diff -r afcad84755f9 -r b9ae676a9afe flys-backend/src/main/java/de/intevation/flys/importer/Config.java
--- 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);
}
More information about the Dive4elements-commits
mailing list