Retrieve basic information from velocity models

Hi coders,

Is there an easy way to retrieve basic information from the velocity models that get shipped with Obspy?

For example, for certain depths, I’d like to get the densities of the PREM model. Obviously, I could download the model by hand and write a function that retrieves the wanted information (this is what I did).

I was just wondering, is there a beautiful Obspy solution? I was only able to find travel and arrival time classes/functions.



Hey John,

currently not. But if you cook up a solution please consider making a Pull request :wink: Also feel free to open an issue on github to discuss the API.