Hi,
Included, is some code (not extremely well documented) I pasted together
from various resources on the 'net.
It takes five binary files which describes a 3D segy file and generates a
SEGY file from it.
It may or may not be helpful to you.
Note the following:
SEGY format:
3200 byte EBCDIC header
400 byte binary header : see header files for structure
each trace has a 240 byte header
Be careful for the Litlle- and Big-endian conversions etc.
Cheers,
P.S. I used gcc to compile but any other C compiler will probably also work
<<resgen.tgz>>
Jacques Beaurain
AATS
Room 908
Tel: +27 11 6383007
Cel: 082 322 7530
resgen.tgz