# How to convert response file from resp to polezero? There is a software to do that?

**URL:** <https://discourse.obspy.org/t/how-to-convert-response-file-from-resp-to-polezero-there-is-a-software-to-do-that/2147>\
**Category:** Usage Questions\
**Created:** [February 10, 2025, 12:27pm UTC](https://discourse.obspy.org/t/how-to-convert-response-file-from-resp-to-polezero-there-is-a-software-to-do-that/2147 "2025-02-10T12:27:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BRAHIM\_OUJANE](https://discourse.obspy.org/user_avatar/discourse.obspy.org/brahim_oujane/32/925_2.png) [@BRAHIM\_OUJANE](https://discourse.obspy.org/u/BRAHIM_OUJANE)\
**Post date:** [February 10, 2025, 12:27pm UTC](https://discourse.obspy.org/t/how-to-convert-response-file-from-resp-to-polezero-there-is-a-software-to-do-that/2147/1 "2025-02-10T12:27:02Z")

</div>

How to convert response file from resp to polezero? There is a software to do that?

---

<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:** [February 10, 2025, 12:36pm UTC](https://discourse.obspy.org/t/how-to-convert-response-file-from-resp-to-polezero-there-is-a-software-to-do-that/2147/2 "2025-02-10T12:36:30Z")

</div>

Something like this?

```python
from obspy import read_inventory
inv = read_inventory('/path/to/6D6-Trillium-250sps.resp')
inv.write('/tmp/test.sacpz', format='SACPZ')

```
