Skip to main content

1-D interior dynamics of rocky mantles that are solid, liquid, or mixed phase

Project description

Aragog

Python 3.10+ License: GPL v3 Documentation Status Python package

Under development

This code remains under active development, hence the interface is not stable and should not be relied upon.

About

Aragog is a Python package that computes the 1-D interior dynamics of rocky mantles that are solid, liquid, or mixed phase. It is mostly a pure Python version of the SPIDER code originally written in C albeit with some differences. Note that the atmosphere module in the original SPIDER code is now supported by a separate and more comprehensive Python package Atmodeller (release forthcoming).

Documentation: https://aragog.readthedocs.io

Source code: https://github.com/ExPlanetology/aragog

Citation

If you use Aragog (or the original SPIDER code) please cite:

  • Bower, D.J., P. Sanan, and A.S. Wolf (2018), Numerical solution of a non-linear conservation law applicable to the interior dynamics of partially molten planets, Phys. Earth Planet. Inter., 274, 49-62, doi: https://doi.org/10.1016/j.pepi.2017.11.004.

Open access versions of the publication are available:

Installation

Quick install

The basic procedure is to install Aragog into a Python environment. For example, if you are using a Conda distribution to create and manage Python environments (e.g. Anaconda), create a new environment noting that Aragog requires Python >= 3.10. Once created, make sure to activate the environment. To achieve this, terminal commands are given below, but you can also use the Anaconda Navigator (or similar GUI) to create and activate environments:

conda create -n aragog python
conda activate aragog

Alternatively, you can create and activate a virtual environment.

Finally, install Aragog into the activated environment:

pip install aragog

Developer install

  • See this guide to develop Aragog using VS Code and Poetry.
  • See this guide to develop Aragog if you are a Windows or Spyder user.

Navigate to a location on your computer and obtain the source code using git:

git clone git@github.com:ExPlanetology/aragog.git aragog
cd aragog

Install Aragog into the environment using either (a) Poetry or (b) pip. There are some subtle differences between Poetry and pip, but in general Aragog is configured to be interoperable for most common operations (e.g. see this Gist).

  • (a) Poetry option, which requires that Poetry is installed:

      poetry install --all-extras
    
  • (b) pip option, where the -e option is for an editable install:

      pip install -e ".[docs]"
    

    If desired, you will need to manually install the dependencies for the tests, which are automatically installed by Poetry but not by pip. See the additional dependencies to install in pyproject.toml.

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

aragog-0.1.6a0.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

aragog-0.1.6a0-py3-none-any.whl (50.5 kB view details)

Uploaded Python 3

File details

Details for the file aragog-0.1.6a0.tar.gz.

File metadata

  • Download URL: aragog-0.1.6a0.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for aragog-0.1.6a0.tar.gz
Algorithm Hash digest
SHA256 fbcc31bfd144a0e0699d0147ccad49415c0803d13ed54eb1a86c31b711522f5e
MD5 7bd318e17c9bd28bf96a7b9f8d065187
BLAKE2b-256 97d64599fc36e2ab28de64a9b56d8736a12c18fca51c17d4e31bbca7a7622a21

See more details on using hashes here.

Provenance

The following attestation bundles were made for aragog-0.1.6a0.tar.gz:

Publisher: publish.yaml on ExPlanetology/aragog

Attestations:

File details

Details for the file aragog-0.1.6a0-py3-none-any.whl.

File metadata

  • Download URL: aragog-0.1.6a0-py3-none-any.whl
  • Upload date:
  • Size: 50.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for aragog-0.1.6a0-py3-none-any.whl
Algorithm Hash digest
SHA256 5424e8b41ed9ab013e4842a9f0c5581c7f8b8fed1faf1dd57e282da2f54455c0
MD5 58774550e2bd2a01637e8b52847f7154
BLAKE2b-256 01198dc2fd28bd19f84bb7ea76d58fd5631c6cae73e0f5bea236dcacf8118d5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for aragog-0.1.6a0-py3-none-any.whl:

Publisher: publish.yaml on ExPlanetology/aragog

Attestations:

Supported by

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