DOCUMENTATION
SYNOPSIS
PERL PROGRAM NAME: SUSTRIP - remove the SEGY headers from the traces
AUTHOR: Juan Lorenzo (Perl module only)
DATE:
DESCRIPTION:
Version:
USE
NOTES
Examples
SEISMIC UNIX NOTES
SUSTRIP - remove the SEGY headers from the traces
sustrip <stdin >stdout head=/dev/null outpar=/dev/tty ftn=0
Required parameters:
none
Optional parameters:
head=/dev/null file to save headers in
outpar=/dev/tty output parameter file, contains:
number of samples (n1=)
number of traces (n2=)
sample rate in seconds (d1=)
ftn=0 Fortran flag
0 = write unformatted for C
1 = ... for Fortran
Notes:
Invoking head=filename will write the trace headers into filename.
You may paste the headers back onto the traces with supaste
See: sudoc supaste for more information
Related programs: supaste, suaddhead
Credits:
SEP: Einar Kjartansson c. 1985
CWP: Jack K. Cohen April 1990
Trace header fields accessed: ns, dt
CHANGES and their DATES
sub Step
collects switches and assembles bash instructions by adding the program name
sub note
collects switches and assembles bash instructions by adding the program name
sub clear
sub ftn
sub head
sub header_file_out
sub outpar
sub get_max_index
max index = number of input variables -1