obspy.io.nordic.core.write_select

write_select(catalog, filename, userid='OBSP', evtype='L', wavefiles=None)[source]

Function to write a catalog to a select file in nordic format.

Parameters:
  • catalog (Catalog) A catalog of obspy events
  • filename (str) Path to write to
  • userid (str) Up to 4 character user ID
  • evtype (str) Single character string to describe the event, either L, R or D.
  • wavefiles (list)
    Waveforms to associate the events with, must be ordered in the same
    way as the events in the catalog.