Interpolation Configuration Options

The program_options configuration file currently controls the interpolation method selected by the value of InterpCode set. The interpolation may be part of an overall algorithm applied to the data.

On 2009/07/08 20:28 the possible values for InterpCode are:

InterpCode Description Status
1 Inverse Distance Square over all neighbours. OK
2 Inverse Distance Square within a radius determined by the parameter IInterpolationDistance OK (Example of Numbers of Neighbours)
3 The same as “2” with a correction for altitude in place (applicable only for rainfall). OK
4 Inverse Distance Square using neighbours chosen from an external station list. To be validated.
5 Linear interpolation using neighbours chosen from an external station list. Obsolete … replaced by “7”
6 The same as “3” but with addedd logic to filter neighbours based on like wet or dry conditions. Experimental.
7 Delaunay triangulation to choose neighbours followed by linear interpolation. OK
8 Dummy code block that returns a value of -10 for all interpolations. Placeholder, sometimes used as a dummy call in testing.
9 This is a placeholder for spatial interpretation for temperature. Currently the algorithm just picks the same value as the nearest neighbour with a measurement. Development
10 Another placeholder for spatial interpretation for temperature - a inverse distance square is performed but this is just for test purposes. Development
other Other values are handled gracefully and no interpolation is performed. OK