rockhound.fetch_prem¶
-
rockhound.fetch_prem(*, load=True)[source]¶ Fetch the Preliminary Reference Earth Model (PREM).
The Preliminary reference Earth model [Dziewonsky1981] is a one-dimensional model representing the average Earth properties as a function of planetary radius. The model includes the depth, density, seismic velocities, attenuation (Q) and anisotropic parameter (\(\eta\)) on the boundaries of several Earth layers. It’s available through IRIS Data Services Products [IRIS2011] in a csv file (comma-separated values). The data is loaded into
pandas.DataFrameobjects.If the file isn’t already in your data directory, it will be downloaded automatically.
- Parameters
load (bool) – Whether to load the data into a
pandas.DataFrameor just return the path to the downloaded data.- Returns
prem (
pandas.DataFrameor str) – The loaded data or the file path to the downloaded data. Thepandas.DataFramecontains the following data:radiusanddepthin km.densityin g/cm³.Vpv,Vph,VsvandVshin km/s.eta,Q_muandQ_kappa(dimensionless).