...
What | ThresholdValueSets.xml |
---|---|
Required | no |
Description | definition of threshold values for all locations and data types |
schema location | httphttps://fewsfewsdocs.wldelftdeltares.nl/schemas/version1.0/thresholdValueSets.xsd |
Table of Contents |
---|
Complementary to the definition of the types of thresholds identified, the values of the thresholds are defined in the ThresholdValueSets configuration (ThresholdValueSets.xml on a local filesystem).
...
EventTypeIds (otherwise known as EventCodes) are used as a prefix in logging messages for the MC to identify which threshold is crossed. When threshold messages need to be logged, a special predefined threshod activity is required in the workflows.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<levelThresholdValue> <levelThresholdId>UKV</levelThresholdId> <valueFunction>1</valueFunction> <upActionLogEventTypeId>UKVRRCThreshold.crossed</upActionLogEventTypeId> </levelThresholdValue> |
ThresholdValueSet Schema
The latest version of the ThresholdValueSet schema can be found on the Deltares schema site: http://fews.wldelft.nl/schemas/version1.0/thresholdValueSets.xsd. The elements in the schema are shortly described below.
...
One or more qualifier ids the used rating curve should have all
ThresholdValueSetSequence
...
Specific values for max thresholds.
levelThresholdValue
levelThresholdId
...
ID of the action message (=additional log.message) that must be logged if a threshold value is crossed DOWN. This id has to contain a dot, because the action event is only visible to the master controller if this id contains a dot, e.g. "Threshold_Name.Down". The event code need not be unique.
rateThresholdValue
rateThresholdId
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Juzer Dhondia (WL | Delft Hydraulics) --> <!--Sample XML file generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)--> <locationSets xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews httphttps://fewsfewsdocs.wldelftdeltares.nl/schemas/version1.0/locationSets.xsd" version="1.1"> <locationSet id="MultiValuedAttributePeakHeights"> <csvFile> <file>MultiValuedAttributePeakHeightsLocations.csv</file> <geoDatum>WGS 1984</geoDatum> <id>%ID%</id> <name>%NAME%</name> <x>%X%</x> <y>%Y%</y> <z>0</z> <attributeFile> <csvFile>MultiValuedAttributePeakHeightsLocationAttributes.csv</csvFile> <id>%ID%</id> <dateTimePattern>dd-MM-yyyy</dateTimePattern> <attribute id="PEAK_HEIGHT_PAR"> <text>%PAR%</text> </attribute> <attribute id="PEAK_HEIGHT_TIME"> <dateTime>%TIME%</dateTime> </attribute> <attribute id="PEAK_HEIGHT_VALUE"> <number>%VALUE%</number> </attribute> <attribute id="PEAK_HEIGHT_ENABLED"> <boolean>%ACTIVE%</boolean> </attribute> </attributeFile> </csvFile> </locationSet> </locationSets> |
...
is used to log the info that the related forecast run was available within a certain time window when the observed threshold has been crossed.
deprecatedConversionChoice
...
The aggregationLevelThresholdValues are used in the Spatial Display. When the accumulation slider computes new aggregated values, the correct thresholdvalue will be used for the aggregated time period.