Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INGV station instrument response error #170

Open
helle-pedersen opened this issue Aug 13, 2024 · 2 comments
Open

INGV station instrument response error #170

helle-pedersen opened this issue Aug 13, 2024 · 2 comments
Assignees

Comments

@helle-pedersen
Copy link

Dear INGV colleagues,

I am presently doing an analysis using many seismic stations across Europe, using the vertical component.
I am working in obspy, downloading inventory, then downloading data, then simple preprocessing.

All works well for INGV stations**, except for station CSOB.** The program fails when deconvolving with the instrument response.

Here is an example that doesn't work. I am working on this stream:
IV.CSOB..HHZ | 2022-02-01T22:43:07.300000Z - 2022-02-01T22:49:47.300000Z | 100.0 Hz, 40001 samples

There may be errors also on the other components and for other times.

The processing is simple : :
def preproc(st,fmin,fmax,inv) :
st_plot_filt=st.copy()
st_plot_filt=st_plot_filt.detrend("linear")
st_plot_filt.taper(max_percentage=0.04)
st_plot_filt.remove_response(output="VEL", water_level=10, inventory=inv)
st_plot_filt.filter("bandpass", freqmin=fmin, freqmax=fmax)
st_plot_filt.normalize()
return st_plot_filt

It fails at the line
----> 5 st_plot_filt_ingv=preproc(st_final_ingv,fmin,fmax, inventory_ingv)
and looking through the errors, comes with
ValueError: check_channel: Illegal RESP format

Would it be able to fix this issue? It makes it quite a lot more complex to download data from a lot of INGV stations into a single stream, then deconvolving.

I will of course make an exception in my present program, but I'd be grateful if you could drop me a note if/when the issue is fixed.

Just contact me if you have any questions

Best regards

Helle Pedersen

@helle-pedersen
Copy link
Author

helle-pedersen commented Aug 13, 2024

Btw, for the same time window, BNI must have a wrong instrument response. The deconvolution goes ahead, but emits a warning, and the amplitudes are off scale, by 10000 or so (again, horizontal component)

@petrrr
Copy link

petrrr commented Oct 22, 2024

Btw, for the same time window, BNI must have a wrong instrument response. The deconvolution goes ahead, but emits a warning, and the amplitudes are off scale, by 10000 or so (again, horizontal component)

@helle-pedersen: We were not able to understand this problem. Are you refering to channels HH?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants