obspy.io.xseed.core._read_resp

_read_resp(filename, skip_invalid_responses=True, *args, **kwargs)[source]

Read resp files to an ObsPy inventory object

RESP does not save vital information like the station coordinates so this information will be missing from the inventory objects.

Parameters:
  • filename (str or file-like object.) File with a RESP file.
  • skip_invalid_responses If True, invalid responses will be replaced by None but a warning will be raised. Otherwise an exception will be raised. Only responses which are clearly invalid will not be read.