GSLIB fortran code wrapped into python
Switch branches/tags
Nothing to show
Clone or download
Adrian Martinez Adrian Martinez
Adrian Martinez and Adrian Martinez minor changes
Latest commit dfba7a2 Nov 9, 2018
Permalink
Failed to load latest commit information.
cython_code minor changes Nov 9, 2018
doc minor updates Aug 24, 2018
docs minor updates Aug 24, 2018
for_code testing new variogram interface Oct 29, 2018
pygslib minor changes Nov 9, 2018
pygslib_conda testing new variogram interface Oct 29, 2018
sandbox minor changes Nov 9, 2018
tests implemmenting unit testing Aug 22, 2018
.gitignore *** Aug 22, 2018
CHANGELOG.txt TODO to fix bug in kriging program added Sep 25, 2016
LICENSE.txt TODO to fix bug in kriging program added Sep 25, 2016
MANIFEST.in
README.md
TODO.md minor changes Aug 16, 2018
conda
setup.cfg
setup.py function to interpolate surface added Sep 22, 2018
setup_old_fragmented.py

README.md

PyGSLIB

Version: '0.0.0.3.9.0'
Documentation: https://opengeostat.github.io/pygslib/
Wiki: https://github.com/opengeostat/pygslib/wiki
Source code: https://github.com/opengeostat/pygslib
Videos: https://www.youtube.com/c/opengeostat

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.
  • sandbox Here we put general code and testing code.

Installation in Anaconda/Miniconda distributions (Linux, Window and OS)

The easiest way to install and work with PyGSLIB is using Anaconda or Miniconda (conda) distributions. To install PyGSLIB in the root environment of your anaconda distribution simply type in a terminal:

$ conda install -c opengeostat pygslib

Installation from source (from github.com)

This is the most update 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

Usage

See this [tutorial] (https://opengeostat.github.io/pygslib/Tutorial.html). There is also a video demonstration that uses
an older version of pygslib.

License

Copyright 2018, Adrian Martinez Vargas

This software may be modified and distributed under the terms of the MIT and GPL licenses.

Sunday, 19 of August 2018