...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <timeSeriesImportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesImportRun.xsd"> <import> <\ <import> <!--Bayern--> <general> <importType>Bayern</importType> <general> <importType>Bayern</importType> <folder>$IMPORT_FOLDER_BAYERN$</folder> <failedFolder>$IMPORT_FOLDER_BAYERN$</failedFolder> <backupFolder>$IMPORT_FOLDER_BAYERN$</backupFolder> <idMapId>IdImportBayern</idMapId> <unitConversionsId>ImportKNMIUnits</unitConversionsId> <importTimeZone> <\ <idMapId>IdImportBayern</idMapId> <unitConversionsId>ImportKNMIUnits</unitConversionsId> <importTimeZone> <!--EPS is in GMT--> <timeZoneOffset>+00:00</timeZoneOffset> </importTimeZone> </importTimeZone> <dataFeedId>KNMI-EPS</dataFeedId> <reportChangedValues>true</reportChangedValues> </general> <timeSeriesSet> <moduleInstanceId>ImportKNMI</moduleInstanceId> <valueType>scalar</valueType> <timeSeriesSet> <moduleInstanceId>ImportKNMI</moduleInstanceId> <valueType>scalar</valueType> <parameterId>P.voorsp.ens</parameterId> <locationSetId>KNMI-EPS</locationSetId> <timeSeriesType>external forecasting</timeSeriesType> <timeStep unit="hour" multiplier="1"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> <synchLevel>1</synchLevel> <expiryTime unit="day"/> <ensembleId>EPS</ensembleId> </timeSeriesSet> . . . </timeSeriesSet> . . . </import> </timeSeriesImportRun> |
idMapping
The parser assigns the numerical ID found in the header to LocationID as well as ParameterID.
To map these to current FEWS location and parameter an idMapping can be configured.
For example:
...