obspy.io.xseed.core._parse_to_inventory_object

_parse_to_inventory_object(p, skip_invalid_responses=True)[source]

Parses a Parser object to an obspy.core.inventory.inventory.Inventory object.

Parameters:
  • p – A Parser object.

  • 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.