ValueError: No matching response information found

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:

  1. sc3ml format:
  2. fdsnxml format:
  3. 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;)


hello ,so I want to know how to set the starrttime and endtime when downloading the inventory.if my date range from 2008-04-15 to 2008-04-25,but the inventory ‘endDate’ id 2008-08-01

Hello hxr123, welcome to the community.

I think your reply got truncated for some reason, but if you download any inventory from any Shake in our network, it will automatically contain all the dates (or as we call them, epochs) in which the Shake was online.

So, you need a single file for all the data the Shake has ever recorded. If, as per your example, you want to work with data from 2008-04-15 to 2008-04-25 and the inventory endDate id 2008-08-01, you can use the general inventory file of your Shake that you can download from here (just replace the XXXXX with your Shake name:

If, instead your query was about a different thing, please repost it with more details so that I can be of more help. Thank you!