Low-level interface for traveltime Web service of IRIS (http://www.iris.edu/ws/traveltime/) - release 1.1.1 (2012-05-15).
This method will calculates travel-times for seismic phases using a 1-D spherical earth model.
Parameters: |
|
---|
Geographical Parameters - required
The travel time web service requires a great-circle distance between an event and station be specified. There are three methods of specifying this distance:
Parameters: |
|
---|
Output Parameters
Parameters: |
|
---|---|
Return type: | str or None |
Returns: | ASCII travel time table if no filename is given. |
Example
>>> from obspy.iris import Client
>>> client = Client()
>>> result = client.traveltime(evloc=(-36.122,-72.898),
... staloc=[(-33.45,-70.67),(47.61,-122.33),(35.69,139.69)],
... evdepth=22.9)
>>> print(result)
Model: iasp91
Distance Depth Phase Travel Ray Param Takeoff Incident ...
(deg) (km) Name Time (s) p (s/deg) (deg) (deg) ...
------------------------------------------------------------------...
3.24 22.9 P 49.39 13.749 53.77 45.82 ...
3.24 22.9 Pn 49.40 13.754 53.80 45.84 ...