Source code: https://github.com/opengeostat/pygslib
This is an open-source python module for mineral resource estimation and geostatistics. It consists of:
gslib. This is for geostatistics and interpolation. It was built with [GSLIB Fortran 77 code] (http://www.statios.com/Quick/gslib.html) enhanced and wrapped to Python with f2py.
drillhole. This is for basic drillhole operations, such as compositing and desurveying.
blockmodel. This is for block modelling. It has functions to fill wireframes with blocks, reblocking, among others.
vtktools. This is for 3D computational geometry based on VTK, for example, to select samples within wireframes. It also handles VTK files.
nonlinear. This module is under construction! It is an experimental module for nonlinear geostatistics based on the Discrete Gaussian Model.
sandboxHere, we put general code and testing code. (will be removed)
plothtmlTo plot with bokeh (will be changed to matplotlib)
charttableTo plot pandas dataframe tables formatted
Installation in Anaconda/Miniconda distributions (Linux, Window and OS)
The easiest way to install and work with PyGSLIB is by using Anaconda or Miniconda (conda) distributions. To install PyGSLIB in the root environment of your anaconda distribution, simply type in a terminal:
$ conda install pygslib -c opengeostat -c conda-forge
Installation from source (from github.com)
This is the most updated but unstable development version. You may manually install all the dependencies and make sure you have gfortran available.
Windows users may read this wiki first. It explains how to prepare the development environment (compilers and dependencies).
$ git clone https://github.com/opengeostat/pygslib.git $ cd pygslib $ python setup.py build $ python setup.py install
See this [tutorial] (https://opengeostat.github.io/pygslib/Tutorial.html). There is also a video demonstration that uses
an older version of pygslib.
Copyright 2018, Adrian Martinez Vargas
Saturday, 11 of November 2020