obspy.io.cmtsolution.core._write_cmtsolution

_write_cmtsolution(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.