obspy.earthworm - Earthworm Wave Server client for ObsPy.

copyright:The ObsPy Development Team (devs@obspy.org) & Victor Kress
license:GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html)

Basic Usage

  1. getWaveform(): The following example illustrates how to request and plot 30 seconds of all three short period channels ("EH*") of station "ACH" of the Alaska Volcano Observatory ("AV").

    >>> from obspy.earthworm import Client
    >>> client = Client("pubavo1.wr.usgs.gov", 16022)
    >>> response = client.availability('AV', 'ACH', channel='EHE')
    >>> print(response)  
    [('AV',
      'ACH',
      '--',
      'EHE',
      UTCDateTime(2015, 1, 22, 7, 26, 32, 679000),
      UTCDateTime(2015, 3, 23, 7, 26, 29, 919966)]
    >>> t = response[0][4]
    >>> st = client.getWaveform('AV', 'ACH', '--', 'EH*', t + 100, t + 130)
    >>> st.plot()  
    

    (Source code, png, hires.png)

    ../_images/obspy-earthworm-1.png

Classes & Functions

client.Client A Earthworm Wave Server client.

Modules

client Earthworm Wave Server client for ObsPy.