Low-level interface for resp Web service of IRIS (http://service.iris.edu/irisws/resp/) - 1.4.1 (2011-04-14).
This method provides access to channel response information in the SEED RESP format (as used by evalresp). Users can query for channel response by network, station, channel, location and time.
Parameters: |
---|
Temporal constraints
The following three parameters impose time constrants on the query. Time may be requested through the use of either time OR the start and end times. If no time is specified, then the current time is assumed.
Parameters: |
|
---|---|
Return type: | str or None |
Returns: | SEED RESP file as string if no filename is given.. |
Example
>>> from obspy.iris import Client
>>> from obspy import UTCDateTime
>>> client = Client()
>>> dt = UTCDateTime("2010-02-27T06:30:00.000")
>>> data = client.resp("IU", "ANMO", "00", "BHZ", dt)
>>> print(data)
#
####################################################################...
#
B050F03 Station: ANMO
B050F16 Network: IU
B052F03 Location: 00
B052F04 Channel: BHZ
...