obspy.io.segy.core

SEG Y bindings to ObsPy core module.

copyright:

The ObsPy Development Team (devs@obspy.org)

license:

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Private Functions

Warning

Private functions are mainly for internal/developer use and their API might change without notice.

_is_segy

Checks whether or not the given file is a SEG Y file.

_is_su

Checks whether or not the given file is a Seismic Unix (SU) file.

_read_segy

Reads a SEG Y file and returns an ObsPy Stream object.

_read_su

Reads a Seismic Unix (SU) file and returns an ObsPy Stream object.

_segy_trace_str_

Monkey patch for the __str__ method of the Trace object.

_write_segy

Writes a SEG Y file from given ObsPy Stream object.

_write_su

Writes a Seismic Unix (SU) file from given ObsPy Stream object.

Classes

LazyTraceHeaderAttribDict

This version of AttribDict will unpack header values only if needed.

Exceptions

SEGYCoreWritingError

Raised if the writing of the Stream object fails due to some reason.

SEGYSampleIntervalError

Raised if the interval between two samples is too large.