Versions Compared

Key

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

...

This function has an option to define the maximum length of the gaps that should be filled. Gaps that are equal to or smaller than the defined maximum gap length will be filled with interpolated values. Gaps that are larger than the defined maximum gap length will not be filled.

The interpolation serial transformation also has the possibility to configure a custom flagSource to be assigned to a flagSourceColumn for interpolated values.

Input/Output time series

In this function one input time series and one output time series must be identified.

...

maxGapLength
Optional element defining the maximum length of gaps that should be filled. The length is equal to the number of time steps. Gaps equal to or smaller than maxGapLength will be filled with interpolated values. Gaps larger than maxGapLength will not be filled. If maxGapLength is not defined, then all gaps will be filled with interpolated values.

outputFlagSource
Optional element to define what customFlagSource should be written to which flagSourceColumn for interpolated values. The customFlagSourceId should be configured in CustomFlagSources configuration file. The flagSourceColumnId should be configured in the FlagSourceColumns configuration file. 

Example

Code Block
xml
xml

<transformation id="interpolation serial linear">
	<interpolationSerial>
		<linear>
			<inputVariable>
				<variableId>input</variableId>
			</inputVariable>
			<maxGapLength>5</maxGapLength>
			<outputVariable>
				<variableId>output</variableId>
			</outputVariable>
			<outputComment>outputCommentTest</outputComment>
            <outputFlagSource flagSourceColumnId="A" customFlagSourceId="SG" />
		</linear>
	</interpolationSerial>
</transformation>

...