NAME
rsort - randomly sorting and/or unsorting traces
SYNOPSIS
rsort [ -Nntap ] [ -Ootap ] [ -rsirs ] [ -reire ] [ -sdiseed
] [ -R ] [ -S ] [ -V ] [ -? ]
DESCRIPTION
Rsort sorts seismic traces so that they appear in a pseudo-
random order within a record. Rsort optionally sorts
seismic traces back to their original sequential order. It
accomplishes this by using the same seed to a random number
generator and applying the inverse of the random process to
restore the original trace order.
Rsort gets data and processing parameters from command line
arguments. These arguments specify the input, output,
whether to sort randomly , or whether to sort sequentially.
Command line arguments
-Nntap
Enter input data set name or file immediately after
typing -N; entering nothing specifies a stdin pipe.
This file should include the complete path name if the
file resides in a different directory. Example
-n/b/vsp/dummy tells the program to look for file
'dummy' in subdirectory 'vsp' stored in directory b.
-Ootap
Enter output data set name or file immediately after
typing -O. This output file is not required when pip-
ing the output to another process. The output data set
also requires the full path name (see above).
-rs irs
(integer) Enter first record to process.
(default = 1)
-re ire
(integer) Enter last record to process.
(default = all)
-sd iseed
(integer) Enter the randomization seed. If using the -S
option, be sure the seed is equal to the original seed
used to randomize. (default = 32357)
-R Enter command line argument '-R' to get a random sort
of traces.
-S Enter commmand line argument '-S' to get a sequential
sort of traces. (NOTE: Use either '-R' or '-S' as
command line arguments but not both arguments for the
same execution of the program.)
-V Enter the command line argument '-V' to get additional
printout.
-? Enter this (or '-?' if you are running in c-shell) to
get online help. The program will terminate after
printing a list of parameters.
COPYRIGHT
copyright 2001, Amoco Production Company
All Rights Reserved
an affiliate of BP America Inc.
Man(1) output converted with
man2html