An implementation of the ordinary kriging algorithm. This is a time dependent model, it runs over all the timesteps in the input data file.
The Kriging is a group of geostatistical techniques to interpolate the value of a random field (e.g., the elevation, z, of the landscape as a function of the geographic location) at an unobserved location from observations of its value at nearby locations. (for more details see kriging.
The interpolation algorithm used for Kriging can be one of the following two:
- integral scale
- gaussian variogram model
When selecting the interpolation function the user should provide the specific requested data.
It is possible run the model in 4 modes:
- mode = 0: output values on a non-regular grid, it should be provided the vector of points where to interpolate pointsToInterpolate. This is a 2-D interpolation, so the z coordinates are not considered.
- mode = 1: output values on a non-regular grid, it should be provided the vector of points where to interpolate pointsToInterpolate. This is a 3-D interpolation.
- mode = 2: output values on a regular grid, it should be provided the raster gridToInterpolate where to interpolate. This is a 2-D interpolation so the z coordinates are not considered. NOT YET IMPLEMENTED
- mode = 3: output values on a regular grid, it should be provided the raster gridToInterpolate where to interpolate. This is a 3-D interpolation, so the provided raster data have to contain a elevations.NOT YET IMPLEMENTED
Inputs
- the vector of the measurement point, containing the position of the stations where data are measured
- the name of the attribute of the vector of the measurement points defining the STATION ID
- the name of the attribute of the vector of the measurement points defining the STATION ELEVATION
- the text file with the measured data in each station to be interpolated
- the vector of the points in which the data have to be interpolated
- the field of the interpolated vector points, defining the POINT ID
- the field of the interpolated vector points, defining the POINT ELEVATION
Output
- the file containing the interpolated data