obspy.clients.fdsn.client.Client¶
- class Client(base_url='IRIS', major_versions=None, user=None, password=None, user_agent='ObsPy 1.0.0 (Linux-2.6.32-042stab111.12-i686-with-debian-wheezy-sid, Python 3.4.4)', debug=False, timeout=120, service_mappings=None, force_redirect=False)[source]¶
Bases: builtins.object
FDSN Web service request client.
For details see the __init__() method.
Attributes
RE_HEX4 str(object=’‘) -> str RE_IPv4 str(object=’‘) -> str RE_IPv6 str(object=’‘) -> str RE_UINT8 str(object=’‘) -> str URL_REGEX str(object=’‘) -> str __dict__ __doc__ str(object=’‘) -> str __module__ str(object=’‘) -> str __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. Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
_attach_responses Helper method to fetch response via get_stations() and attach it to _build_url Builds the correct URL. _create_url_from_parameters _discover_services Automatically discovers available services. _download _get_bulk_string _get_webservice_versionstring Get full version information of webservice as a string. _repr_pretty_ _validate_base_url _write_to_file_object Special Methods
__dir__ default dir() implementation __format__ default object formatter __init__ Initializes an FDSN Web Service client. __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__ __subclasshook__ Abstract classes can override this to customize issubclass().