Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<?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">
&nbsp;&nbsp; &nbsp;<import>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<\	<import>
		<!--Bayern-->
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<general>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<importType>Bayern</importType>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;		<general>
			<importType>Bayern</importType>
			<folder>$IMPORT_FOLDER_BAYERN$</folder>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<failedFolder>$IMPORT_FOLDER_BAYERN$</failedFolder>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<backupFolder>$IMPORT_FOLDER_BAYERN$</backupFolder>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<idMapId>IdImportBayern</idMapId>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<unitConversionsId>ImportKNMIUnits</unitConversionsId>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<importTimeZone>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<\			<idMapId>IdImportBayern</idMapId>
			<unitConversionsId>ImportKNMIUnits</unitConversionsId>
			<importTimeZone>
				<!--EPS is in GMT-->
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;				<timeZoneOffset>+00:00</timeZoneOffset>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</importTimeZone>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			</importTimeZone>
			<dataFeedId>KNMI-EPS</dataFeedId>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<reportChangedValues>true</reportChangedValues>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;		</general>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<timeSeriesSet>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<moduleInstanceId>ImportKNMI</moduleInstanceId>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<valueType>scalar</valueType>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;		<timeSeriesSet>
			<moduleInstanceId>ImportKNMI</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.voorsp.ens</parameterId>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<locationSetId>KNMI-EPS</locationSetId>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<timeSeriesType>external forecasting</timeSeriesType>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<timeStep unit="hour" multiplier="1"/>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<readWriteMode>add originals</readWriteMode>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<synchLevel>1</synchLevel>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<synchLevel>1</synchLevel>
			<expiryTime unit="day"/>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;			<ensembleId>EPS</ensembleId>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</timeSeriesSet>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .


&nbsp;&nbsp; &nbsp;		</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:

...