obspy.io.nlloc.core.write_nlloc_obs

write_nlloc_obs(catalog, filename, **kwargs)[source]

Write a NonLinLoc Phase file (NLLOC_OBS) from a Catalog object.

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-like object) – Filename to write or open file-like object.