obspy.earthworm.client.Client¶
- class Client(host, port, timeout=None, debug=False)[source]¶
Bases: future.types.newobject.newobject
A Earthworm Wave Server client.
Parameters: - host (str) Host name of the remote Earthworm Wave Server server.
- port (int) Port of the remote Earthworm Wave Server server.
- timeout (int, optional) Seconds before a connection timeout is raised (default is None).
- debug (bool, optional) Enables verbose output of the connection handling (default is False).
Attributes
__dict__ __doc__ unicode(string [, encoding[, errors]]) -> object __module__ str(object) -> string __weakref__ list of weak references to the object (if defined) Public Methods
availability Gets a list of data available on the server. getWaveform Retrieves waveform data from Earthworm Wave Server and returns an ObsPy next saveWaveform Writes a retrieved waveform directly into a file. Special Methods
__init__ Initializes a Earthworm Wave Server client. __long__ __native__ Hook for the future.utils.native() function __nonzero__ __unicode__