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 >
or for some other type, such as integers, use recast
% recast < data.ints in=int out=float | suaddhead ns=1024 >
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 >

Other variations are obviously possible.

John Stockwell 2007-04-10