obspy.sh.core.writeQ

writeQ(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 ('<', '>', or '=', optional) Enforce byte order for data file. Defaults to '=' (local byte order).
  • append (bool, optional) If filename exists append all data to file, default False.

This Page