Versions Compared

Key

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

 

scrollbar

What

Thresholds.xml

Required

no

Description

definition of threshold groups. contains all threshold options that do not relate to locations or parameters.

schema location

http://fews.wldelft.nl/schemas/version1.0/thresholds.xsd

...

Colors to be used can be found here.

Location specific threshold icons

You can make the threshold icons specific for different locationSets, if you link thresholds (Thresholds.xml) to specific locationSets (ThresholdValueSets) and assign them specific icons (ThesholdWarningLevels). If you also give the state road locations a blank icon (locationIcons.xml), the threshold crossings really stand out on the map. Especially if you also disable the visibility of the validationIcons (Filters.xml). See below an example for state roads.

Code Block
languagexml
themeEclipse
firstline1
titleThresholds.xml
linenumberstrue
collapsetrue
<levelThreshold id="Inundation 1 state road" name="Inundation 1 state road">
    <upWarningLevelId>Inundation 1 state road</upWarningLevelId>
</levelThreshold>
<levelThreshold id="Inundation 2 state road" name="Inundation 2 state road">
    <upWarningLevelId>Inundation 2 state road</upWarningLevelId>
</levelThreshold>
<levelThreshold id="Inundation 3 state road" name="Inundation 3 state road">
    <upWarningLevelId>Inundation 3 state road</upWarningLevelId>
</levelThreshold>
Code Block
languagexml
themeEclipse
firstline1
titleThresholdValueSets.xml
linenumberstrue
collapsetrue
<thresholdValueSet id="Inundation_stateroad_QLD" name="Inundation_stateroad_QLD">
    <standDownIndividualLocations>true</standDownIndividualLocations>
    <levelThresholdValue>
        <levelThresholdId>Inundation 1 state road</levelThresholdId>
        <value>.1</value>
    </levelThresholdValue>
    <levelThresholdValue>
        <levelThresholdId>Inundation 2 state road</levelThresholdId>
        <value>.2</value>
    </levelThresholdValue>
    <levelThresholdValue>
        <levelThresholdId>Inundation 3 state road</levelThresholdId>
        <value>.5</value>
    </levelThresholdValue>
    <timeSeriesSet>
        <moduleInstanceId>FIAT_PostProcess</moduleInstanceId>
        <valueType>scalar</valueType>
        <parameterId>roads_damage</parameterId>
        <qualifierId>count</qualifierId>
        <locationSetId>AUS_FIAT_stateroad</locationSetId>
        <timeSeriesType>simulated forecasting</timeSeriesType>
        <timeStep unit="nonequidistant"/>
        <relativeViewPeriod unit="day" start="0" end="5"/>
        <readWriteMode>read only</readWriteMode>
        <ensembleId>surge</ensembleId>
    </timeSeriesSet>
</thresholdValueSet>
Code Block
languagexml
themeEclipse
firstline1
titleThresholdWarningLevels.xml
linenumberstrue
collapsetrue
<thresholdWarningLevel id="Inundation 1 state road" name="Inundation 1 state road">
    <color>009600</color>
    <iconName>state_road_1.png</iconName>
    <historicOverlayIconName>historic_overlay_minor.gif</historicOverlayIconName>
    <forecastOverlayIconName>forecast_overlay_minor.gif</forecastOverlayIconName>
</thresholdWarningLevel>
<thresholdWarningLevel id="Inundation 2 state road" name="Inundation 2 state road">
    <color>FF9600</color>
    <iconName>state_road_2.png</iconName>
    <historicOverlayIconName>historic_overlay_moderate.gif</historicOverlayIconName>
    <forecastOverlayIconName>forecast_overlay_moderate.gif</forecastOverlayIconName>
</thresholdWarningLevel>
<thresholdWarningLevel id="Inundation 3 state road" name="Inundation 3 state road">
    <color>FF0000</color>
    <iconName>state_road_3.png</iconName>
    <historicOverlayIconName>historic_overlay_major.gif</historicOverlayIconName>
    <forecastOverlayIconName>forecast_overlay_major.gif</forecastOverlayIconName>
</thresholdWarningLevel>
Code Block
languagexml
themeEclipse
firstline1
titleLocationIcons.xml
linenumberstrue
collapsetrue
<locationIcon>
    <iconId>blank</iconId>
    <locationSetId>AUS_Inundation_stateroad_Icon</locationSetId>
</locationIcon>

Code Block
languagexml
themeEclipse
firstline1
titleFilters.xml
linenumberstrue
collapsetrue
<filter id="FIAT Model locations QLD" name="FIAT Model Locations">
    <validationIconsVisible>false</validationIconsVisible>
    <timeSeriesSetsId>AUS_FIAT_Model_Locations</timeSeriesSetsId>
    <locationConstraints>
        <attributeTextContains id="REGION" contains="QLD"/>
    </locationConstraints>
</filter>