Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleExample 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>	



Code Block
languagexml
titleExample 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>

...