logo ipgp_petit2
   eost h   cnrs h   resif

Some examples using the ObsPy library:

 

Script 1

This script retrieve data for the BH channels for the TAM station, and display the waveforms:

 

from obspy.core import UTCDateTime
from obspy.arclink.client import Client

client = Client(host='eida.ipgp.fr', port=18001, user=This email address is being protected from spambots. You need JavaScript enabled to view it.', debug=False)
 client.status_delay=3
t = UTCDateTime("2011-01-10 18:36:59")
st = client.getWaveform("G", "RER", "00", "BH*", t, t + 60 * 60)
st.plot()