Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java @ 5050:e6dc908297e8
ImportRiver: Make waterlevels become fixation-wsts.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 20 Feb 2013 12:15:01 +0100 |
parents | 25c180fa6162 |
children | 2847371be7fe |
comparison
equal
deleted
inserted
replaced
5049:b5e3df1feeb4 | 5050:e6dc908297e8 |
---|---|
559 | 559 |
560 for (File file: files) { | 560 for (File file: files) { |
561 parser.parse(file); | 561 parser.parse(file); |
562 } | 562 } |
563 | 563 |
564 waterlevels = parser.getWaterlevels(); | 564 // The parsed ImportWaterlevels are converted to |
565 // 'fixation'-wsts now. | |
566 for(ImportWst iw: parser.exportWsts()) { | |
567 //iw.setDescription("CSV" + iw.getDescription()); | |
568 fixations.add(iw); | |
569 } | |
565 } | 570 } |
566 | 571 |
567 protected void parseMeasurementStations() throws IOException { | 572 protected void parseMeasurementStations() throws IOException { |
568 if (Config.INSTANCE.skipMeasurementStations()) { | 573 if (Config.INSTANCE.skipMeasurementStations()) { |
569 log.info("skip parsing measurement stations"); | 574 log.info("skip parsing measurement stations"); |