Overview
bwaaa
4 modules for users:
- User Config
- Whenever you run code that requires a dataset, RedPlanet will (1) check if the file is in your local cache and has the correct hash, and if not then (2) download the file.
- You can specify various options like where the data is stored, how file integrity is checked, etc.
- Datasets
- There are 2 general types of datasets:
- Raster datasets (i.e. regular 2D grids, or "pixels"), where you must
load
a model before using theget
function to access points/swaths of data. For implementation details, seesrc/redplanet/helper_functions/GriddedData.py
.- Topography / DEM (
Crust.topo
) - Mohorovičić Discontinuity / Crustal Thickness (
Crust.moho
) - Bouguer Anomaly (
Crust.boug
) - Spherical Harmonic Models (
Mag.sh
) - Gamma-Ray Spectrometer (
GRS
) — this is a special case where noload
function is needed, it's loaded upon first access.
- Topography / DEM (
- Point datasets, no need to
load
before use.- Craters (
Craters
) - Dichotomy (
Crust.dichotomy
) - Magnetic Source Depths (
Mag.depth
)
- Craters (
- Raster datasets (i.e. regular 2D grids, or "pixels"), where you must
- There are 2 general types of datasets:
- Analysis
- Various analysis tools
- Helper Functions
- Miscellaneous convenience functions