Skip to content

A Python script to translate SEG-Y seismic record file into txt files.

Notifications You must be signed in to change notification settings

lyc11776611/SGY2TXT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SGY2TXT

A Python script to translate SEG-Y seismic record file into txt files. If there's any bug, please contact me at: YC_Lee@WHU.edu.cn

This script helps to translate SEG-Y file into two txt files. One of the files, named 'outputparfilename' in the script, stores some important (or may not be so important) parameters of the SGY file including its 3200-bytes textual file header, some parameters in binary file header and trace headers. Another file, named 'outputdatafilename' in the script, stores seismic data of the SGY file using numpy.savetxt()

The script uses numpy and binascii. While numpy only serves to save the data, binascii uses to translate binary into hexadecimal bytes.

Hope it can help.(~ ̄▽ ̄)~

About

A Python script to translate SEG-Y seismic record file into txt files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages