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

Compare with Current View Page History

« Previous Version 9 Next »



MultiVariateThresholdsAttributesHyFS.csv
idvariableinputLocationSetIdruleIdlowerBoundruleOutcomenumberOfTimeSerieslowerBoundInclusiveseveritycertaintyinstructionresponseTypeurgencyheadline
OutputLocForecastRainInputLocSetrule0-999-11FALSE      
OutputLocForecastRainInputLocSetrule11012FALSEminorpossibleMonitor the situation as Minor Flooding is possibleAssessFutureMinor Flooding is possible in Coffs Creek
OutputLocObservedRainInputLocSetrule21022FALSEminorlikelyAssess your surroundingsAvoidExpectedMinor Flooding is possible in Coffs Creek
OutputLocObservedFloodingInputLocSetrule31032FALSEminorobservedAvoid Flood watersPrepareImmediateMinor Flooding has been observed in Coffs Creek
OutputLocForecastRainInputLocSetrule42042FALSEseverepossiblePrepare for Major FloodingPrepareFutureMajor Flooding is possible in Coffs Creek
OutputLocForecastRainInputLocSetrule52052FALSEseverepossiblePrepare for Major FloodingPrepareFutureMajor Flooding is possible and Minor Flooding is likely in Coffs Creek
OutputLocObservedRainInputLocSetrule51052FALSEseverepossiblePrepare for Major FloodingPrepareFutureMajor Flooding is possible and Minor Flooding is likely in Coffs Creek
OutputLocForecastRainInputLocSetrule62062FALSEseverepossiblePrepare for Major FloodingEvacuateFutureMajor Flooding is possible and Minor Flooding has been observed in Coffs Creek
OutputLocObservedFloodingInputLocSetrule61062FALSEseverepossiblePrepare for Major FloodingEvacuateFutureMajor Flooding is possible and Minor Flooding has been observed in Coffs Creek
OutputLocObservedRainInputLocSetrule72072FALSEseverelikelyEvacuate to higher groundEvacuateExpectedMajor Flooding is likely in Coffs Creek
OutputLocObservedRainInputLocSetrule82082FALSEseverelikelyEvacuate to higher groundEvacuateExpectedMajor Flooding is likely and Minor Flooding has been observed in Coffs Creek
OutputLocObservedFloodingInputLocSetrule81082FALSEseverelikelyEvacuate to higher groundEvacuateExpectedMajor Flooding is likely and Minor Flooding has been observed in Coffs Creek
OutputLocObservedFloodingInputLocSetrule92092FALSEsevereobservedShelter in placeShelterImmediateMajor Flooding has been observed in Coffs Creek



Example locations set with multivariate attributes
	<locationSet id="MultiVariateThresholdsHyFS">
		<csvFile>
			<file>MultiVariateThresholdsHyFS.csv</file>
			<id>%id%</id>
			<x>%x%</x>
			<y>%y%</y>
			<attributeFile>
				<csvFile>MultiVariateThresholdsAttributesHyFS.csv</csvFile>
				<id>%id%</id>
				<attribute id="inputLocationSetId">
					<text>%inputLocationSetId%</text>
				</attribute>
				<attribute id="variable">
					<text>%variable%</text>
				</attribute>
				<attribute id="ruleId">
					<text>%ruleId%</text>
				</attribute>
				<attribute id="lowerBound">
					<number>%lowerBound%</number>
				</attribute>
				<attribute id="lowerBoundInclusive">
					<boolean>%lowerBoundInclusive%</boolean>
				</attribute>
				<attribute id="upperBound">
					<number>%upperBound%</number>
				</attribute>
				<attribute id="upperBoundInclusive">
					<boolean>%upperBoundInclusive%</boolean>
				</attribute>
				<attribute id="ruleOutcome">
					<number>%ruleOutcome%</number>
				</attribute>
				<attribute id="numberOfTimeSeries">
					<number>%numberOfTimeSeries%</number>
				</attribute>
				<attribute id="severity">
					<text>%severity%</text>
				</attribute>
				<attribute id="certainty">
					<text>%certainty%</text>
				</attribute>
				<attribute id="instruction">
					<text>%instruction%</text>
				</attribute>
				<attribute id="responseType">
					<text>%responseType%</text>
				</attribute>
				<attribute id="urgency">
					<text>%urgency%</text>
				</attribute>
				<attribute id="headline">
					<text>%headline%</text>
				</attribute>
			</attributeFile>
		</csvFile>
	</locationSet>
	<locationSet id="MultiVarHyFSInput">
		<locationSetId>MultiVariateThresholdsHyFS</locationSetId>
		<constraints>
			<idContains contains="MultiVarHyFSInput"/>
		</constraints>
	</locationSet>
