[obspy-users] save all waveform segments
pattylin
pattylin at ldeo.columbia.edu
Tue Sep 3 22:35:59 CEST 2013
Hi All,
I'm trying to download waveforms of 1 station.
in the time window I am interested, there are ~8 segments if I download
waveforms from SOD.
but if I use obspy, I only can get 1 trace.
#!/usr/bin/env python
from obspy.iris import Client
from obspy import UTCDateTime
client = Client()
EQt = UTCDateTime("2011-03-11T05:46:24.120")
st = client.getWaveform("GE", "EIL", "", "BHZ", EQt - 2*60*60, EQt +
24*60*60)
print(st)
I can only get 1 trace in Stream.
is there any way I can get all waveform segments?
thank you.
Cheers,
Patty
--
********************************************
Peiying Patty Lin
Postdoctoral Research Scientist
Lamont Doherty Earth Observatory
http://www.ldeo.columbia.edu/~pattylin/
********************************************
More information about the obspy-users
mailing list