Skip to content
An extensible framework for high-performance geostatistics in Julia
TeX Julia Makefile
Branch: master
Clone or download
Latest commit da2b925 Jan 11, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Update docs Jan 11, 2020
paper More URL updates Jan 7, 2020
src Reexport PointPatterns submodule Jan 9, 2020
test Update runtests.jl Sep 15, 2019
.gitignore Update .gitignore Dec 2, 2018
.travis.yml Update .travis.yml Dec 2, 2019
CITATION.bib Update CITATION.bib Jul 23, 2019 More URL updates Jan 7, 2020
LICENSE Replace REQUIRE by Project.toml May 1, 2019
Project.toml Reexport PointPatterns submodule Jan 9, 2020 Fix #47: Update URLs Jan 7, 2020

Cite as ↗

Project goals

  • Design a comprehensive framework for geostatistics (or spatial statistics) in a modern programming language.
  • Address the lack of a platform for scientific comparison of different geostatistical algorithms in the literature.
  • Exploit modern hardware aggressively, including GPUs and computer clusters.
  • Educate people outside of the field about the existence of geostatistics.


Get the latest stable release with Julia's package manager:

] add GeoStats


  • STABLEmost recently tagged version of the documentation.
  • LATESTin-development version of the documentation.


A set of Jupyter notebooks demonstrating the current functionality of the package is available in GeoStatsTutorials.

Below is a quick preview of the high-level API. For the full example, please check this notebook.

using GeoStats
using Plots

# data.csv:
#    x,    y,       station, precipitation
# 25.0, 25.0,     palo alto,           1.0
# 50.0, 75.0,  redwood city,           0.0
# 75.0, 50.0, mountain view,           1.0

# read spreadsheet file containing spatial data
sdata = readgeotable("data.csv", coordnames=[:x,:y])

# define spatial domain (e.g. regular grid, point collection)
sdomain = RegularGrid{Float64}(100, 100)

# define estimation problem for any data column(s) (e.g. :precipitation)
problem = EstimationProblem(sdata, sdomain, :precipitation)

# choose a solver from the list of solvers
solver = Kriging(
  :precipitation => (variogram=GaussianVariogram(range=35.),)

# solve the problem
solution = solve(problem, solver)

# plot the solution
contourf(solution, clabels=true)


Project organization

The project is split into various packages:

Package Description
GeoStats.jl Main package reexporting full stack of packages for geostatistics.
Variography.jl Variogram estimation and modeling, and related tools.
KrigingEstimators.jl High-performance implementations of Kriging estimators.
PointPatterns.jl Spatial point pattern analysis and synthesis.
GeoStatsImages.jl Training images for multiple-point geostatistical simulation.
GslibIO.jl Utilities to read/write extended GSLIB files.
GeoStatsBase.jl Base package containing problem and solution specifications (for developers).

The main package (i.e. GeoStats.jl) is self-contained, and provides the full stack of packages for high-performance geostatistics over arbitrary domains. Other packages like GeoStatsImages.jl can be installed from the list above for additional functionality.

Problems and solvers

Solvers for geostatistical problems can be installed separately depending on the application. They are automatically integrated with GeoStats.jl thanks to Julia's multiple dispatch features.

Estimation problems

Solver Description Build Coverage References
Kriging Kriging (SK, OK, UK, EDK) Matheron 1971
InvDistWeight Inverse distance weighting Shepard 1968
LocalWeightRegress Locally weighted regression Cleveland 1979

Simulation problems

All simulation solvers can generate realizations in parallel unless otherwise noted.

Solver Description Build Coverage References
DirectGaussSim Direct Gaussian simulation Alabert 1987
SeqGaussSim Sequential Gaussian simulation Gómez-Hernández 1993
SpecGaussSim Spectral Gaussian simulation Gutjahr 1997
TuringPat Turing patterns Turing 1952
ImgQuilt Fast image quilting Hoffimann 2017
StratSim Stratigraphy simulation Hoffimann 2018
CookieCutter Cookie-cutter scheme Begg 1992

Learning problems

Solver Description Build Coverage References
PointwiseLearn Pointwise learning Hoffimann 2018

If you are a developer and your solver is not listed above, please open a pull request and we will be happy to review and add it to the list. Please check the developer guide in the documentation below for instructions on how to write your own solvers.

Contributing and supporting

Contributions are very welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems. We have written instructions to help you with the process.

If you have questions, don't hesitate to ask. Join our community in our gitter channel. We are always willing to help.

GeoStats.jl was developed as part of academic research. It will always be open source and free of charge. If you would like to help support the project, please star the repository and share it with your colleagues.


If you find GeoStats.jl useful in your work, please consider citing it:


  title={GeoStats.jl – High-performance geostatistics in Julia},
  author={Hoffimann, Júlio},
  journal={Journal of Open Source Software},
  publisher={The Open Journal},

Used at

You can’t perform that action at this time.