redplanet.Crust.moho.get
get(
lon: float | numpy.ndarray,
lat: float | numpy.ndarray,
crthick: bool = False,
as_xarray: bool = False,
) -> (
float | numpy.ndarray | xarray.core.dataarray.DataArray
)
Get Mohorovičić discontinuity depth (or derived crustal thickness) values at the specified coordinates. Dataset must be loaded first, see redplanet.Crust.moho.load(...)
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
lon
|
float | np.ndarray
|
Longitude coordinate(s) in range [-180, 360]. |
required |
lat
|
float | np.ndarray
|
Latitude coordinate(s) in range [-90, 90]. |
required |
crthick
|
bool
|
If True, return crustal thickness values, which is just the difference between the moho and a spherical harmonic model of topography evaluated to the same degree (same method as Wieczorek (2022)). Default is False. |
False
|
as_xarray
|
bool
|
If True, return the data as an |
False
|
Returns:
Type | Description |
---|---|
float | np.ndarray | xr.DataArray
|
Data values at the the input coordinates. The return type is determined as follows:
Units are meters [m]. |
References
- Wieczorek, M. A. (2022). InSight Crustal Thickness Archive [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.6477509 [Data from "dichotomy/" is mirrored to https://rutgers.box.com/v/redplanet-data]