obspy.io.sh.core._write_q

_write_q(stream, filename, data_directory=None, byteorder='=', append=False, **kwargs)[source]

Writes a Seismic Handler Q file from given ObsPy Stream object.

Warning

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

Parameters:
  • stream (Stream) The ObsPy Stream object to write.
  • filename (str) Name of the Q file to write.
  • data_directory (str, optional) Data directory where the corresponding QBN will be written.
  • byteorder (str, optional) Enforce byte order for data file. Can be little endian ('<'), big endian ('>'), or native byte order ('='). Defaults to '='.
  • append (bool, optional) If filename exists append all data to file, default False.