obspy.io.seg2.seg2.SEG2.read_file

SEG2.read_file(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 file name, 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.