obspy.io.shapefile.core._add_inventory_layer

_add_inventory_layer(data_source, inventory)[source]
Parameters:
  • data_source (osgeo.ogr.DataSource.) OGR data source the layer is added to.
  • inventory (Inventory) Inventory data to add as a new layer.