Hello,
I was wondering if there is a way to export or save the corrected waveform as a txt file. I need to use a txt file as an input file for my own Matlab code. The txt file should be included :the first column for time, the second column for E-W corrected velocity, and the fourth column for vertical velocity. I would appreciate it if someone could help me.
from obspy import UTCDateTime
from obspy.clients.fdsn import Client
client = Client(‘IRIS’)
t = UTCDateTime(“2013-05-17T13:41:56”)
st = client.get_waveforms(“WU”, “ALFO”, “”, “HH?”, t, t + 6 * 60, attach_response=True)
st.remove_response(output=‘VEL’, water_level=60)
st.plot()
Thanks