Questions tagged [kriging]

A statistical interpolation method, also known as Gaussian process regression, most used in geo-statistics. The goal is to map a surface given limited sample data. The process evaluates the variability of supplied data, then uses a weighted average of neighbouring points -- considering both distance and direction -- to interpolate the desired map points.

186 questions
0
votes
0 answers

Understadning Krige.bayes() output

I am struggling with the Krige.bayes() function in the GeoR package. I was hoping to create a map with my output from the function but I can't seem to find a way to do this. The online pdf (https://cran.r-project.org/web/packages/geoR/geoR.pdf) of…
RW1201
  • 13
  • 3
0
votes
0 answers

Cross variogram negative : flip upside down

Using the "Cokriging" method, I first did a cross variogram. However, I had a negative relationship between my two variables taken, which led to the variogram crossed upside down. I was wondering if it was possible to overthrow it so that it would…
Vulraan
  • 1
  • 1
0
votes
1 answer

calculate R2, RMSE, and MAE for cv.krige (gstat) - R

The aim is to get the R2, RMSE, and MAE summaries for the cv.krige with leave-one-out cross validation. To illustrate I have the following code (please note that a random dataset is created and that metrics are poor): library(Metrics) library(nlme)…
0
votes
1 answer

Ways to plot 3D variogram

I am trying to plot 3D variogram of porosity taking X and Y as coordinates and z as time. Can someone help me out to find a way to plot 3D variogram? I have tried with GSTools, pykridge, GStat.
0
votes
0 answers

How to build a variogram for soil properties

I'm a new user of R, which I use in my studies in digital soil mapping. I have my data, as you can see in my .csv file. There are columns SN (sample number), SAND, SILT, CLAY, OM (Organic Matter). I am trying to create a variogram for each property.…
Dimitris K
  • 33
  • 5
0
votes
0 answers

Ordinary kriging interpolation in a shape file by providing data from csv

I have data of soil property in csv file with lat long and a shape file in which i want to interpolate data by ordinary kriging, i want to make python script
SK Rizvi
  • 1
  • 1
0
votes
0 answers

Refine Spatial Interpolation in Python Script to give better results

I have an XYZ dataset containing 36,000 points in which I'd like to interpolate via the method of kriging I needed an open source way in Python to do Kriging interpolation, so decided to try PyKrige. I tried the below script import numpy as…
GIS_User2
  • 59
  • 5
0
votes
0 answers

printing Kriging rmse value from an object

I am working on surrogate modeling and having a problem with printing rmse value of the kriging surrogate object. It is inside an optimizer class and I want to print out rmse like in the last code in the documentation here. Code is here surr is the…
tufan
  • 27
  • 4
0
votes
0 answers

Error in (function (classes, fdef, mtable) unable to find an inherited method for function ‘krige’ for signature ‘"formula", "tbl_df"’

I have a strange Error and actually don't know how to solve it, even after checking other posts. Everything runs until the Kriging and then I receive the error: Error in (function (classes, fdef, mtable) unable to find an inherited method for…
Tapsi
  • 39
  • 1
  • 4
0
votes
0 answers

is there any interpolation method in python which is similar to Empirical Bayesian Kriging?

EBK Regression Prediction is ESRI propriety tool for interpolation. But I am looking for some open source solution with same method Empirical Bayesian Kriging. I have 10 location rainfall data. I want to interpolate the data to fill the gap in…
0
votes
0 answers

Kriging (Gaussian Process Regression) in SciKit-Learn - access to optimized theta values

How can I access the 'optimized' thetas from the GPR (Kriging-type) in scikit-learn? I want to get the theta for each of the variable/parameter, to verify the influence of those variables/parameters on the model's output. I have tried the following…
0
votes
1 answer

Kriging with gstat in R: Resulting object is blank with no interpolated values

I have kriged a dataset with the gstat package in R, but it has produced an empty variable as a result. I have 1,167 measurement points within a field, and I am trying to interpolate them across 3,464 interpolation points within the same field. How…
ihb
  • 292
  • 9
  • 27
0
votes
1 answer

Kriging using the gstat and automap packages - problems when copying a tutorial

For several locations in my study site i have water depth (m) data, and i'm trying to use kriging to interpolate depth to locations for which i do not have data. I found a useful blog post written by Dr. Wilke here, and tried to apply his code to my…
FlyingDutch
  • 1,100
  • 2
  • 14
  • 24
0
votes
1 answer

Cokrigging in R

I have tried to Cokrig based on the following code and everything seems to work upto fitting of coV and there was an error when I try to generate the interpolation. Here is the code that I accustomed to my…
Yon Balcha
  • 29
  • 6
0
votes
1 answer

Kriging not working in R studio: method not applicable st_crs

I have been working on an exercise using Rstudio. I want to do a kriging interpolation, but I get an error that I have not been able to solve. I'd appreciate if some of you could tell me how to fix it. Here my code: #importing…
Edmundo
  • 11
  • 1