Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/SedimentLoadParser.java @ 8059:bde5f5ec7c72
SCHEMA CHANGE and Importer: get time intervals of SQ-relations from metalines in sediment load files.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 18 Jul 2014 18:01:49 +0200 |
parents | d86cc6a17b7a |
children | 3ae11daff343 |
comparison
equal
deleted
inserted
replaced
8058:fbe3ba5a480e | 8059:bde5f5ec7c72 |
---|---|
84 protected void handleMetaLine(String line) throws LineParserException { | 84 protected void handleMetaLine(String line) throws LineParserException { |
85 if (handleMetaFraction(line)) { | 85 if (handleMetaFraction(line)) { |
86 return; | 86 return; |
87 } | 87 } |
88 if (handleMetaFractionName(line)) { | 88 if (handleMetaFractionName(line)) { |
89 return; | |
90 } | |
91 if (handleMetaSQTimeInterval(line)) { | |
89 return; | 92 return; |
90 } | 93 } |
91 if (handleColumnNames(line)) { | 94 if (handleColumnNames(line)) { |
92 return; | 95 return; |
93 } | 96 } |
182 | 185 |
183 for (int i = 0, n = columnNames.length; i < n-2; i++) { | 186 for (int i = 0, n = columnNames.length; i < n-2; i++) { |
184 current[i] = new ImportSedimentLoad( | 187 current[i] = new ImportSedimentLoad( |
185 grainFraction, | 188 grainFraction, |
186 getTimeInterval(columnNames[i+1]), | 189 getTimeInterval(columnNames[i+1]), |
190 sqTimeInterval, | |
187 description, | 191 description, |
188 kind); | 192 kind); |
189 } | 193 } |
190 } | 194 } |
191 | 195 |