obspy.clients.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__

__module__

__weakref__

list of weak references to the object (if defined)

Public Methods

get_availability

Gets a list of data available on the server.

get_waveforms

Retrieves waveform data from Earthworm Wave Server and returns an ObsPy Stream object.

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.

__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().