obspy.clients.fdsn.client.Client¶
-
class
Client
(base_url='IRIS', major_versions=None, user=None, password=None, user_agent='ObsPy/1.1.1 (Linux-4.16.13-300.fc28.ppc64le-ppc64le-with-fedora-31-Rawhide, Python 3.7.3)', debug=False, timeout=120, service_mappings=None, force_redirect=False, eida_token=None)[source]¶ Bases:
object
FDSN Web service request client.
For details see the
__init__()
method.Attributes
RE_HEX4
RE_IPv4
RE_IPv6
RE_UINT8
URL_REGEX
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Query the event service of the client.
Query the station service of the FDSN client.
Query the station service of the client.
Query the dataselect service of the client.
Query the dataselect service of the client.
Get full version information of webservice (as a tuple of ints).
Print a more extensive help for a given service.
Set user and password resulting in subsequent web service requests for waveforms being authenticated for potential access to restricted data.
Fetch user and password from the server using the provided token, resulting in subsequent web service requests for waveforms being authenticated for potential access to restricted data.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Attaches the actually used dataselet URL to each Trace.
Helper method to fetch response via get_stations() and attach it to each trace in stream.
Builds the correct URL.
Automatically discovers available services.
Get full version information of webservice as a string.
Use the token to get credentials.
Special Methods
Default dir() implementation.
Default object formatter.
Initializes an FDSN Web Service client.
This method is called when a class is subclassed.
Create and return a new object.
Helper for pickle.
Helper for pickle.
Size of object in memory, in bytes.
Return str(self).
Abstract classes can override this to customize issubclass().