pisces.io.trace#

Conversions between ObsPy Trace objects and table-like objects.

pisces.io.trace.wfdisc2obspyhdr(wf)[source]#

ObsPy Stats dict from Wfdisc instance.

pisces.io.trace.wfdisc2trace(wf)[source]#

Takes a fielded wfdisc row record and produces a minimal obspy Trace with some SAC header fields included, or None.

Raises:
IOError

Can’t read the waveform file.