obspy.seg2.seg2.SEG2.readFile

SEG2.readFile(file_object)[source]

Reads the following file and will return a Stream object. If file_object is a string it will be treated as a filename, otherwise it will be expected to be a file like object with read(), seek() and tell() methods.

If it is a file_like object, file.seek(0, 0) is expected to be the beginning of the SEG-2 file.

This Page