obspy.core.inventory.inventory.read_inventory

read_inventory(path_or_file_object=None, format=None)[source]

Function to read inventory files.

Parameters:
  • path_or_file_object File name or file like object. If this attribute is omitted, an example Inventory object will be returned.
  • format (str, optional) Format of the file to read (e.g. "STATIONXML").