Example multivariate threshold tranformation
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by WL | Delft Hydraulics (WL | Delft Hydraulics) -->
<transformationModule version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews"
					  xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/transformationModule.xsd">
	<variable>
		<variableId>ForecastRain</variableId>
		<timeSeriesSet>
			<moduleInstanceId>ImportMultiVariateInput</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.radar.forecast</parameterId>
			<locationSetId>MultiVarHyFSInput</locationSetId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="day"/>
			<relativeViewPeriod unit="day" start="-12" end="0"/>
			<readWriteMode>editing visible to all future task runs</readWriteMode>
		</timeSeriesSet>
	</variable>
	<variable>
		<variableId>ObservedRain</variableId>
		<timeSeriesSet>
			<moduleInstanceId>ImportMultiVariateInput</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.obs</parameterId>
			<locationSetId>MultiVarHyFSInput</locationSetId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="day"/>
			<relativeViewPeriod unit="day" start="-12" end="0"/>
			<readWriteMode>editing visible to all future task runs</readWriteMode>
		</timeSeriesSet>
	</variable>
	<variable>
		<variableId>ObservedFlooding</variableId>
		<timeSeriesSet>
			<moduleInstanceId>ImportMultiVariateInput</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.obs</parameterId>
			<locationSetId>MultiVarHyFSInput</locationSetId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="day"/>
			<relativeViewPeriod unit="day" start="-12" end="0"/>
			<readWriteMode>editing visible to all future task runs</readWriteMode>
		</timeSeriesSet>
	</variable>
	<variable>
		<variableId>output</variableId>
		<timeSeriesSet>
			<moduleInstanceId>MultiVariateThresholdsTransformation</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.sim</parameterId>
			<locationId>MultiVarHyFSOutput1</locationId>
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="day"/>
			<relativeViewPeriod unit="day" start="-12" end="0"/>
			<readWriteMode>editing visible to all future task runs</readWriteMode>
		</timeSeriesSet>
	</variable>
	<transformation id="MultiVariateHyFS">
		<multipleLocationAttributes>
			<multiVariateThresholdsHyFS>
				<ruleAttributeId>ruleId</ruleAttributeId>
				<inputVariableAttributeId>variable</inputVariableAttributeId>
				<inputLocationSetIdAttributeId>inputLocationSetId</inputLocationSetIdAttributeId>
				<lowerBoundAttributeId>lowerBound</lowerBoundAttributeId>
				<numberOfTimeSeriesWithinBoundariesAttributeId>numberOfTimeSeries</numberOfTimeSeriesWithinBoundariesAttributeId>
				<ruleOutcomeAttributeId>ruleOutcome</ruleOutcomeAttributeId>
				<outputVariable>
					<variableId>output</variableId>
				</outputVariable>
			</multiVariateThresholdsHyFS>
		</multipleLocationAttributes>
	</transformation>
</transformationModule>
Example multivariate threshold value set
	<thresholdValueSet id="MultiVariateThresholdsSet" name="MultiVariateThresholdsSet">
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>1</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>2</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>3</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
			<downActionLogEventTypeId>Action.StandDown</downActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>4</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>5</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>6</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
			<downActionLogEventTypeId>Action.StandDown</downActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>7</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>8</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
			<downActionLogEventTypeId>Action.StandDown</downActionLogEventTypeId>
		</levelThresholdValue>
		<levelThresholdValue>
			<levelThresholdId>EnhanceLevel</levelThresholdId>
			<value>9</value>
			<upActionLogEventTypeId>Action.Enhanced</upActionLogEventTypeId>
			<downActionLogEventTypeId>Action.StandDown</downActionLogEventTypeId>
		</levelThresholdValue>
		<timeSeriesSet>
			<moduleInstanceId>MultiVariateThresholdsTransformation</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.sim</parameterId>
			<locationId>MultiVarHyFSOutput1</locationId>
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="day"/>
			<relativeViewPeriod unit="day" start="-12" end="0"/>
			<readWriteMode>editing visible to all future task runs</readWriteMode>
		</timeSeriesSet>
	</thresholdValueSet>	


