Produces a binarary header file (as required for SEGYWRITE or read by BHEDTOPAR) and also the EBCDIC header (actually as an ASCII file so it can be edited) that is also required by SEGYWRITE.
segyhdrs < filein.su bfile=filename.bhead hfile=filename.ehead
Example :
segyhdrs < filein.su bfile=raw.bhead hfile=raw.ehead
This example reads the SU format file filein.su and writes out a binary header file raw.bhead and an EBCDIC header file (that is actually an ASCII file). The binary file can be converted to an ASCII par file (using bhedtopar) which can then be edited and converted back to binary using setbhed.
See also : bhedtopar , setbhed , segywrite