Versions Compared

Key

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

...

What

Thresholds.xml

Required

no

Description

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

schema location

httphttps://fewsfewsdocs.wldelftdeltares.nl/schemas/version1.0/thresholds.xsd

DELFT-FEWS supports checking of time series against thresholds. When thresholds are crossed, appropriate messages may be issued. Thresholds are defined in two files: thresholds.xml (described here) and thresholdValueSets.xml (described here). The first file contains definitions of threshold groups with thresholds and the types of threshold. There are three types of thresholds: level crossing thresholds, rate of rise and fall thresholds and max value thresholds. For a given threshold the options that are independent of location and parameter are defined.  Additional threshold options for specific locations and parameters are defined in the thresholdValueSets configuration file.  It is possible to configure one or more threshold groups.

...

Code Block
languagexml
themeEclipse
firstline1
linenumberstrue
collapsetrue
<thresholdWarningLevels xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews" xsi:schemaLocation="http://www.wldelft.nl/fews httphttps://fewsfewsdocs.wldelftdeltares.nl/schemas/version1.0/thresholdWarningLevels.xsd">
   <missingDataThreshold id="noData">
      <color>blue</color>
      <iconName>nodata.gif</iconName>
      <historicOverlayIconName>historicnodata.gif</historicOverlayIconName>
      <forecastOverlayIconName>forecastnodata.gif</forecastOverlayIconName>
   </missingDataThreshold>
   <thresholdWarningLevel id="allClear" name="No threshold exceeded">
      <color>green</color>
      <iconName>warninglevel1.gif</iconName>
      <historicOverlayIconName>historicwarninglevel1.gif</historicOverlayIconName>
      <forecastOverlayIconName>forecastwarninglevel1.gif</forecastOverlayIconName>
   </thresholdWarningLevel>
   <thresholdWarningLevel id="warningLevel2" name="Enhance">
      <color>yellow</color>
      <iconName>warninglevel2.gif</iconName>
      <historicOverlayIconName>historicwarninglevel2.gif</historicOverlayIconName>
      <forecastOverlayIconName>forecastwarninglevel2.gif</forecastOverlayIconName>
   </thresholdWarningLevel>
   <thresholdWarningLevel id="warningLevel3" name="Flood Warning">
      <color>red</color>
      <iconName>warninglevel3.gif</iconName>
      <historicOverlayIconName>historicwarninglevel3.gif</historicOverlayIconName>
      <forecastOverlayIconName>forecastwarninglevel3.gif</forecastOverlayIconName>
   </thresholdWarningLevel></thresholdWarningLevels>

...