obspy.io.segy.segy
Routines to read and write SEG Y rev 1 encoded seismic data files.
Public Functions
Takes an open file and tries to determine the endianness of a Seismic Unix data file by doing some sanity checks with the unpacked header values. |
|
Iteratively read a SEG-Y field and yield single ObsPy Traces. |
|
Iteratively read a SU field and yield single ObsPy Traces. |
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
Iteratively read a SEG-Y field and yield single ObsPy Traces. |
|
Iteratively read a SU field and yield single ObsPy Traces. |
|
Reads on open file object and returns a SEGYFile object. |
|
Reads on open file object and returns a SUFile object. |
|
Reads a SEG Y file and returns a SEGYFile object. |
|
Reads a Seismic Unix (SU) file and returns a SUFile object. |
Classes
Parses the binary file header at the given starting position. |
|
Class that internally handles SEG Y files. |
|
Convenience class that internally handles a single SEG Y trace. |
|
Convenience class that handles reading and writing of the trace headers. |
|
Convenience class that internally handles Seismic Unix data files. |
Exceptions
Base SEGY exception class. |
|
Warning that is raised if an invalid textual header is about to be written. |
|
Raised if the trace header is not the required 240 byte long. |
|
Raised if attempting to unpack trace data but no |
|
Raised if there is not enough data left in the file to unpack the data according to the values read from the header. |
|
SEG Y warnings base class. |
|
Raised if the trace header is not the required 240 byte long. |