SciKit-GStat 1.0: a SciPy-flavored geostatistical variogram estimation toolbox written in Python
Author:
Open Access
- 25 March 2022
- journal article
- research article
- Published by Copernicus GmbH in Geoscientific Model Development
- Vol. 15 (6) , 2505-2532
Abstract
Geostatistical methods are widely used in almost all geoscientific disciplines, i.e., for interpolation, rescaling, data assimilation or modeling. At its core, geostatistics aims to detect, quantify, describe, analyze and model spatial covariance of observations. The variogram, a tool to describe this spatial covariance in a formalized way, is at the heart of every such method. Unfortunately, many applications of geostatistics focus on the interpolation method or the result rather than the quality of the estimated variogram. Not least because estimating a variogram is commonly left as a task for computers, and some software implementations do not even show a variogram to the user. This is a miss, because the quality of the variogram largely determines whether the application of geostatistics makes sense at all. Furthermore, the Python programming language was missing a mature, well-established and tested package for variogram estimation a couple of years ago. Here I present SciKit-GStat, an open-source Python package for variogram estimation that fits well into established frameworks for scientific computing and puts the focus on the variogram before more sophisticated methods are about to be applied. SciKit-GStat is written in a mutable, object-oriented way that mimics the typical geostatistical analysis workflow. Its main strength is the ease of use and interactivity, and it is therefore usable with only a little or even no knowledge of Python. During the last few years, other libraries covering geostatistics for Python developed along with SciKit-GStat. Today, the most important ones can be interfaced by SciKit-GStat. Additionally, established data structures for scientific computing are reused internally, to keep the user from learning complex data models, just for using SciKit-GStat. Common data structures along with powerful interfaces enable the user to use SciKit-GStat along with other packages in established workflows rather than forcing the user to stick to the author's programming paradigms. SciKit-GStat ships with a large number of predefined procedures, algorithms and models, such as variogram estimators, theoretical spatial models or binning algorithms. Common approaches to estimate variograms are covered and can be used out of the box. At the same time, the base class is very flexible and can be adjusted to less common problems, as well. Last but not least, it was made sure that a user is aided in implementing new procedures or even extending the core functionality as much as possible, to extend SciKit-GStat to uncovered use cases. With broad documentation, a user guide, tutorials and good unit-test coverage, SciKit-GStat enables the user to focus on variogram estimation rather than implementation details.Keywords
All Related Versions
This publication has 56 references indexed in Scilit:
- Temporal Stability of Soil Water Contents: A Review of Data and AnalysesVadose Zone Journal, 2012
- Implementing the Nelder-Mead simplex algorithm with adaptive parametersComputational Optimization and Applications, 2010
- Multiple‐point geostatistics for modeling subsurface heterogeneity: A comprehensive reviewWater Resources Research, 2008
- On the value of soil moisture measurements in vadose zone hydrology: A reviewWater Resources Research, 2008
- Copula‐based geostatistical models for groundwater quality parametersWater Resources Research, 2006
- Geostatistical approaches for incorporating elevation into the spatial interpolation of rainfallJournal of Hydrology, 2000
- Spatial distribution of soil moisture in a small catchment. Part 1: geostatistical analysisJournal of Hydrology, 1998
- On the histogram as a density estimator:L 2 theoryProbability Theory and Related Fields, 1981
- Robust estimation of the variogram: IMathematical Geology, 1980
- Aesthetic Frequency ClassificationsThe American Statistician, 1976