obspy.db.client.Client

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

Bases: object

DEPRECATED – obspy.db database client is deprecated

Client for a database created by obspy.db.

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

Client.__delattr__(name, /)

Implement delattr(self, name).

Client.__dir__()

Default dir() implementation.

Client.__eq__(value, /)

Return self==value.

Client.__format__(format_spec, /)

Default object formatter.

Client.__ge__(value, /)

Return self>=value.

Client.__getattribute__(name, /)

Return getattr(self, name).

Client.__gt__(value, /)

Return self>value.

Client.__hash__()

Return hash(self).

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

DEPRECATED – obspy.db database client is deprecated

Initializes the client.

Parameters
Client.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

Client.__le__(value, /)

Return self<=value.

Client.__lt__(value, /)

Return self<value.

Client.__ne__(value, /)

Return self!=value.

Client.__new__(**kwargs)
Client.__reduce__()

Helper for pickle.

Client.__reduce_ex__(protocol, /)

Helper for pickle.

Client.__repr__()

Return repr(self).

Client.__setattr__(name, value, /)

Implement setattr(self, name, value).

Client.__sizeof__()

Size of object in memory, in bytes.

Client.__str__()

Return str(self).

Client.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).