obspy.clients.earthworm.client.Client

class Client(host, port, timeout=None, debug=False)[source]

Bases: builtins.object

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__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Public Methods

availability
getWaveform
get_availability Gets a list of data available on the server.
get_waveforms Retrieves waveform data from Earthworm Wave Server and returns an ObsPy
saveWaveform
save_waveforms Writes a retrieved waveform directly into a file.

Special Methods

__dir__ default dir() implementation
__format__ default object formatter
__init__ Initializes a Earthworm Wave Server client.
__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().