Inverse distance weighting where neighbouring values are zero

737 Views Asked by At

I am trying to interpolate a set of rainfall data in order to find the rainfall at an unknown point.

I have been using the inverse distance weighting interpolation method (details given here: http://en.wikipedia.org/wiki/Inverse_distance_weighting), and the main problem I am having is that where the rainfall at some of the points is equal to zero, these points are effectively ignored because the weight for that point is being multiplied by zero. This means that the estimated rainfall given by the interpolation is way too high.

It may be that I am being stupid, but I can't work out how to apply the method when the data at some of the input points is zero. I have seen other people interpolating the rainfall anomaly instead, but this won't work as the data I am interpolating is the monthly climatology data. Basically some points have never had any rainfall in a particular month.

Can anyone suggest a way I can incorporate this zero rainfall data?

1

There are 1 best solutions below

2
On BEST ANSWER

The zero-rainfall points are not being ignored at all! They are contributing to the denominator in the equation for $u$(x).

In fact the equation is linear in the $u_i$, which means that if you add a constant $c$ to all readings, the result is increased by $c$. So if you are doing it right, whether a reading is zero or not is irrelevant $-$ it's just the relative values of the readings that is important.