ExPlanetology / aragog

A parameterised convection model to solve for the interior dynamics of solid, molten, or partially molten rocky mantles.
GNU General Public License v3.0
3 stars 0 forks source link

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:

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