ahmilb@houu64$bhpvelutil
BHPVELUTIL - BHP Velocity Utility
BHPVELUTIL converts velocities between various formats
bhpvelutil < infile > outfile [optional parameters]
Required Parameters: none
Optional Parameters:
verbose=0 Use verbose=1 for long printout
infmt=segy Format of input data (segy means SU-segy)
outfmt=par Format of output data
Valid values for infmt/outfmt:
segy SU SEGY format
par SU ASCII Format
par3d SU ASCII Format Modified for 3D
NB: par3d does not use stdout, specify parfile
pro ProMAX ASCII Format
velf, velf1 Western ASCII Format 1
velf2 Western ASCII Format 2
velf3 Western ASCII Format 3
veff Vastar/Phillips/Charisma ASCII Format
vel3d Shell ASCII Format
lm Landmark XYTV ASCII Format
v2 Veritas V2 ASCII Format
views ADS VIEWS ASCII vtp Format
fdmodel ADS VIEWS Binary 2D FDModel Format
NOTE: fdmodel input/output does not use
stdin/stdout. Use model_in/model_out parameters
tgs TGS-NOPEC ASCII Format
sbase2 SeisBase 2D ASCII
sbase3 SeisBase 3D ASCII
ntout= Number of samples per trace in output
If infmt=segy default is input samples per trace
If infmt=fdmodel, default is model samples per trace
If infmt=[any ASCII], samples per trace is
whatever is in each input ASCII trace
For ASCII to SEGY, defaults to 1000.
dt= Use for ASCII to SEGY, defaults to 0.004.
line= Line name for ASCII output. If not specified,
and input is ASCII, get line name from input,
if available. Line is required when writing
formats velf, veff, par3d, sbase2
model_in= Binary input file required if infmt=fdmodel
model_out= Complete path/filename of output
If outfmt=par3d, parfiles are used instead of stdout.
Each parfile is named line_'lnum'.par3d, where 'lnum' is the
3D line number, e.g., line_1000.par3d, line_1002.par3d, etc.
The parfiles are written to a directory specified by pardir
pardir=3dvels Directory name to which to write parfiles.
If outfmt=fdmodel, parameters nx through cdpnum
are required by the ADS VIEWS program
nx=100 Number of velocity traces
dx=50 Distance between velocity traces
cdpmin=1 Minimum CDP number of model
cdpmax=100 Maximum CDP number of model
cdpinc=1 CDP increment
cdpdist=50 Distance between CDPs
firstcdpvel=1 First CDP
lastcdpvel=1 Last CDP
cdpnum=1 Number of CDPs between velocity traces
If outfmt=fdmodel, parameters nx through cdpnum
are required by the ADS VIEWS program
modname=views Model name for FDModel output
cdphdr=cdp For FDModel output, trace header containing CDP
depthhdr=f2 For FDModel output, trace header containing depth
If cdphdr and depthhdr are not used, no horizon
data will be written to model_out
east=x For Landmark ASCII format, assign X-coord to
Landmark Easting field, and Y-coord to Landmark
Northing field; east=y reverses the assignment
xy=yes Use xy=no to omit XY coordinates.
If XYs are omitted the output file may not be
useable, if processed by a program which expects
XYs. If xy=yes, and input format does not have
XYs, then no XYs are in the output.
xhdr=gx Trace header to use for X coordinate
yhdr=gy Trace header to use for Y coordinate
lhdr=ep Trace header to use for 3D iline number
xlhdr=cdp Trace header to use for 3D xline number
Formats par3d, vel3d, views, and sbase3 require
3D line number.
NOTES:
1)When converting from segy to ASCII, use suresamp prior to
bhpvelutil to set trace length and sample interval to
whatever is desired for the ASCII output.
EXAMPLES:
TGS to Landmark:
bhpvelutil infmt=tgs outfmt=lm < tgs.asc > tgs.lm
SEGY to VIEWS Binary:
bhpvelutil outfmt=fdmodel < v4sm.su model_out=views.bin \
dx=164 cdpmin=18800 cdpmax=20400 cdpinc=4 cdpdist=164 \
firstcdpvel=18800 lastcdpvel=20400 cdpnum=4 nx=401
SEGY to SeisBase:
suresamp < 2637-BES.vrmst.su nt=200 |
bhpvelutil > 2637-BES.sb2 outfmt=sbase2 line=1367-BS