tah is the abbreviation of Trace And Header. Madagascar programs
that begin with sftah are a designed to:
1- read trace and headers from separate rsf files and write them to
standard output (ie sftahread)
2- filter programs that read and write standard input/output and
process the tah data (eg sftahnmo, sftahstack)
3- read tah data from standard input and write separate rsf files for
the trace and headers data (ie sftahwrite)
These programs allow Seismic Unix (su) like processing in Madagascar.
Some programs have su like names.
Some programs in this suite are sftahread, sftahgethw, ftahhdrmath,
The sftahwindow program select a subset of the traces. Currently it will select
a subset of the time range of each trace. In the future it needs to be
upgraded to select traces based on trace headers. It is modelled on suwind.
The headers are in the file npr3_field_hdr.rsf, the headers parameter
default. The headers are merged with the trace amplitudes and the tah
data sent down the pipe for sftahwindow. The trace is shortened to
2047 samples to remove the two bad amplitudes observed at the end of
most of the traces on this file. The traces are sent to STDOUT to
sftahwrite, which write the data sequentially to the output file (ie
the output files is just a bunch of traces.
Float tmax= maximum time in the input trace amplitude file.
Maximum time in seconds to limit the output trace
maximum time in seconds to limit the output trace
flag to control amount of print
0 terse, 1 informative, 2 chatty, 3 debug