Note
Go to the end to download the full example code.
Redundant data and pseudo-inverse
It can happen, that the kriging system gets numerically unstable. One reason could be, that the input data contains redundant conditioning points that hold different values.
To smoothly deal with such situations, you can use the pseudo inverse for the kriging matrix, which is enabled by default.
This will result in the average value for the redundant data.
Example
In the following we have two different values at the same location. The resulting kriging field will hold the average at this point.

Total running time of the script: (0 minutes 0.054 seconds)