You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Simple

Input
  • inputVariable ( 1 or more input time series)
Options
  • fillGapConstant
Output
  • outputVariable
Description

This transformation will perform a simple merge operation that functions as a data hierarchy. The picture below shows the functionality of a merge operation. First the most important time series is evaluated, if a value exists at a time in this series then this value will be used. If this is not the case, the second time series (series 2 in the example), will be evaluated. This procedure will continue until a valid value is found in one of the time series or until all time series are evaluated. If no valid value exists at time x in all of the input time series then a missing value will be returned unless the user has specified a default value with the fillGapConstant option.
The hierarchy of the input will be determined by the order in which in input time series are listed in the

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

Configuration example

Overwriting 'Manual Unreliables' 

In version 2014.02 the functionality 'keepManualUnreliables' was added. If this element is set to true (default), than values that have been manually set to unreliable will remain in the output timeseries. However, if this element is set to false, than these manual unreliables will be percieved as missings.

Overruling flags 

In version 2014.02 the functionality 'overrulingSourceFlag' and 'overrulingQualityFlag' was added. These elements can be added to an input variable to either override the flag source (original,completed,corrected) the flag quality (reliable, doubtful, unreliable) or both. In the following example the source flag of timeSeries inputA will be set to completed. the quality flag of timeSeries inputB will be set to reliable.

<transformation id="MergeSimpleWithQualityAndOutputFlagTest">
<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>

 

  • No labels