I wanted to remove instrument response from my data in an offline manner.
I just simply used obspy
from obspy import read, read_inventory
st = read(‘AM.R5868.00.EHZ.D.2022.044’)
inv = read_inventory(“AM.R5868.00.xml”)
pre_filt = [1, 5, 40, 45]
tr.remove_response(inventory=inv, pre_filt=pre_filt, output=“VEL”,water_level=60, plot=True)
then I got a errormessage
ValueError: No matching response information found.
just wondering what could cause this? a format problem or?
Thank you very much for help.
Hello May, welcome to our community!
Possibly, these two links could be useful for the issue you are experiencing:
I think you are right, it is likely a format problem. We provide different response .xml files so one of these could be what you need. They are in:
sc3ml format: https://fdsnws.raspberryshakedata.com/fdsnws/station/1/query?network=AM&station=R5868&level=resp&format=sc3ml
fdsnxml format: https://fdsnws.raspberryshakedata.com/fdsnws/station/1/query?network=AM&station=R5868&level=resp
dataless format (available for some Shake models/versions): Metadata - Instrument Response Files — Instructions on Setting Up Your Raspberry Shake
It is possible that the one that you are using is not recognized by Obspy, and maybe another one from the list above will work.
Thank you very much. I solved the problem! Thanks! May
No problem at all, you’re welcome!
Just because the “endDate” in the xml file was later than my start time in the trace;)