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.
There are 4 required properties that have to be configured:
- awareness-type
- display-awareness-type
- background-image
- nms-url
<?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"?> <report creating-authority="Deltares on behalf of Rijkswaterstaat" creation-time="2017-03-13T11:45:09+0000"> <country code="NL" name="Netherlands"> <region code="NB" name="Noord-Brabant"> <situation start-time="2007-12-09T22:00:00+0000" end-time="2007-12-09T23:59:59+0000" awareness-level="green" awareness-type="flood" background-image="false" display-awareness-type="true" nms-url="http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx"></situation> <situation start-time="2007-12-09T04:00:00+0000" end-time="2007-12-09T05:59:59+0000" awareness-level="yellow" awareness-type="flood" background-image="false" display-awareness-type="true" nms-url="http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx"></situation> <situation start-time="2007-12-09T07:00:00+0000" end-time="2007-12-09T07:59:59+0000" awareness-level="yellow" awareness-type="flood" background-image="false" display-awareness-type="true" nms-url="http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx"></situation> <situation start-time="2007-12-09T09:00:00+0000" end-time="2007-12-09T11:59:59+0000" awareness-level="orange" awareness-type="flood" background-image="false" display-awareness-type="true" nms-url="http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx"></situation> <situation start-time="2007-12-09T01:00:00+0000" end-time="2007-12-09T02:59:59+0000" awareness-level="red" awareness-type="flood" background-image="false" display-awareness-type="true" nms-url="http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx"></situation> <situation start-time="2007-12-09T16:00:00+0000" end-time="2007-12-09T18:59:59+0000" awareness-level="red" awareness-type="flood" background-image="false" display-awareness-type="true" nms-url="http://www.rijkswaterstaat.nl/kaarten/waterstand-tov-nap.aspx"></situation> </region> <region code="OV" name="Overijssel"></region> </country> </report>