obspy.io.shapefile.core._add_inventory_layer

_add_inventory_layer(writer, inventory, extra_fields=None)[source]
Parameters:
  • writer (shapefile.Writer.) – pyshp Writer object

  • inventory (Inventory) – Inventory data to add as a new layer.

  • extra_fields (list) – List of extra fields to write to the shapefile table. For details see _write_shapefile().