obspy.io.scardec.core._write_scardec

_write_scardec(catalog, filename_or_buf, **kwargs)[source]

Write an event to a file.

Parameters:
  • catalog (Catalog) – The catalog to write. Can only contain one event.

  • filename_or_buf (str, open file, or file-like object) – Filename or file-like object to write to.