Versions Compared

Key

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


Wiki Markup
{scrollbar}

Transformation - InterpolationSpatial Inverse distance

schema:

transformationModule.xsd

keywords:

transformation, spatial interpolation, inverse distance

Description and usage

This transformation function calculates the output based on the weighted average of the closest input locations/grid cells. The weight of each input location/grid cell will be calculated by the inverse distance of each location.

...

It is also possible to maximize the search radius in which the transformation searches for the closest input location/grid cell. This can be done by setting the searchRadius in the configuration.

The weight of each input value in the output is computed by the inverse distance from the input location/grid cell to the output location/grid cell, using the formula:

Image Added

where D is the distance between the input location/grid cell and the output location/grid cell, P is the configured inverseDistancePower and w is the weight.

The power to which the inverse distance is raised in this calcuation calculation can be configured. It is also possible to configure the maximum total number of input values which are used to calculate the output. First the transformation will try to find the closest input locations/grid cells which should be used in the calculation. If one or more values in the input values of these time series are missing values, the transformation will not search for the next closest locations/grid cells but will ignore these values in the calculation.

Input/Output time series

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

...

Optional element defining the maximum value of the input output time series. If the output value is higher than the configured maximum value the output value will be equal to the configured maximum value. 

...

Required elemet to defie the maximum number of points/grid cells which will be used to calculate the output.

excludePointOfOrigin

Optinal field, default value is false. If it is set to true, the point of origin in the inverse-distance spatial interpolation transformation will be excluded from the calculation.

Example

Code Block
xml
xml

<interpolationSpatial>

	<inverseDistance>

		<inputVariable>

			<variableId>input</variableId>

		</inputVariable>

		<minimumValue>0</minimumValue>

		<maximumValue>10000</maximumValue>

		<searchRadius>100000</searchRadius>

		<inverseDistancePower>2</inverseDistancePower>

		<numberOfPoints>3</numberOfPoints>

		<outputVariable>

			<variableId>output</variableId>

		</outputVariable>

	</inverseDistance>

</interpolationSpatial>
Common issues

...