bnez

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

bnez - BSU survey generator for NEZ file (C-Language Version)

SYNOPSIS

bnez [ -h | outfile | n-points | tag | so | yo | xo | zo | ido | dy | dx | dz | did ]

DESCRIPTION

Basic Seismic Utilities (BSU) program for generating a survey file in Northing, Easting, Elevation (NEZ) format. Normally, one would have survey data, but in some cases, it may be necessary to generate the NEZ file from a description of geometry. This program would normally be run at least twice, (once for shots, once for receivers). North is positive y-coordinate, East is positive x-coordinate. The output NEZ file will consist of 5 12-character fields. These are a sequence number, y-coord, x-coord, z-coord, and a tag-ID number. One might first run gensetg to create shots.txt and phones.txt files which will link the BSEGY data files to SP and VP numbers. This program creates the *.nez file. Then one would run the setgeom program which takes the shots.txt, phones.txt, and the outname.nez files, creating headers in the binary BSEGY files. C-Language Version.

Options

-h

Online help giving details on command line arguments

outfile

First argument is the output file name (ex. abcd.nez).

n-points

The number of survey points being generated in this run (either number of channels or shots).

tag

tag=1, label ID as VP (geophone voltage point). tag=2, label ID as SP (shot point).

so

Initial value for an arbitrary sequence value, initial value.

yo

Initial value of y-coordinate (Northing).

xo

Initial value of x-coordinate (Easting).

zo

Initial value of z-coordinate (Elevation).

ido

Initial value of tagged ID number. Combined with tag on output (ie. VP001).

dy

Incremental distance between y-coordinate points.

dx

Incremental distance between x-coordinate points.

dz

Incremental distance between z-coordinate points.

did

Increment between ID numbers points.

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

EXAMPLE:
bnez masw0001.nez 62 1 1 0 98 0 98 0 2 0 2

File masw0001.nez is created. Command line arguments are as shown. Initial few lines of output looks like this
1 0.000000 98.000000 0.000000 VP98
2 0.000000 100.000000 0.000000 VP100
3 0.000000 102.000000 0.000000 VP102
4 0.000000 104.000000 0.000000 VP104

FILES

outfile

Recommend a name ending in nez. Example, abcd.nez

standard output

produces a progress bar

bnez.lst

Echo check of input parameters in listing file.

SEE ALSO

bhelp(1), topcon2(1), gensetg(1), setgeom(1), 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>