Skip to main content

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

  • NumPy 1.10.4

  • SciPy 0.17.0

  • Matplotlib 1.5.1

  • six 1.10.0 (used by Matplotlib, should be installed automatically)

  • pytz 2015.7 (used by Matplotlib, should be installed automatically)

  • python-dateutil 2.4.2 (used by Matplotlib, should be installed automatically)

  • pyparsing 2.0.7 (used by Matplotlib, should be installed automatically)

  • cycler 0.9.0 (used by Matplotlib, should be installed automatically)

  • PyQt 4.11.4

  • GDAL 2.0.2

  • numexpr 2.4.6

  • numba 0.23.1

  • llvmlite 0.8.0

  • PyOpenGL 3.1.1b1

Windows Users

You may need to install some dependencies using downloaded binaries, because of compilation requirements. These are:

  • numexpr 2.4.6

  • numba 0.23.1

  • llvmlite 0.8.0

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

Anaconda

Anaconda does not find pyqt4 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 PyQt4 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


Download files

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

Source Distribution

pygmi-2.2.11.zip (523.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygmi-2.2.11-py3-none-any.whl (501.8 kB view details)

Uploaded Python 3

File details

Details for the file pygmi-2.2.11.zip.

File metadata

  • Download URL: pygmi-2.2.11.zip
  • Upload date:
  • Size: 523.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygmi-2.2.11.zip
Algorithm Hash digest
SHA256 17817b26fe5d65433445a91fac38e177607367e249a450ac4a30b8fcf0241f57
MD5 cc864a85a7df84e43c42bfb280e94fa6
BLAKE2b-256 7c7bee7ba80361d8c7ea0864a6281a501bed7eb413d363f5d598a9359bc8fabf

See more details on using hashes here.

File details

Details for the file pygmi-2.2.11-py3-none-any.whl.

File metadata

File hashes

Hashes for pygmi-2.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 c6025ed7ac02a7f7d74a17b578ed9c4220a3c66f4a51185a3b8af152ef7eba33
MD5 96a1f9511c9d47ab407fb294224ff44d
BLAKE2b-256 78fcf539ed0319aa8fd7f29090b471a4230eca5d66f19132384137ebefca7749

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page