obspy.clients.fdsn.client

FDSN Web service client for ObsPy.

copyright:

The ObsPy Development Team (devs@obspy.org)

license:

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Public Functions

build_url

URL builder for the FDSN webservices.

convert_to_string

Takes any value and converts it to a string compliant with the FDSN webservices.

download_url

Returns a pair of tuples.

get_bulk_string

parse_simple_xml

Simple helper function for parsing the Catalog and Contributor availability files.

raise_on_error

Raise an error for non-200 HTTP response codes

setup_query_dict

Private Functions

Warning

Private functions are mainly for internal/developer use and their API might change without notice.

_validate_eida_token

Just a basic check if the string contains something that looks like a PGP message

Classes

Client

FDSN Web service request client.

CustomRedirectHandler

Custom redirection handler to also do it for POST requests which the standard library does not do by default.

NoRedirectionHandler

Handler that does not direct!