Skip to content

Very out of date, large update coming soon. Feel free to email if you need anything.

License

Notifications You must be signed in to change notification settings

Humboldt-Penguin/redplanet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedPlanet

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

Usage:

Install with pip install redplanet.

GRS

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

 

Example 1:

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
)

 


Crust

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.

 

Example 1:

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)

 

Example 2:

Crustal thickness profile of Henry Crater with various crust-mantle interface models.

Recreate with: See section 3.2 in demo.ipynb.

 


Documentation

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.

 


Links

About

Very out of date, large update coming soon. Feel free to email if you need anything.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages