# Removing the instrument response with no station metadata available

**URL:** https://discourse.obspy.org/t/removing-the-instrument-response-with-no-station-metadata-available/1475
**Category:** Usage Questions
**Created:** [August 24, 2022, 3:03pm UTC](https://discourse.obspy.org/t/removing-the-instrument-response-with-no-station-metadata-available/1475 "2022-08-24T15:03:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![P\_ALD](https://discourse.obspy.org/letter_avatar_proxy/v4/letter/p/ecae2f/32.png) [@P\_ALD](https://discourse.obspy.org/u/P_ALD)
#### Post date: [August 24, 2022, 3:03pm UTC](https://discourse.obspy.org/t/removing-the-instrument-response-with-no-station-metadata-available/1475/1 "2022-08-24T15:03:10Z")

</div>

Hi All,

After applying filtration and detrending, I want to use `remove_response()` on my SEG2 format data, but it asks for the inventory file while I do not have it. I know that I should attach the response to the trace with `obspy.core.trace.Trace.attach_response()`; Otherwise, it is not working. However, I have no clue how to do it. It would be great if somebody could help me figure out how to fix the problem (Here is the file: [Microsoft OneDrive](https://1drv.ms/u/s!ArU3u8miWJNAgQah7WJsIQ0j0ASY?e=MuVd0o)).

Also, I do not get the necessity of having the water level in the remove\_response code. Can anybody explain why that matters?

Thank you

---

<div class="post-metadata">

### Author: ![megies](https://discourse.obspy.org/user_avatar/discourse.obspy.org/megies/32/9_2.png) [@megies](https://discourse.obspy.org/u/megies)
#### Post date: [August 29, 2022, 9:03am UTC](https://discourse.obspy.org/t/removing-the-instrument-response-with-no-station-metadata-available/1475/2 "2022-08-29T09:03:32Z")

</div>

You can not do response correction without information on what the response looks like. If it is industrial data it might be simple geophones and you could build a response from knowing the gain and the corner frequency (and dampening), but thats about it, I think.

> **[obspy.signal.invsim.corn\_freq\_2\_paz — ObsPy...](https://docs.obspy.org/master/packages/autogen/obspy.signal.invsim.corn_freq_2_paz.html)**
