Online Waveform Archives (client)

client.fdsn

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]
fillurl(url, site, service, majorversion, method='query')[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(url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', site='geofon', majorversion=1, parsed=True, selection=None, **kwargs)[source]
get_auth_credentials(token, url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', site='geofon', majorversion=1)[source]
dataselect(url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', site='geofon', majorversion=1, selection=None, user=None, passwd=None, token=None, **kwargs)[source]
event(url='%(site)s/fdsnws/%(service)s/%(majorversion)i/%(method)s', site='geofon', majorversion=1, user=None, passwd=None, token=None, **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

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]