Skip to main content

Tools to read, analyse and visualise models written by the TERRA mantle convection code.

Project description

TerraTools

Tools to read, analyse and visualise models written by the TERRA mantle convection code. TerraTools is released under an MIT License.

DOI

Homepage: https://terratools.readthedocs.io/en/latest/
Documentation: https://terratools.readthedocs.io/en/latest/
Source code: https://github.com/mantle-convection-constrained/terratools

Citing TerraTools

We are currently have a JOSS Paper in review, watch this space.

Installation

Requirements

TerraTools requires Python version 3.9 or newer.

If you want to use the map plotting functions (such as TerraModel.plot_layer), make sure you have a working installation of Cartopy.

Pre-installation

If you are using a Conda-like package manager (e.g., Miniconda or Mamba), we recommend always creating a new environment for each project you are working on into which you install TerraTools. For instance:

conda create -n amazing_mantle_convection_project python=3.11
conda activate amazing_mantle_convection_project

This is entirely optional but often prevents issues with dependency version conflicts.

Installing the latest released version

Installation with pip

Before installing TerraTools with pip, first install and/or upgrade your version of pip:

python -m ensurepip --upgrade

To install the latest released version of TerraTools, then do:

python -m pip install terratools

Installation with dependency management systems

If you use a dependency management system such as Poetry or Pipenv you should add terratools as a dependency of your project.

Installing the development version

You can also install the latest development version of TerraTools from source. To do this, first clone the repository onto your local machine using git:

git clone https://github.com/mantle-convection-constrained/terratools.git

Then navigate to the top level directory and install in development mode:

cd terratools; python -m pip install -ve .

Post-installation

Finally, check you have a fully working installation:

python -c "import terratools"

Reporting bugs

If you would like to report any bugs, please raise an issue on GitHub.

Contributing to TerraTools

If you would like to contribute bug fixes, new functions or new modules to the existing codebase, please fork the terratools repository, make the desired changes and then make a pull request on GitHub.

Acknowledgement and Support

This project is supported by NERC Large Grant MC-squared.

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

terratools-1.2.0.tar.gz (113.9 kB view details)

Uploaded Source

Built Distribution

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

terratools-1.2.0-py3-none-any.whl (117.9 kB view details)

Uploaded Python 3

File details

Details for the file terratools-1.2.0.tar.gz.

File metadata

  • Download URL: terratools-1.2.0.tar.gz
  • Upload date:
  • Size: 113.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Darwin/24.6.0

File hashes

Hashes for terratools-1.2.0.tar.gz
Algorithm Hash digest
SHA256 83e4d15da381b9b65b6872e0c3430da84bf2d2b9273b9b2a1090bbb98564fa30
MD5 278d9925f83c6f7943614c11e89092b4
BLAKE2b-256 13e492d9c63d6806d6382dcbb5bf88c224edc417905ebde372756d59b87ff1aa

See more details on using hashes here.

File details

Details for the file terratools-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: terratools-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 117.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Darwin/24.6.0

File hashes

Hashes for terratools-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9826250ca78ef01f8a5e7b45ba622d8a5a6dc1fa29d071352c9efe6ae4ac435d
MD5 5e3f10f671ba6e37d0d86eaf36c9fa27
BLAKE2b-256 ba6fa12ba2b65aab4c45eaede4d095f580e8017715b180649f149b31f14a7169

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