I have borehole temperature logging data in a wide area, and there is linear trend in the z direction of temperature values. The depths and sample interval of each borehole are different. I want to estimate the value to a target grid which I already created 1000*1000*100. Does anybody know the solution for such an estimation? How do I calculate the variogram at three dimension? Thank you in advance.