boff - BSU program computes offset from source-receiver coordinates, loads result to header
boff [ -h | infile ]
Basic Seismic Utilities (BSU) computes source to receiver offset from coordinates found in the c_bsegy header. This offset is then stored in the header word reserved for offset (hd.idist). While the BSU programs never need this header value (after all, one can always compute it from the coordinate headers), it is necessary for some Seismic Unix (SU) programs (Colorado School of Mines). An example would be the Radon transform code in SU. Both SU and BSU are very similar in header design (derived from the old SEGY standard for tape). Where they differ most is in the multi-component and transducer/source polarization definitions stored in the optional header areas. In this case, the difference is more in the choices and decisions made during the setting of geometry (both BSU and SU define offset in the same place, but BSU geometry setting programs tend to ignore this header, since the BSU codes never look at it). C-Language Version.
Options
-h |
Online help giving details on command line arguments |
infile1
Input file name
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
boff wave.seg
File wave.seg has the offset header value filled.
boffxxxx.seg
named according to convention (first 4char boff, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
boffxxxx.lst
Echo check of input parameters in listing file.
bhelp(1), c_bsegy(5)
no known bugs
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.
P. Michaels, PE. <pm@cgiss.boisestate.edu>