There’s a FDSN service problem recently. I want to know how to see my data with mseed file"AM.R246D.00.EHE.D.2024.071" and instrument response file"R246D.xml". I use the code originally which I show below.
from obspy.clients.fdsn import Client
from obspy.core import UTCDateTime, Stream
rs = Client(‘RASPISHAKE’)
stn = ‘R246D’
inv = rs.get_stations(network=‘AM’, station=stn, level=‘RESP’)
start = UTCDateTime(2024, 3, 11, 16, 56, 30) # (YYYY, m, d, H, M, S)
end = UTCDateTime(2024, 3, 11, 16, 56, 55) # (YYYY, m, d, H, M, S)
channels = [‘EHE’ ‘EHN’ ‘EHZ’]
stream = Stream()
for ch in channels:
trace = rs.get_waveforms(‘AM’, stn, ‘00’, ch, start, end)
stream += trace
stream.attach_response(inv)
Output_type = ‘ACC’
resp_removed = stream.remove_response(output=Output_type)
resp_removed.plot()