Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportGauge.java @ 4135:ac93f397018d
Importer: Ignore historical discharge tables.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 15 Oct 2012 14:03:47 +0200 |
parents | fe89d6cf55fb |
children | 11bcace6f2fe |
comparison
equal
deleted
inserted
replaced
4134:9c78264109ad | 4135:ac93f397018d |
---|---|
160 setDischargeTable(afp.parse(getAtFile())); | 160 setDischargeTable(afp.parse(getAtFile())); |
161 parseHistoricalDischargeTables(); | 161 parseHistoricalDischargeTables(); |
162 } | 162 } |
163 | 163 |
164 public void parseHistoricalDischargeTables() throws IOException { | 164 public void parseHistoricalDischargeTables() throws IOException { |
165 if (Config.INSTANCE.skipHistoricalDischargeTables()) { | |
166 log.info("skip historical discharge tables"); | |
167 return; | |
168 } | |
169 | |
165 log.info("parse historical discharge tables"); | 170 log.info("parse historical discharge tables"); |
166 | 171 |
167 File riverDir = atFile.getParentFile().getParentFile(); | 172 File riverDir = atFile.getParentFile().getParentFile(); |
168 | 173 |
169 File histDischargeDir = FileTools.repair( | 174 File histDischargeDir = FileTools.repair( |