next up previous contents
Next: SUVLENGTH - Adjust Variable Up: Editing SU Data Previous: SUMUTE - Surgically Muting   Contents

SUVCAT and CAT - Concatenating Data

There are two possible ways of appending one dataset onto another (concatenating). The first way would be to append one dataset to another, so that the traces from the second file simply follow the traces of the first file. This is done with the Unix ``cat'' command via:
% cat data1.su data2.su > data3.su
In addition, it may be necessary to renumber the traces via:
% cat data1.su data2.su | sushw key=tracl a=1 > data3.su
so that the tracl parameter is monotonically increasing.

The second way of appending one dataset to another is to ``vertically'' append each trace of the second dataset to the end of the first dataset. This is done via ``suvcat.''

% suvcat data1.su data2.su > data3.su
In this case, no modification of the header fields should be necessary.



John Stockwell 2007-04-10