Versions Compared

Key

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

...

  • 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


Values directly as a value, an attribute or from a timeseries
eventRange 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:

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

...

Code Block
languagexml
titleattribute
	<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 !!

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

...