This is now the method that performs the main kriging calculation.
Note that currently measurements (i.e., z values) are considered
'exact'. This means that, when a specified coordinate for interpolation
is exactly the same as one of the data points, the variogram evaluated
at the point is forced to be zero. Also, the diagonal of the kriging
matrix is also always forced to be zero. In forcing the variogram
evaluated at data points to be zero, we are effectively saying that
there is no variance at that point (no uncertainty,
so the value is 'exact').
In the future, the code may include an extra 'exact_values' boolean
flag that can be adjusted to specify whether to treat the measurements
as 'exact'. Setting the flag to false would indicate that the
variogram should not be forced to be zero at zero distance
(i.e., when evaluated at data points). Instead, the uncertainty in
the point will be equal to the nugget. This would mean that the
diagonal of the kriging matrix would be set to
the nugget instead of to zero.
If I had a dataset where the measurement uncertainty varies across various measurement points, how can I take that into account?
From the
executedoctring in OrdinaryKrigingQuestions:
nuggetparameter of the variogram estimated?