C/C++ : SEGY Merge

C/C++ : SEGY Merge

In my last post, I am create a method how to merge SEGY with cat and dd command. Now, I am create a C/C++ SEGY merge code. This is the main C/C++ : SEGY Merge code :

After compile this code, we can use this program with command :

segymerge input_segy1 input_segy2 …. input_segyn > output_segy_merge.sgy


segymerge *.sgy > output_segy_merge.sgy

This is the sample output log from this C/C++ SEGY merge program :

You can download the comple C/C++ SEGY merge code at here