I am trying to deconvelve the raw data from the geophone (Datalogger = Datacube3, sample rate=200hz, gain=16; Sensors = sensor_SensorNederland PE-6B) by using the Obspy package.
i download the station XML file from NRL website, i found that i can download two file, one is from the sensor, another is from the datacube. However, both of which give me the same error in pycharm: ValueError:No matching response information found.
Is there any suggestions for the “how to download the suitable XML file”?
Here is my code
import numpy as np
import matplotlib.pyplot as plt
import obspy
from obspy.core import UTCDateTime
from obspy import read, read_inventory
st = read(‘/Users/lu/LU_User/PythonProjects/gipptools-2022.171/bin/mseed-out/c0bln210620085250.pri2’)
tr = st[0]
t = np.arange(0, tr.stats.npts / tr.stats.sampling_rate, tr.stats.delta)
inv = read_inventory(‘/Users/lu/LU_User/PythonProjects/gipptools-2022.171/bin/datacube.xml’)
print(inv)
st.attach_response(inv)
tr = st[0]
print(tr.stats.response)
tr_filt_deconvelve = tr.remove_response(inventory=inv, output=‘VEL’, plot=True)