bxof - BSU program which extracts traces by signed offset range (C-Language Version)
bxof [ -h | infile | near | far ]
Basic Seismic Utilities (BSU) program extracts traces by a signed offset range. The use of a signed definition permits selection of one side or the other when split spreads are being processed. The definition of offset is:
offset =
sgn(rx-sx)*range (x-coord larger than y)
OR
offset = sgn(ry-sy)*range (y-coord larger than x)
where range is the source to receiver distance (see findxyz.3 man page). Negative offsets will select one side of the source, positive offsets the other side. For off-end data, sign is important, get it wrong and no output. In that event, change the sign of the offset parameters.
NOTE:
The near offset is the value with the smallest absolute
value, far offset the value with the largest absolute value.
See example below. If both sides of a shot are desired
(split spreads), then two runs must be concatenated:
EXAMPLE FOR
SPLIT SPREAD
bxof 0025.seg -1 -9
mv bxof0025.seg splt.seg
bxof 0025.seg 1 9
cat bxof0025.seg >>splt.seg
Options
-h |
Online help giving details on command line arguments | ||
infile |
First argument is the input file name | ||
near |
This is the signed near offset (float) with the smallest absolute value. | ||
far |
This is the signed far offset (float) with the largest absolute value. |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
bxof w001.seg -19 -24
File w001.seg is processed by bxof. Selects offsets from -19 to -24 meters. NOTE: near offset is always value with smaller absolute value. Sign selects side of shot in the event of split spreads. For off end shooting only positive or negative values will produce an output. Both values should be the same sign regardless of off-end or splits.
bxofxxxx.seg
named according to convention (first 4char bxof, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
bxofxxxx.lst
Echo check of input parameters in listing file.
bhelp(1), c_bsegin(3), c_bsegout(3), bargrid(3), exbar(3), in_chk(3), c_bsegy(5), findxyz(3)
no known bugs
Copyright © 2022 by Paul Michaels
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
P. Michaels, PE. <paulmichaels@boisestate.edu>