Versions Compared

Key

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

...

This modifier is very similar to the switch option modifier. However this modifier doesn't allow to define a
option per date.
It only allows to define one option . The option modifier doesn't have a start and/or enddate is always validwhich will be always valid after creation of the modifier.

An example of the use of this modifier is the rainfall_switch of the seqwater-system. This option allows the forecaster to choose
a forecast type (user defined forecast, no rainfall forecast or use the rainfaill forecast).
Secondly it is also possible to choose
which rainfaill observations to use the forecast.

...

Below an example of a option modifier. In this case the example shows the rainfall switch-modifier.

Schema

Below the schema of this modifier.
Image Added

timeValueTimeSeries

First the timeValueTimeSeries are defined. The parameterid of the defined timeseries will be used as an identifier
in radiobutton which can be used to select an option. When an option is selected which is defined as a timeValue-timeseries
than the user can also define a value.

booleanTimeSeries

This option allows the user to define option-types which can only be selected by used, but doesn't offer the possibility to
enter a additional value.

expiryTime

This option can be used to define an expiry time for this modifier which overrules the default expiry time.

Configuration example

Code Block
xml
xml

<optionModifier id="Rainfall_Switch" name="Rainfall Switch">
		<booleanTimeSeries>
			<parameterId>Grid</parameterId>
			<qualifierId>observed</qualifierId>
		</booleanTimeSeries>
		<booleanTimeSeries>
			<parameterId>Stations</parameterId>
			<qualifierId>observed</qualifierId>
		</booleanTimeSeries>
		<booleanTimeSeries>
			<parameterId>SeqGrid</parameterId>
			<qualifierId>observed</qualifierId>
		</booleanTimeSeries>
		<booleanTimeSeries>
			<parameterId>SeqStations</parameterId>
			<qualifierId>observed</qualifierId>
		</booleanTimeSeries>
		<booleanTimeSeries>
			<parameterId>Forecast ON</parameterId>
			<qualifierId>forecast</qualifierId>
		</booleanTimeSeries>
		<booleanTimeSeries>
			<parameterId>Forecast OFF</parameterId>
			<qualifierId>forecast</qualifierId>
		</booleanTimeSeries>
		<booleanTimeSeries>
			<parameterId>User ON</parameterId>
			<qualifierId>forecast</qualifierId>
		</booleanTimeSeries>
		<expiryTime unit="day" multiplier="1000"/>
	</optionModifier>

As an example the configuration of the option modifier is shown. This modifier has 6 boolean timeseries defined.
This means that 6 options will available in the display. The options will be split into two groups based on the
qualifierId. In this example it will mean that we will have observed group with Stations, SegGrid, SegStations and
a forecast group with Forecast On, Forecast off and User on.

Module parameter modifiers

...