Description
Computes from an ensemble the probability of occurence of an event.
Events are defined as
- the exceedance of a value (e.g., "water level higher than 3.0m") > a
- window between two values (e.g., "water level between 2.0m and 3.0m") > a && < b
- non-exceedance of a value (e.g., "discharge less than 800 m3/s") < b
eventprobability range can consist of a lower and upper boundary (both are optional) and can be configured in 3 ways:
Boundary values directly as a value, an attribute or obtained from a timeseries.
Value:
value
<transformation id="compute_probability_of_exceedance_of_spi_equal_to_two"> <statisticsEnsemble> <eventProbability> <inputVariable> <variableId>spi</variableId> </inputVariable> <includeMissingValues>false</includeMissingValues> <event> <lower><value>2</value></lower> <upper><value>5</value></upper> </event> <outputVariable> <variableId>probability_spi_gte_2</variableId> </outputVariable> </eventProbability> </statisticsEnsemble> </transformation>
Attribute:
attribute
<transformation id="compute_probability_of_exceedance_of_spi_equal_to_two"> <statisticsEnsemble> <eventProbability> <inputVariable> <variableId>spi</variableId> </inputVariable> <includeMissingValues>false</includeMissingValues> <event> <lower><attribute>lowerEvent</attribute></lower> <upper><attribute>upperEvent</attribute></upper> </event> <outputVariable> <variableId>probability_spi_gte_2</variableId> </outputVariable> </eventProbability> </statisticsEnsemble> </transformation>
Timeseries:
!! For use of timeseries lowerBoundaryEvent and upperBoundaryEvent tag have to be used. Not the <event><lower> and <event><upper> tags !!
timeseries
<transformation id="compute_probability_of_exceedance_of_spi_equal_to_two"> <statisticsEnsemble> <eventProbability> <inputVariable> <variableId>spi</variableId> </inputVariable> <lowerBoundaryEvent> <variableId>lower_boundaries</variableId> </lowerBoundaryEvent> <upperBoundaryEvent> <variableId>upper_boundaries</variableId> </upperBoundaryEvent> <includeMissingValues>false</includeMissingValues> <event> <!-- <lower><variableId><variableId>lower_boundaries</variableId></variableId></lower> --> <!-- <upper><variableId><variableId>upper_boundaries</variableId></variableId></upper> --> </event> <outputVariable> <variableId>probability_spi_gte_2</variableId> </outputVariable> </eventProbability> </statisticsEnsemble> </transformation>