Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python Geophysical Modelling and Interpretation

Project description

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).

It includes:

  • 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.

If you have any comments or queries, you can contact the author either through GitHub or via email at pcole@geoscience.org.za

Requirements

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

Windows Users

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:

  • numexpr
  • numba
  • llvmlite
  • GDAL

They can be obtained from the website by Christoph Gohlke.

You may also need to install the Microsoft Visual C++ 2015 Redistributable.

Linux

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

Anaconda does not find pyqt5 on its system even if it is there already. To install pygmi on anaconda, download the zip file manually, edit the setup.py file, and replace the install_requires switch with the following:

install_requires=[“numpy”, “scipy”, “matplotlib”, “gdal”, “numexpr”, “numba”, “Pillow”, “PyOpenGL”],

As you can see, all we have done is removed PyQt5 from the requirements. You will need to make sure it is a part of your conda installation though. From this point the regular command will install pygmi:

python setup.py install

Note that you can simply install Anaconda use its ‘conda install’ command to satisfy dependencies. For example:

conda install gdal

conda install krb5

Make sure that krb5 is installed, or gdal will not work.

Project details


Release history Release notifications

This version
History Node

2.4.1

History Node

2.2.15

History Node

2.2.14

History Node

2.2.13

History Node

2.2.12

History Node

2.2.11

History Node

2.2.10

History Node

2.2.9

History Node

2.2.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pygmi-2.4.1-py3-none-any.whl (549.0 kB) Copy SHA256 hash SHA256 Wheel py3 Aug 29, 2017
pygmi-2.4.1.tar.gz (487.2 kB) Copy SHA256 hash SHA256 Source None Aug 29, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page