Example threshold Export file
<thresholdExport 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/thresholdExport.xsd">
	<export>
		<exportTypeStandard>CAP-AU</exportTypeStandard>
		<folder>$EXPORT_FOLDER_ROOT$</folder>
		<exportFileName>
			<name>_RiverAlert_CAP_%LOCATION_ID%_%THRESHOLD_ID%.xml</name>
			<prefix>
				<timeZeroFormattingString>yyyyMMddHHmm</timeZeroFormattingString>
			</prefix>
		</exportFileName>
		<eventCodePattern>Action.Enhanced</eventCodePattern>
		<eventCodePattern>Action.StandDown</eventCodePattern>
		<templateFile>Threshold_Export_Template</templateFile>
		<dateFormat id="DF1">
			<timeZone>
				<timeZoneName>GMT</timeZoneName>
			</timeZone>
			<dateTimePattern>yyyy-MM-dd'T'HH:mm:ss+00:00</dateTimePattern>
		</dateFormat>
		<dateFormat id="DF2">
			<timeZone>
				<timeZoneName>ACST</timeZoneName>
			</timeZone>
			<dateTimePattern>dd-MM-yyyy</dateTimePattern>
		</dateFormat>
		<numberFormat id="NF1">
			<pattern>{0,number,##0.0}</pattern>
		</numberFormat>
		<thresholdHistorySearchTimeSpan unit="day" multiplier="7"/>
		<eventExpiryTime unit="day" multiplier="15"/>
		<identifier>AusBoM-PRODUCT_ID-%LOCATION_ID%-%EXPORT_TIME(DF1)%</identifier>
		<sender>CAP.Message@bom.gov.au</sender>		
		<mapThreshold thresholdId="EnhanceLevel" value="Moderate"/>
		<matchingValueAttributeId>ruleOutcome</matchingValueAttributeId>
		<severityAttributeId>severity</severityAttributeId>
		<certaintyAttributeId>certainty</certaintyAttributeId>
		<instructionAttributeId>instruction</instructionAttributeId>
		<responseTypeAttributeId>responseType</responseTypeAttributeId>
		<urgencyAttributeId>urgency</urgencyAttributeId>
		<headlineAttributeId>headline</headlineAttributeId>
		<descriptionAttributeId>description</descriptionAttributeId>
	</export>
</thresholdExport>

Example threshold Export file
<?xml version="1.0" encoding="UTF-8"?>
<alert xmlns="urn:oasis:names:tc:emergency:cap:1.2">
	<identifier>%IDENTIFIER%</identifier>
	<sender>%SENDER%</sender>
	<sent>%EXPORT_TIME(DF1)%</sent>
	<status>Actual</status>
	<msgType>%MESSAGE_TYPE%</msgType>
	<source>STATE, STATE_AGENCY</source>
	<scope>EVENT_SCOPE</scope>
	<code>urn:oasis:names:tc:emergency:cap:1.2:profile:CAP-AU:1.0</code>
	%ALERT_HISTORY(DF1)%
	<info>
		<language>en-AU</language>
		<category>EVENT_CAT</category>
		<event>EVENT_EVENT</event>
		<urgency>%URGENCY%</urgency>
		<severity>%SEVERITY%</severity>
		<certainty>%CERTAINTY%</certainty>
		<eventCode>
			<valueName>https://govshare.gov.au/xmlui/handle/10772/6495</valueName>
			<value>EVENT_VALUE</value>
		</eventCode>
		<expires>%EXPIRY_TIME(DF1)%</expires>
		<senderName>Australian Government Bureau of Meteorology</senderName>
		<headline>%RESPONSE_TYPE% %HEADLINE%</headline>
		<description>%DESCRIPTION%</description>
		<contact>http://www.bom.gov.au/inside/contacts.shtml</contact>
		<area>
			<areaDesc>%LOCATION_NAME% (RIVER_NAME) - STATE</areaDesc>
			<circle>%Y%,%X% 1</circle>
			<geocode>
				<valueName>http://www.iso.org/iso/country_codes.html</valueName>
				<value>AU-STATE</value>
			</geocode>
		</area>
	</info>
</alert>

  • No labels