brev

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

brev - BSU program which reverses trace order or sample polarity

SYNOPSIS

brev [ -h | infile | iop1 | nflip | ch1 | ch2 ... | ... ch_nflip ]

DESCRIPTION

Basic Seismic Utilities (BSU) reverses the channel order for an entire data set or reverses the polarity of selected channels (one or the other, but not both in a single run). If the number of channels to reverse polarity equals the number of channels in the data set, then there is no need to specify individual channels, and all channels will have their polarity reversed.

Options

-h

Online help giving details on command line arguments

infile1

Input file name

iop1

Switch to select type of process (ORDER or POLARITY)

0=reverse channel ORDER

1=reverse POLARITY of selected channels

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

EXAMPLES:
brev w001.seg 0

Reverse the channel order. First trace becomes last trace, etc.

brev w001.seg 1 4 1 3 32 71

Reverse data polarity on 4 channels (1, 3, 32, and 72). All other traces passed through without any changes.

brev w001.seg 1 82

Assume that there are 82 traces in w001.seg. Then, the above would reverse the polarity of all the data. No need to specify channels.

FILES

brevxxxx.seg

Named according to convention (first 4char brev, the next 4char are the first 4char of the input file name, suffix .seg)

standard output

produces a progress bar

brevxxxx.lst

Echo check of input parameters.

SEE ALSO

bhelp(1)

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>