next up previous contents
Next: SUSTRIP and SUPASTE - Up: Setting, Editing, and Viewing Previous: Setting, Editing, and Viewing   Contents

SUADDHEAD - add SU (SEGY-style) Trace Headers

To add headers to a datafile consisting of C-style binary floating point numbers do:

% suaddhead < data.bin ns=1024 > data.su
or for some other type, such as integers, use recast
% recast < data.ints in=int out=float | suaddhead ns=1024 > data.su
Here we have used a pipe $\vert$ to cascade the processing flow.

If the data are integers were originally from Fortran, then this is a likely processing flow:

% ftnstrip < data.fortran | recast in=int out=float | suaddhead ns=1024 > data.su

Other variations are obviously possible.


John Stockwell 2007-04-10