obspy.io.zmap.core._write_zmap

_write_zmap(catalog, filename, with_uncertainties=False, **kwargs)[source]

Writes a ZMAP file.

Extended ZMAP format as used in CSEP (http://www.cseptesting.org) is supported by using keyword argument with_uncertainties=True (default: False)

Warning

This function should NOT be called directly, it registers via the the write() method of an ObsPy Catalog object, call this instead.

Parameters:
  • catalog (Catalog) The ObsPy Catalog object to write.
  • filename (str or file) Filename to write or open file-like object.
  • with_uncertainties (bool) appends non-standard columns for horizontal, magnitude and depth uncertainty (see core).