scrollbar |
---|
Simple
Input
- inputVariable ( 1 or more input time series)
...
<transformation id="MergeSimpleWithQualityAndOutputFlags">
<merge>
<simple>
<inputVariable>
<variableId>inputA</variableId>
<overrulingSourceFlag>completed</overrulingSourceFlag>
</inputVariable>
<inputVariable>
<variableId>inputB</variableId>
<overrulingQualityFlag>reliable</overrulingQualityFlag>
</inputVariable>
<outputVariable>
<variableId>output</variableId>
</outputVariable>
</simple>
</merge>
</transformation>
Reverse merge order
It is possible to reverse the order of the merge by using a boolean location attribute.
An example is given below:
Code Block | ||
---|---|---|
| ||
<transformation id="MAP">
<merge>
<simple>
<inputVariable>
<variableId>ADAM4_MAP_6</variableId>
</inputVariable>
<inputVariable>
<variableId>ADAM4_MAPX_6</variableId>
</inputVariable>
<reverseOrderAttributeId>attributeId</reverseOrderAttributeId>
<outputVariable>
<variableId>ADAM4_MAP_6_MAP</variableId>
</outputVariable>
</simple>
</merge>
</transformation> |
The option is usually used in combination with location attribute modifiers. The default value is then usually set to false, which means that a regular merge will be done.
By applying a location attribute modifier to th e