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.x86_64-i686-with-fedora-30-Thirty, 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
get_events
Query the event service of the client. get_stations
Query the station service of the FDSN client. get_stations_bulk
Query the station service of the client. get_waveforms
Query the dataselect service of the client. get_waveforms_bulk
Query the dataselect service of the client. get_webservice_version
Get full version information of webservice (as a tuple of ints). help
Print a more extensive help for a given service. set_credentials
Set user and password resulting in subsequent web service requests for waveforms being authenticated for potential access to restricted data. set_eida_token
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.
_attach_dataselect_url_to_stream
Attaches the actually used dataselet URL to each Trace. _attach_responses
Helper method to fetch response via get_stations() and attach it to each trace in stream. _build_url
Builds the correct URL. _create_url_from_parameters
_discover_services
Automatically discovers available services. _download
_get_webservice_versionstring
Get full version information of webservice as a string. _repr_pretty_
_resolve_eida_token
Use the token to get credentials. _set_opener
_validate_base_url
_write_to_file_object
Special Methods
__dir__
Default dir() implementation. __format__
Default object formatter. __init__
Initializes an FDSN Web Service 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. __str__
Return str(self). __subclasshook__
Abstract classes can override this to customize issubclass().