Giter Club home page Giter Club logo

pycrust's Introduction

pyCrust

Create a crustal thickness map of a planet from gravity and topography.

Description

The repo pyCrust provides several functions for generating crustal thickness maps of a planet from gravity and topography data, and the calculation of hydrostatic relief along density interfaces beneath the lithosphere.

Modules

pyMoho.py

pyMoho Calculate relief using a constant density crust and mantle.

pyMohoRho Calculate relief using a constant density mantle and a variable density crust.

Hydrostatic.py

HydrostaticShapeLith Calculate the relief of hydrostatic interfaces beneath the lithosphere, along with the predicted gravity, taking into account rotation and/or tides.

HydrostaticShape Calculate the relief of hydrostatic interfaces and predicted gravity of a rotating hydrostatic planet.

Example scripts

pyCrust_Moon A script that demonstrates how to calculate the thickenss of the lunar crust using either a constant or variable density crust. The latter can be used to reproduce the results presented in Wieczorek et al. (2013).

pyCrust_Mars A script that demonstrates how to calculate the thickenss of the Martian crust using either a constant or variable density crust. For the variable density crust, the density is assumed to change discontinuously across the dichotomy boundary.

Core-Moon Calculate the hydrostatic relief of the lunar core accounting for the non-hydrostatic potential that comes from the lithosphere.

How to install and run pyCrust

First, you will need to install pyshtools, version 4.3 or greater. Normally, you should be able to do this with the command

pip install pyshtools

To install manually from the develop branch follow these steps

git clone https://github.com/SHTOOLS/SHTOOLS.git
cd SHTOOLS
git checkout develop
pip install -v -e .

Next install pyCrust in a different directory

git clone
https://github.com/MarkWieczorek/pycrust.git

Now run the script (preferably using python3)

cd pycrust
python pyCrust_Moon.py

Reference

Wieczorek, M. A., G. A. Neumann, F. Nimmo, W. S. Kiefer, G. J. Taylor, H. J. Melosh, R. J. Phillips, S. C. Solomon, J. C. Andrews-Hanna, S. W. Asmar, A. S. Konopliv, F. G. Lemoine, D. E. Smith, M. M. Watkins, J. G. Williams, M. T. Zuber (2013), The crust of the Moon as seen by GRAIL, Science, 339, 671-675, doi:10.1126/science.1231530.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.