obspy.clients.syngine.client.Client

class Client(base_url='http://service.iris.edu/irisws/syngine/1', user_agent='ObsPy/1.1.1 (Linux-4.16.13-300.fc28.x86_64-i686-with-fedora-30-Thirty, Python 3.7.3)', debug=False, timeout=20)[source]

Bases: obspy.clients.base.WaveformClient, obspy.clients.base.HTTPClient

Client for the IRIS Syngine service.

Attributes

__abstractmethods__
__dict__
__doc__
__module__
__weakref__ list of weak references to the object (if defined)

Public Methods

get_available_models Get information about all available velocity models.
get_model_info Get some information about a particular model.
get_service_version Get the service version of the remote Syngine server.
get_waveforms Request waveforms using the Syngine service.
get_waveforms_bulk Request waveforms for multiple receivers simultaneously.

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_Client__read_to_stream
_convert_parameters
_download Download the URL with GET or POST and the chosen parameters.
_get_url
_handle_requests_http_error Error handling for the HTTP errors.

Special Methods

__dir__ Default dir() implementation.
__format__ Default object formatter.
__init__ Initializes a Syngine Client.
__init_subclass__ This method is called when a class is subclassed.
__new__ Create and return a new object.
__reduce__ Helper for pickle.
__reduce_ex__ Helper for pickle.
__sizeof__ Size of object in memory, in bytes.
__subclasshook__ Abstract classes can override this to customize issubclass().