obspy.db.client.Client

class Client(url=None, session=None, debug=False)[source]

Bases: object

Client for a database created by obspy.db.

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)

Public Methods

get_channel_ids

Fetches all possible channel id’s.

get_endtimes

Generates a list of last end times for each channel.

get_location_ids

Fetches all possible location id’s.

get_network_ids

Fetches all possible network id’s.

get_preview

Returns the preview trace.

get_station_ids

Fetches all possible station id’s.

get_waveform_path

Generates a list of available waveform files.

Special Methods

__dir__

Default dir() implementation.

__format__

Default object formatter.

__init__

Initializes the 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().