Versions Compared

Key

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

...

Values directly as a value, an attribute or from a timeseries

eventRange lower and upper fare optional and can be configured in 3 ways:

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>

Attribute:

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:

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>