obspy.io.sac.core._internal_write_sac_xy

_internal_write_sac_xy(trace, buf, **kwargs)[source]

Writes a single trace to alphanumeric SAC file.

Warning

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

Parameters:
  • trace (Trace) The ObsPy Trace object to write.
  • buf (file-like object) Object to write to.