Versions Compared

Key

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

...

  • interpolationType
  • extrapolationType
  • inputUnit (optional, since 2016.02)
  • outputUnit (optional, since 2016.02)
  • lookupTable
Output
  • output
Description

...

 If the first option, notAllowed, is configured an input value outside the range will return a missing value. The second option will return the minimum value or the maximum value in the lookup table. The third option linear enables the extrapolation for the function.

inputUnit: unit of the input values in the lookup table. When this unit is different from the input parameter unit the input values are converted using the config
units configured in the parameters.xml

ouputUnit: unit of the output values in the lookup table. When this unit is different from the output parameter unit the output values are converted using the config

units configured in the parameters.xml

Code Block
titleconfig example
<transformation id="simpleTableLookup">
	<lookup>
		<simple>
			<input>
				<variableId>H1</variableId>
			</input>
			<coefficientSet>
				<interpolationType>linear</interpolationType>
				<extrapolationType>extrapolate</extrapolationType>
				<inputUnit>m</inputUnit>
				<outputUnit>mm</outputUnit>
				<lookupTable>
					<lookupTableRow input="1.8" output="4000"/>
					<lookupTableRow input="2.0" output="6000"/>
					<lookupTableRow input="2.2" output="8000"/>
					<lookupTableRow input="2.4" output="10000"/>
					<lookupTableRow input="2.6" output="12000"/>
					<lookupTableRow input="2.8" output="14000"/>
					<lookupTableRow input="3.0" output="16000"/>
					<lookupTableRow input="3.2" output="18000"/>
					<lookupTableRow input="3.4" output="20000"/>
					<lookupTableRow input="3.6" output="22000"/>
				</lookupTable>
			</coefficientSet>
			<output>
				<variableId>H2</variableId>
			</output>
		</simple>
	</lookup>
</transformation>