Versions Compared

Key

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



scrollbar


Simple

Input
  • inputVariable ( 1 or more input time series)

...

configuration. In the configuration example inputA would be evaluated first before inputB.

Comments

If comments are provided in the input time steps, they will be copied to the output time steps after the transformation is done.

Configuration example

Overwriting 'Manual Unreliables' 

...

<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
languagexml
	<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 value of the attribute on the output location will determine if the merge order should be reversed or not.
 

 

The This 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 eit is possible to reverse the merge order.