bext - BSU program pattern extracts traces from a large data set (C-Language Version)
bext [ -h | infile | extsw | value ]
Basic Seismic Utilities (BSU) extracts traces from a large data set. One may extract traces with a common shot name, common receiver name, or common original field number. Large data sets can be formed by using the UNIX cat command. C-Language Version.
Options
-h |
Online help giving details on command line arguments | ||
infile |
Input file name | ||
extsw |
Switch to direct type of extraction (1 character) |
s= extract by shot name value
r= extract by receiver name value
f= extract by original field record number
value |
Value which needs to be matched if a trace is to be extracted. This is can be a 4 character string, (for shot or receiver name). Alternatively, it can be an integer value (original field record number). Use program bdump to find the character strings or numbers. |
NOTE:
If invoked with no options, will prompt user for input
parameters. Leading blanks are important. If entering a 4
character name on the command line, use quote marks, (ie
"abcd"). If interactive input, no " marks are
needed.
EXAMPLE:
bext merg.seg s " 040"
File merg.seg is processed by bext. Only traces with shot name " 040" are output (one leading blank).
bextxxxx.seg
named according to convention (first 4char bext, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
bextxxxx.lst
Echo check of input parameters in listing file, plus a table of statics applied.
bhelp(1), bdump(1), c_bsegy(5)
no known bugs
Copyright © 2024 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. <[email protected]>