To add headers to a datafile consisting of C-style binary floating point numbers do:
% suaddhead < data.bin ns=1024 > data.suor for some other type, such as integers, use recast
% recast < data.ints in=int out=float | suaddhead ns=1024 > data.suHere we have used a pipe
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.