obspy.io.shapefile.core._add_catalog_layer

_add_catalog_layer(writer, catalog)[source]
Parameters:
  • writer (shapefile.Writer.) – pyshp Writer object
  • catalog (Catalog) – Event data to add as a new layer.