Replies: 1 comment 14 replies
-
Hey there, thanks for your interest in GSTools. This is of course possible. Could you provide dummy data, so I can help you with setting up the routines? It should look something like this in the end: import gstools as gs
import numpy as np
# your input data as x, y, data points
x, y, data = load_your_data()
cond_pos = [x, y]
mean = np.mean(data)
# simple gaussian model since your plot looks rather smooth
model = gs.Gaussian(dim=2)
krige = gs.krige.Simple(model, cond_pos, data, mean=mean, fit_variogram=True)
# output on a structured grid (image) with specified axis
xaxis, yaxis = get_your_axes()
field = krige.structured([xaxis, yaxis], return_var=False) Cheers, |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i m trying to use kriging to tiff image. the image is that below with number 1 that can be used as an array, it is regular grid. the 2nd image is the one that saga simple kriging module generates. I 'd like to produce a similar product using python. Is it possible somehow GSTools?
Beta Was this translation helpful? Give feedback.
All reactions