Online Waveform Archives (client)

client.fdsn

strip_html(s)[source]
indent(s, ind=' ')[source]
get_sites()[source]

Get sorted list of registered site names.

exception CannotGetRealmFromAuthHeader[source]
exception CannotGetCredentialsFromAuthRequest[source]
get_realm_from_auth_header(headers)[source]
sdatetime(t)[source]
exception EmptyResult(url)[source]
exception RequestEntityTooLarge(url)[source]
exception InvalidRequest[source]
exception Timeout[source]
fillurl(service, site, url, majorversion, method)[source]
fix_params(d)[source]
make_data_selection(stations, tmin, tmax, channel_prio=[['BHZ', 'HHZ'], ['BH1', 'BHN', 'HH1', 'HHN'], ['BH2', 'BHE', 'HH2', 'HHE']])[source]
station(site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, parsed=True, selection=None, timeout=20.0, check=True, **kwargs)[source]
get_auth_credentials(service, site, url, majorversion, token, timeout)[source]
dataselect(site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, selection=None, user=None, passwd=None, token=None, timeout=20.0, check=True, **kwargs)[source]
event(site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, user=None, passwd=None, token=None, timeout=20.0, check=True, **kwargs)[source]

Query FDSN web service for events.

On success, will return a list of events in QuakeML format.

Check the documentation of FDSN for allowed arguments: https://www.fdsn.org/webservices

availability(method='query', site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, user=None, passwd=None, token=None, timeout=20.0, check=True, **kwargs)[source]
check_params(service, site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, timeout=20.0, method='query', **kwargs)[source]
supported_params_wadl(service, site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, timeout=20.0, method='query')[source]
cached_wadl(service, site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, timeout=20.0)[source]
wadl(service, site='geofon', url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', majorversion=1, timeout=20.0)[source]

client.iris

tdate(s)[source]
sdate(t)[source]
tdatetime(s)[source]
sdatetime(t)[source]
class Element(name, depth, attrs)[source]
class XMLZipHandler(watch)[source]
startElement(name, attrs)[source]
characters(content)[source]
endElement(name)[source]
getQueuedElements()[source]
xmlzip(source, watch, bufsize=10000)[source]
exception NotFound(url)[source]
ws_request(url, post=False, **kwargs)[source]
ws_station(**kwargs)[source]
ws_virtualnetwork(**kwargs)[source]
ws_bulkdataselect(selection, quality=None, minimumlength=None, longestonly=False)[source]
ws_sacpz(network=None, station=None, location=None, channel=None, time=None, tmin=None, tmax=None)[source]
ws_resp(network=None, station=None, location=None, channel=None, time=None, tmin=None, tmax=None)[source]
class ChannelInfo(network, station, location, channel, start, end, azimuth, dip, elevation, depth, latitude, longitude, sample, input, output, zpk)[source]
nslc(x)[source]
grok_sacpz(data)[source]
grok_station_xml(data, tmin, tmax)[source]
grok_virtualnet_xml(data)[source]
data_selection(stations, tmin, tmax, channel_prio=[['BHZ', 'HHZ'], ['BH1', 'BHN', 'HH1', 'HHN'], ['BH2', 'BHE', 'HH2', 'HHE']])[source]