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

Compare with Current View Page History

« Previous Version 2 Current »

Introduction

MeteoAlarm is a XML export format. See http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx.

MeteoAlarm Export Configuration

The configuration of the MeteoAlarm export module is shown in the following example.

<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesExportRun 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/timeSeriesExportRun.xsd">
	<export>
		<general>
			<exportType>MeteoAlarm</exportType>
			<folder>$EXPORT_FOLDER$/MeteoAlarm</folder>
			<exportFileName>
				<name>meteoAlarm.xml</name>
			</exportFileName>
			<idMapId>idMeteoAlarm</idMapId>
		</general>
		<properties>
			<string key="awareness-type" value="flood" ></string>
			<string key="display-awareness-type" value="true" ></string>
			<string key="background-image" value="false" ></string>
			<string key="nms-url" value="http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx" ></string>									
		</properties>
		<timeSeriesSet>
			<moduleInstanceId>ModuleInstanceId</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>Q</parameterId>
			<locationId>73</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="minute" multiplier="15"/>
			<readWriteMode>read complete forecast</readWriteMode>
			<synchLevel>1</synchLevel>
			<ensembleId>main</ensembleId>
			<ensembleMemberIndex>0</ensembleMemberIndex>
		</timeSeriesSet>
	</export>
</timeSeriesExportRun>

The following code shows a sample output file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE lhp-daten SYSTEM "http://www.hochwasserzentralen.de/lhp.dtd">
<?xml-stylesheet type="text/xsl" href="lhp.xsl"?>
<lhp-daten>
    <pegeldaten>
        <pgnr>73</pgnr>
        <wert datenart="q" einheit="m3s">9.28</wert>
        <zeit datenart="q">23.01.2015 15:00</zeit>
        <wert datenart="q" einheit="m3s">9.28</wert>
        <zeit datenart="q">23.01.2015 15:15</zeit>
        <wert datenart="q" einheit="m3s">9.28</wert>
        <zeit datenart="q">23.01.2015 15:30</zeit>

...</pegeldaten>
</lhp-daten>
  • No labels