obspy.io.xseed.core._read_xseed

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

Read XML-SEED files to an ObsPy inventory object

Parameters:
  • filename (str or file-like object) – File with a XML-SEED 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.