obspy.io.nordic.core._extract_event

_extract_event(event_str, catalog, wav_names, return_wavnames=False)[source]

Helper to extract event info from a list of line strings.

Parameters:
  • event_str (list of str) List of lines from sfile
  • catalog (obspy.core.event.Catalog) Catalog to append the event to
  • wav_names (list) List of waveform names
  • return_wavnames (bool) Whether to extract the waveform name or not.
Returns:

Adds event to catalog and returns. Works in place on catalog.