...
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>
<general>
<importType>Bayern<<importType>Radolan</importType>
<folder>$IMPORT_FOLDER_BAYERN$<RADOLAN$</folder>
<failedFolder>$IMPORT_FOLDER_BAYERN$<RADOLAN$</failedFolder>
<backupFolder>$IMPORT_FOLDER_BAYERN$<RADOLAN$</backupFolder>
<idMapId>IdImportBayern<<idMapId>IdImportRadolan</idMapId>
<unitConversionsId>ImportKNMIUnits<<unitConversionsId>ImportUnitConversions</unitConversionsId>
<importTimeZone>
<!--EPS is in GMT-->
<timeZoneOffset>+0001:00</timeZoneOffset>
</importTimeZone>
<dataFeedId>KNMI-EPS<<dataFeedId>RadolanRadar</dataFeedId>
<reportChangedValues>true</reportChangedValues>
</general>
<timeSeriesSet>
<moduleInstanceId>ImportKNMI<<moduleInstanceId>ImportRadolan</moduleInstanceId>
<valueType>scalar<<valueType>grid</valueType>
<parameterId>P.voorsp.ens<radar</parameterId>
<locationSetId>KNMI-EPS<<locationSetId>RadolanLocs</locationSetId>
<timeSeriesType>external forecasting<historical</timeSeriesType>
<timeStep unit="hourminutes" multiplier="15"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
<expiryTime unit="day"/>
<ensembleId>EPS</ensembleId>
</timeSeriesSet>
.
.
.
</import>
</timeSeriesImportRun>
|
idMapping
The parser assigns the numerical prodiuct 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:
Code Block |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<idMap version="1.1" 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/idMap.xsd">
<parameter external="24095302RX" internal="P.voorsp.ensradar"/>
<location external="24095302" internal="KNMI_NL001"/>
</idMap>
|