RedPlanet makes it easy to work with various Mars datasets and derived quantities in Python. Key features include GRS chemical abundance maps, 22K+ moho/crustal thickness models, heat flow + geothermal gradient models, impact demagnetization calculators, MAVEN magnetometer tracks, and more.
Create publication-ready plots on the fly, or access the underlying data for more involved calculations.
Get started with an interactive, web-based tutorial on Google Colab.
[Development is ongoing. See docs/changelog.md for planned features.]
Install with pip install redplanet
.
Access/visualize chemical abundance maps derived from the 2001 Mars Odyssey Gamma Ray Spectrometer. More specifically, this is a July 2022 release of the data from Rani et al. who consolidated three key multivariate methods to create the first unified set of chemical provinces of Mars (including sulfur and aluminum). The data is defined in 5 degree bins, but this module allows you to estimate values at exact coordinates via interpolation. Concentrations can be extracted for both the shallow subsurface (raw data) and bulk crustal composition (normalized to volatile-free basis, i.e. no H2O/Cl/Si).
Iron concentrations in Arabia Terra. Data is normalized to a volatile-free basis (H2O/Cl/Si free), so it is representative of the bulk crustal chemistry.
Recreate with:
from redplanet import GRS
GRS.visualize(
element_name='fe',
normalize=True,
lon_bounds=(5,40),
lat_bounds=(-10,30),
grid_spacing=0.1,
overlay=True
)
Access/visualize high-resolution maps of topography, Moho, crustal thickness, and crustal density derived from spherical harmonics. We offer ~22,000 models of the crust-mantle interface from Wieczorek 2022 (for a summary of models, see here) parameterized by reference interior models, crustal thickness at the InSight landing, and homogeneous/inhomogeneous crustal densities across the dichotomy.
Topography, Moho, and crustal thickness of outflow channels, Valles Marineris, and Argyre basin. Model parameters are 41 km crustal thickness at the InSight landing, 2,700 kg/m^3 crustal density in the South, and 2,900 kg/m^3 crustal density in the North.
Recreate with:
from redplanet import Crust
lons = (-100,-20)
lats = (-60,40)
Crust.load_model(RIM='Khan2022', insight_thickness=41, rho_north=2900, rho_south=2700)
Crust.visualize(quantity='topo', lon_bounds=lons, lat_bounds=lats, grid_spacing=0.1)
Crust.visualize(quantity='moho', lon_bounds=lons, lat_bounds=lats, overlay=True, grid_spacing=0.3)
Crust.visualize(quantity='thick', lon_bounds=lons, lat_bounds=lats, overlay=True, grid_spacing=0.3)
Crustal thickness profile of Henry Crater with various crust-mantle interface models.
Recreate with: See section 3.2 in demo.ipynb.
Call help(module)
or help(module.method)
. For example:
import redplanet
help(redplanet)
help(redplanet.clear_cache)
from redplanet import GRS
help(GRS)
help(GRS.visualize)
Or see the interactive, web-based tutorial on Google Colab.
- Don't hesitate to reach out: zain.eris.kamal@rutgers.edu
- PyPI: pypi.org/project/redplanet/
- Changelog + planned features: docs/changelog.md
- Acknowledgements: docs/thanks.txt
- References: docs/references.txt
- Other work: github.com/Humboldt-Penguin