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">
	<import>
		<general>
			<importType>WmoBufrAscii</importType>
			<folder>$IMPORT_FOLDER$/anna</folder>
			<idMapId>wmoBufrAsciiMapId</idMapId>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>ImportWmoBufrAscii</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.forecast.surge<voorspeld.astro</parameterId>
			<locationId>hoekvanholland</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>ImportWmoBufrAscii</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.opzet.voorspeld</parameterId>
			<locationId>hoekvanholland</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
            <ensembleId>001091</ensembleId>
            <ensembleMemberIndexRange start="1" end="50"/>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>ImportWmoBufrAscii</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.opzet.voorspeld</parameterId>
			<locationId>hoekvanholland</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
            <ensembleId>001092</ensembleId>
            <ensembleMemberIndexRange start="0" end="1"/>
		</timeSeriesSet>
        <externUnit parameterId="H.opzet.voorspeld" unit="cm"/import>
>
        <externUnit parameterId="H.voorspeld.astro" unit="cm"/>
	 </import>
</timeSeriesImportRun>

The IdMapping configuration wmoBufferAsciiMapId.xml is needed to maps the internal FEWS Id's to the WmoBufferAscii Id's. An example IdMapping file importer is shown below.:

Code Block
xml
xml
<?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 internal="H.forecastvoorspeld.astro" external="054003"/>
	<parameter internal="H.forecastopzet.surgevoorspeld" external="054004"/>
	<location external="06514" internal="hoekvanholland"/>
	....
	<enableOneToOneMapping/>
</idMap>