-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kriging model seems off #118
Comments
Hey there, There are a few things I'd like to comment:
xx, yy = np.mgrid[6.67:6.69:6.72j, 50.86:50.88:50.92j] Your Also, I get a warning, that for 275 of the 300 (6 * 50) target locations there are not enough neighbors. Thus, only 25 locations got interpolated. Finally, concerning the Kriging error, your notebook does not show me any kriging error on the plot when I run it. So I do not really get the point. The associated number for the locations estimated might be high due to the fact that the target grid (xx, yy) is not created as intended. I hope this helps a bit and feel free to drop another comment when you make some progress or anything of my answer is not clear (might take a time until I respond <- vacation). Best, |
As a fairly correct solution to the coordinate problem, use pyproj to transform your coordinates from EPSG 4326 to 32633 (or 25833), then do both the calculation of the variogram, and any kriging of subsidence rates, in that projection. Make sure to keep the original coordinates around so you don't have to transform back and lose precision. |
@simonericmoon have you solved your issues and would you mind sharing your solution for reference? |
I guess this can be closed. |
I'm almost done with my Spatial Interpolation, however the result plot isn't what I would like to have. I followed the documentation of scikit-gstools about kriging: https://scikit-gstat.readthedocs.io/en/latest/tutorials/01_getting_started.html
the last plot is what I want to have.
I have a csv consisting of three columnes:
longitude, latiitude and subsidence values.
longitude values are around: 6.68; latitude values are around 50.76; subsidence rates range from +5 to -35
my current code looks like this:
jupyter code
here is the sample csv:
kerpencsv.csv
as you can see I don't get a colored kriging model and a plot which reflects a very high kriging error.
I'm unsure how to deal with this, yet alone why this is.
I'd be greatful for any help!
The text was updated successfully, but these errors were encountered: