...
The following example of an Import Module Instance will import the time series as equidistant 15 minute time series for timezone GMT+1 hour.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<import> <general> <importType>Pegelonline</importType> <folder>$IMPORT_FOLDER_PEGELONLINE$</folder> <idMapId>IdImportPegelOnline</idMapId> <unitConversionsId>ImportUnitConversions</unitConversionsId> <missingValue>-777</missingValue> <importTimeZone> <timeZoneOffset>+01:00</timeZoneOffset> </importTimeZone> <dataFeedId>PegelOnline</dataFeedId> </general> <timeSeriesSet> <moduleInstanceId>ImportPegelOnline</moduleInstanceId> <valueType>scalar</valueType> <parameterId>H.m</parameterId> <locationSetId>PegelOnline_H</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="minute" multiplier="15"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> </timeSeriesSet> <externUnit parameterId="H.m" unit="cm"/> </import> |
...
The ID Mapping configuration file links the external Pegelonline IDs to the internal FEWS ID's. External Pegelonline IDS are for example "WT_O" for water temperature and "W_O" for water level.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<parameter internal="T.m" external="WT_O"/> <parameter internal="H.m" external="W_O"/> <location internal="H-RN-0693" external="2390020"/> <location internal="H-RN-0984" external="279100000100"/> <location internal="H-RN-WURZ" external="2430060"/> |
...
Important in the above configuration is that a unitconversion is forced to convert the waterlevels from cm to meter. In Pegelonline all water levels are stored in cm, the unit is however included in the pegelonline data file header.
Example File
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
04.10.2009 WSD SÜDWEST RHEIN PLITTERSDORF 2350070 W_O cm XXX,XXX XX.XX.XXXX XX:XX PNP 106,76 00:15#263,000 00:30#262,000 00:45#262,000 01:00#261,000 01:15#260,000 01:30#260,000 01:45#260,000 02:00#259,000 02:15#259,000 02:30#259,000 02:45#258,000 03:00#259,000 03:15#258,000 03:30#259,000 03:45#259,000 04:00#259,000 04:15#259,000 04:30#258,000 ... |