Python Geophysical Modelling and Interpretation
PyGMI stands for Python Geophysical Modelling and Interpretation. It is a modelling and interpretation suite aimed at magnetic, gravity and other datasets.
PyGMI is developed at the Council for Geoscience (Geological Survey of South Africa).
- Magnetic and Gravity 3D forward modelling
- Cluster Analysis
- Routines for cutting, reprojecting and doing simple modifications to data
- Convenient display of data using pseudo-color, ternary and sunshaded representation.
- It is released under the Gnu General Public License version 3.0
The PyGMI Wiki pages, include installation and full usage!
The latest release version can be found here.
PyGMI will run on both Windows and Linux. It should be noted that the main development is done in Python 3.5 on Windows.
PyGMI is developed and has been tested with the following libraries in order to function:
- python 3.5.4
- cycler 0.10.0
- GDAL 2.1.4
- llvmlite 0.19.0
- matplotlib 2.0.2
- numba 0.34.0
- numexpr 2.6.2
- numpy 1.13.1
- pillow 4.2.1
- pip 9.0.1
- pyopengl 3.1.1
- pyparsing 2.2.0
- pyqt5 5.9
- python_dateutil 2.6.1
- pytz 2017.2
- scipy 0.19.1
- scikit_learn 0.18.2
- setuptools 36.2.7
- sip 4.19.3
- six 1.10.0
You may need to install some dependencies using downloaded binaries, because of compilation requirements. Therefore, if you do get an error, you can try installing precompiled binaries before installing PyGMI.
Examples of binaries you may need to get are:
They can be obtained from the website by Christoph Gohlke.
You may also need to install the Microsoft Visual C++ 2015 Redistributable.
Linux normally comes with python installed, but the additional libraries will still need to be installed. One convenient option is to install the above libraries through Anaconda Python.
Anaconda users are advised not to use pip since it can break PyQt5. Instead, you can install anaconda3 using the regular method, and then:
conda update –all conda install numba=0.42.1 conda install scipy conda install pyopengl conda install gdal conda install scikit-learn conda install pandas conda install matplotlib conda install numexpr conda install numpy conda install pillow conda install setuptools
Please notice the version of numba. Older versions can cause PyGMI to crash on startup.
- Alternatively if you use environments you can simply use the following command:
- conda create -n pygmi2 scipy numba=0.42.1 gdal pandas matplotlib numexpr numpy setuptools pillow pyopengl scikit-learn
- Once this is done, download pygmi, extract it to a directory, and run it from its root directory with the following command:
- python quickstart.py
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pygmi-220.127.116.11-py3-none-any.whl (554.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size pygmi-18.104.22.168.tar.gz (495.8 kB)||File type Source||Python version None||Upload date||Hashes View|