cmst

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

cmst - BSU master program which rectifies seismic traces (C-Language Version)

SYNOPSIS

cmst [ -h | infile | parm2 | parm3 ]

DESCRIPTION

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 (getparm.c, input file name and some dummy examples in this case). An echo check of input parameters is written to a listing file (outlst.c). The next step (in_chk.c) 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 (c_bsegin.c), takes the absolute values, then writes the result out (c_bsegout.c) Prints a progress bar during execution (exbar). Include files are the c_bsegy.h header file, and sub4.h with function prototypes. C-Language Version.

Options

-h

Online help giving details on command line arguments

infile

First argument is usually the input file name

parm2

This is a dummy argument for illustration (int)

parm3

This is a dummy argument for illustration (floating point)

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

EXAMPLE:
cmst w001.seg 1 2.0

File w001.seg is processed by cmst. Command line arguments are as shown.

FILES

cmstxxxx.seg

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

standard output

produces a progress bar

cmstxxxx.lst

Echo check of input parameters in listing file.

SEE ALSO

bhelp(1), c_bsegin(3), c_bsegout(3), bargrid(3), exbar(3), in_chk(3), c_bsegy(5)

BUGS

no known bugs

COPYRIGHT

Copyright © 2017 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. <pm@cgiss.boisestate.edu>