# get\_response neglecting station start/enddate in	Inventory

**URL:** <https://discourse.obspy.org/t/get-response-neglecting-station-start-enddate-in-inventory/830>\
**Category:** Users Mailing List Archive\
**Tags:** archive\
**Created:** [May 3, 2019, 11:22am UTC](https://discourse.obspy.org/t/get-response-neglecting-station-start-enddate-in-inventory/830 "2019-05-03T11:22:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IGM\_Geophysik](https://discourse.obspy.org/letter_avatar_proxy/v4/letter/i/e36b37/32.png) [@IGM\_Geophysik](https://discourse.obspy.org/u/IGM_Geophysik)\
**Post date:** [May 3, 2019, 11:22am UTC](https://discourse.obspy.org/t/get-response-neglecting-station-start-enddate-in-inventory/830/1 "2019-05-03T11:22:48Z")

</div>

Dear ObsPy team,

I noticed a strange behaviour of get\_response (used to generate response for PPSD):

- I’ve created an inventory that includes several placement of the same instrument. Therefore, the Station Code remains unchanged; due to ease installation we did not change the Location code.

o Seed-ID is XX.FBE1..HH[Z,N,E]

o 3 Placements, therefore 3 different station sections in the stationxml, each with a designated starttime and endtime. The time windows do not overlap.

- When I read the stationxml and check with inv.get\_channel\_metadata things are fine and I receive a single response for a given date

o _inv.get\_channel\_metadata(“XX.FBE1..HHZ”,UTCDateTime(“2019-02-06T00:00:00”)_

- However get\_response gives me a User Warning: Found more than one matching response

o _inv.get\_response(“XX.FBE1..HHZ”,UTCDateTime(“2019-02-06T00:00:00”)_

It appears as if get\_response is neglecting the station startdate / station enddate in the inventory.

Attached is the stationxml.

Thanks a lot.

Steffen

[station\_FBE1.xml](https://discourse.obspy.org/uploads/short-url/lhSg8Kx5xpU2t20J6WHcE50ReQB.xml) (306 KB)

---

<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:** [May 3, 2019, 2:30pm UTC](https://discourse.obspy.org/t/get-response-neglecting-station-start-enddate-in-inventory/830/2 "2019-05-03T14:30:40Z")

</div>

Hi Steffen,

start/end dates are set on the stations but not on the channels, they thus have all open start/end dates.  
I am unsure what the official FDSN take on this situation would be but I guess get\_response() is only taking into account the channel epoch times, even if the station epoch doesn't fit.  
There is room for discussion what the best way to handle such situations would be, I guess..

cheers,  
Tobias
