obspy.earthworm.client.Client

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

Bases: 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) -> string
__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
saveWaveform Writes a retrieved waveform directly into a file.

Special Methods

__init__ Initializes a Earthworm Wave Server client.

This Page