bmst - BSU master program which rectifies seismic traces
bmst [ -h | infile | arg2 | arg3 | arg4 | arg5 | arg6 ]
Basic Seismic Utilities (BSU) master program from which other programs may be easily produced as derivative works. This is a simple example which illustrates how to program in BSU. The program first reads input parameters (getprm.f, input file name and some dummy examples in this case). The next step (chktrc.f) checks the input file for sample interval, number of samples, and number of traces. This is followed by the trace loop which reads a trace (bsegin.f), takes the absolute values, then writes the result out (bsegout.f) Prints a progress bar during execution (pltbar.f). The include file, bsegy.inc contains the bsegy header definition. Fortran 77 Version.
Options
-h |
Online help giving details on command line arguments | ||
infile |
First argument is usually the input file name | ||
arg2 |
This is a dummy argument for illustration (floating point) | ||
arg3 |
This is a dummy argument for illustration (floating point) | ||
arg4 |
This is a dummy argument for illustration (integer) | ||
arg5 |
This is a dummy argument for illustration (integer) | ||
arg6 |
This is a dummy argument for illustration (integer) |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
bmst w001.seg 1. 2. 3 4 5
File w001.seg is processed by bmst. Command line arguments are as shown.
bmstxxxx.seg
named according to convention (first 4char bmst, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
bmstxxxx.lst
Echo check of input parameters in listing file.
bhelp(1), bsegin(3), bsegout(3), chktrc(3), pltbar(3), 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]>