obspy.iris.client.Client.saveResponse

Client.saveResponse(filename, network, station, location, channel, starttime, endtime, format='RESP')[source]

Writes response information into a file.

Possible output formats are RESP (http://www.iris.edu/KB/questions/69/What+is+a+RESP+file%3F), StationXML (http://www.data.scec.org/xml/station/) or SACPZ

Parameters:
  • filename (str) Name of the output file.
  • network (str) Network code, e.g. 'IU'.
  • station (str) Station code, e.g. 'ANMO'.
  • location (str) Location code, e.g. '00', wildcards allowed.
  • channel (str) Channel code, e.g. 'BHZ', wildcards allowed.
  • starttime (UTCDateTime) Start date and time.
  • endtime (UTCDateTime) End date and time.
  • format ('RESP', 'StationXML' or 'SACPZ', optional) Output format. Defaults to 'RESP'.

This Page