You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

Imports radar data from DWD-Hydrometeorologie.

File structure
Configuration

To import configure a module like this:

<?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>
			<folder>$IMPORT_FOLDER_BAYERN$</folder>
			<failedFolder>$IMPORT_FOLDER_BAYERN$</failedFolder>
			<backupFolder>$IMPORT_FOLDER_BAYERN$</backupFolder>
			<idMapId>IdImportBayern</idMapId>
			<unitConversionsId>ImportKNMIUnits</unitConversionsId>
			<importTimeZone>
				<!--EPS is in GMT-->
				<timeZoneOffset>+00:00</timeZoneOffset>
			</importTimeZone>
			<dataFeedId>KNMI-EPS</dataFeedId>
			<reportChangedValues>true</reportChangedValues>
		</general>
		<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>
			<expiryTime unit="day"/>
			<ensembleId>EPS</ensembleId>
		</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:

<?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="24095302" internal="P.voorsp.ens"/>
  <location external="24095302" internal="KNMI_NL001"/>
</idMap>
  • No labels