Versions Compared

Key

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

...

It is also possible to set the default state selection for a node or a group of nodes to a cold state selection. This is used, for example, in FEWS system which are used for calibration purposes.

An configuration example is given below.

Code Block
languagexml
	<nodes id="WAPN6HUD_calb" name="WAPN6HUD">
				<workflowId>WAPN6HUD_Stats_Calibration</workflowId>
				<coldState unit="day" multiplier="18628"/>
				<node id="WAPN6HUD_Waterbalance_Multi-year" name="Waterbal_MY">

It possible to configure the IFD so that the cold state can be fixed to a selected cold state for a certain amount of time. An example is shown below.

Image Added

The user can fix the cold selection to the current selection by selecting the checkbox "Keep cold state at current selection"

This option is not shown by default. An configuration example is given below.

Code Block
languagexml
			<node id="coldRelativeStateStartTimeNode">
				<workflowId>workflow2</workflowId>
				<coldState unit="hour" multiplier="6"/>
 				<fixedColdState>
					<locationId>locationA</locationId>
					<modifierTypeId>modifierType</modifierTypeId>
					<fixedColdStateLocationAttributeId>coldState</fixedColdStateLocationAttributeId>
					<fixedColdStateGroupLocationAttributeId>group</fixedColdStateGroupLocationAttributeId>
				</fixedColdState>
			</node>

The selected cold state is stored a location attribute modifier in FEWS. The location id defines for which location the modifiers will be made. The fixedColdStateLocationAttributeId defines which attribute will be used to store the selected state. Note that this attribute must be a date/time attribute. The cold state group will be stored in the fixedColdStateGroupLocationAttributeId. This attribute must be a text attribute.  The modifierTypeId defines the modifier type for which the modifiers will be made.

This modifier must be configured in the modifierTypes.xml.  Below an example.

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<modifierTypes xmlns="http://www.wldelft.nl/fews"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/modifierTypes.xsd">
	<!--	Missing Value modifiers-->
	<!--	PCA snow data assimilation-->
	<attributeModifiers>
		<locationAttributeModifier id="modifierType" name="modifierType">
			<modifiableGroup name="group">
				<locationId>locationA</locationId>
				<locationId>locationB</locationId>
				<attribute id="group"></attribute>
				<attribute id="coldState"></attribute>
			</modifiableGroup>
		</locationAttributeModifier>
	</attributeModifiers>
</modifierTypes>


When a user selects the option to fix a cold state to a certain date/time then this will only be visible locally. When the user starts a server run for this node then the changes (modifiers) will be send to the server and visbile to other users.



Alternatively, in FEWS release 2019.02 and higher a fixed cold state start date/time can be configured:

...