scrollbar | ||
---|---|---|
Excerpt | ||
| ||
Functionality to define qualifiers to time series, next to locationIds and parameterIds |
...
Fix cold state selection
It possible to configure the IFD so that With the fixedColdState option, the cold state can be fixed to a selected cold state for a certain amount of time. An example is shown below.
The dateTime. When configured, the user can fix the cold state selection to the current selection by selecting the checkbox "Keep cold state at current selection". This option property is inherited by the downstream nodes.
To enable this option, you need to configure the fixedColdState in Topology.xml, an not shown by default. An configuration example is given below.
Code Block | ||||
---|---|---|---|---|
| ||||
<node id="coldRelativeStateStartTimeNode"> <workflowId>workflow2</workflowId> <coldState unit="hour" multiplier="6"/> <fixedColdState> <locationId>locationA<<locationId>basinA</locationId> <modifierTypeId>modifierType<<modifierTypeId>coldStateModifier</modifierTypeId> <fixedColdStateLocationAttributeId>coldState<<fixedColdStateLocationAttributeId>coldStateDateTime</fixedColdStateLocationAttributeId> <fixedColdStateGroupLocationAttributeId>group<<fixedColdStateGroupLocationAttributeId>coldStateGroup</fixedColdStateGroupLocationAttributeId> </fixedColdState> </node> |
...
This modifier must be configured in the modifierTypes.xml. Below an example.
Code Block | ||||
---|---|---|---|---|
| ||||
<?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 https://fewsdocs.deltares.nl/schemas/version1.0/modifierTypes.xsd"> <!-- Missing Value modifiers--> <!-- PCA snow data assimilation--> <attributeModifiers> <locationAttributeModifier id="modifierTypecoldStateModifier" name="modifierTypefixed cold state"> <modifiableGroup name="groupcoldStateModifiableGroup"> <locationId>locationA<<locationSetId>basins</locationId>locationSetId> <locationId>locationB</locationId> <attribute id="group"></attribute> <attribute id="coldState"></attribute> </modifiableGroup> </locationAttributeModifier> </attributeModifiers> </modifierTypes> |
In addition it is important the location which is configured in the topology.xml is part of the workflow which is connected to the topology node.
...