bmrg

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

bmrg - BSU program which merges traces from many files into one file

SYNOPSIS

bmrg [ -h | pfix | iffile | ilfile | ifinc | iftrc | iltrc ]

DESCRIPTION

Basic Seismic Utilities (BSU) program which merges traces from many files into a single file. It is assumed that the set of files to be merged fit a pattern with an alpha-numeric prefix (constant) followed by numeric sequence number (1 to 4 digits). Note that the prefix must include all characters which are constant in the pattern to be merged. One may wish to run a header dump (bdump) on a merged file to confirm that the correct traces have been collected.

Options

-h

Online help giving details on command line arguments

pfix

Alpha-numeric prefix which is constant (up to 40 char)

NOTE: length of pfix = number of invarient characters in file names
Ex. If file names run s001 to s090 then pfix=s0
Ex. If file names run s001 to s132 then pfix=s

iffile

First file sequence number (1 to 4 digits)

EXAMPLE: If first file is s001.seg, then enter 001 for iffile

ilfile

Last file sequence number (1 to 4 digits)

ifinc

Increment for sequence numbers. 1=every file, 2=every other file, etc.

iftrc

First trace number in each file to include in the merge.

iltrc

Last trace number in each file to include. Traces iftrc to iltrc are merged.

NOTE:
If invoked with no options, will prompt user for input parameters.

EXAMPLE
bmrg w0 1 10 1 2 4

To merge traces 2 through 4 on files w001.seg through w010.seg.

FILES

bmrg.seg

The output file is always named bmrg.seg

standard output

produces a progress bar

bmrg.lst

Echo check of input parameters and list of file names merged.

SEE ALSO

bhelp(1), bdump(1), bsegy(5)

BUGS

No known bugs

COPYRIGHT

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.

AUTHOR

P. Michaels, PE. <paulmichaels@.boisestate.edu>