Inventory file for offline shake

Hello, I have an offline shake that I am trying to locate the inventory file. I am working in obspy and would like to use the read_inventory function to use ‘st.remove_response’. From my research, I see people have solved this problem using a link from FDSN.org, but since my shake is offline, that would not work for me. I am reaching out to see if there is any additional way I can solve this problem.

My ultimate end goal is to convert the amplitude to acceleration m/s/s, because right now it is showing the intensity is 10^6 which is very large for the quakes that I am studying.

Thank you so much for your help!

1 Like

Hello KniyaD, and welcome to our community!

In the case of offline Shakes, you follow the instructions in our manual, here: Metadata - Instrument Response Files, to manually generate a metadata file for your instrument that you can then use to remove its response.

You will only have to match the metadata template you can find with your Shake version, which is either written on the blue Shake board or on the white sticker attached to the transparent enclosure. Also, remember to change how ObsPy reads the inventory file, as this one will be on your local drive.

If you have any other questions, let me know!

G’Day KniyaD.

This code snippet may help. In this case, the inventory file is saved as the name of your station (e.g. R4FA0.xml) (rename to suit your station) and is saved where python can find it:


f = open('R4FA0.xml')
inv = read_inventory('R4FA0.xml')
f.close()

Al.

2 Likes