Wiki / Features / Download / Documentation / Contacts / ScreenShots

The Stanford Geostatistical Modeling Software

SGeMS is a software for 3D geostatistical modeling. It implements many of the classical geostatistics algorithms, as well as new developments made at the SCRF lab, Stanford University.
SGeMS relies on the Geostatistics Template Library (GsTL) to implement its geostatistical routines, including:

  • Kriging
  • Multi-variate kriging (co-kriging)
  • Sequential Gaussian simulation
  • Sequential indicator simulation
  • Multi-variate sequential Gaussian and indicator simulation
  • Multiple-point statistics simulation

For news, tutorials, and an FAQ, visit the SGeMS wiki.

Main Features

  • Comprehensive geostatistical toolbox
  • Standard data analysis tools: histogram, QQ-plots, variograms,...
  • interactive 3D visualization
  • Scripting capabilities: SGeMS embeds the Python scripting language, that allows to automatically perform several (repetitive) actions.
  • Use of plug-ins to add new geostatistics algorithms, support new file formats, or increase the set of script commands


SGeMS is currently available on both Linux and Windows. It should be possible to compile it on other Unix platforms and Mac OSX ; if you would like to try, I would be happy to assist you.
The code is distributed under the GNU General Public License (GPL). For more information about the GPL, click here, or here for a non-lawyer-readable summary
We strongly encourage you to subscribe to the sgems-users mailing list: it's the best way to ask for help, report bugs, or be informed of new releases.

To compile SGeMS, you will need the following libraries:

  • GsTL (Geostatistics Template Library)
  • Qt (GUI library) version 3.1 or higher
  • Coin3D (OpenIventor library), version 2.x
  • SoQt (Qt bindings for OpenIventor), version 1.x
  • SimVoleon (Volume rendering extension for Coin3D), version 2.x
and a compiler that correctly supports templates (e.g. member templates, template specialization,...). SGeMS has been successfully compiled with gcc-2.96, gcc-3.3.4 (compiler crashes were reported with 3.3.1), gcc-4, Intel C++ compiler and Visual .Net 2003.

Unfortunately, SGeMS is probably not bug-free... To report bugs in SGeMS, use this tool. Don't forget to include a full description of what happened, and how to reproduce the bug (what did you do that caused the bug). Simply saying "SGeMS crashed!" does not help... Please include any dataset, log files (sgems_history.log and sgems_status.log) useful to reproduce the bug.

Data Sets

  • A simple 3D data set (zipped version ). This is a simplified version of the Stanford V data set. It contains a 100x130x30 cells grid (each cell dimensions are 1x1x1) and a set of points with 3 properties. The grid contains a realization of sgsim (sequential gaussian simulation).
  • The full version of Stanford V (scroll to the bottom of the page)




There are 2 mailing lists that can be used:
  • sgems-users: subscribe to this mailing list to ask for help on using SGeMS, get info about new releases, exchange tips on using SGeMS, etc. Note that you have to subscribe to the list in order to be able to post messages. Visit this page to subscribe or browse the archives.
  • sgems-devel: this mailing list is for developers working on SGeMS (ie you're writing a new algorithm plug-in, a python script, etc). Note that you have to subscribe to the list in order to be able to post messages. Visit this page to subscribe or browse the archives.


Nicolas Remy, Alexandre Boucher, Jianbing Wu, Ting Li, Joy Rajiv, Michael Sharps


main window

with command panel
script editor

variogram modeling

Running a Gaussian Simulation

top logo