#  $Id: ChangeLog,v 1.10 2024/07/06 20:23:02 pm Exp $
2024-07-06 P. Michaels <paulmichaes@boisestate.edu>
* update man pages in html zip archive

2024-19-06 P. Michaels <paulmichaes@boisestate.edu>
*  bwfi.c, bobf.c, bagl.c bhelp.c updates, rmove RunningBSU-html.tar.gz,
* remove bsu-user-guide-html.tar.gz Octave.zip updated 

2024-11-03 P. Michaels <paulmichaes@boisestate.edu>
* added bobf.c bwfi.c updated bagl.c bhelp.c Makefiles in sublibF4 and C/bsegy 

2024-11-03 P. Michaels <paulmichaes@boisestate.edu>
* added setstream.c and updated segd2seg.c

2024-15-02 P. Michaels <paulmichaes@boisestate.edu>
* Makefile added GSL Build script to make sure GSL libraries there for lamb.c
* updated lamb.c with anti-alias filter linking to fortran library arma filter

2024-01-29 P. Michaels <paulmichaes@boisestate.edu>
* btdc.c changed anti-alias filter to zero phase from minimum phase
* updated man page btdc.1

2024-01-29 P. Michaels <paulmichaes@boisestate.edu>
* lamb.c added anti-alias filter for resample, linked fortran arma.f in sublibF4
* and updated Makefile in src/C/bsegy to add sublibF4 to link

2024-01-26 P. Michaels <paulmichaes@boisestate.edu>
* waves.F90 egg2seg.c
* changed definitions of smul1 and smul2 to -1000 to better
* capture the source and receiver location values that are likely

2024-01-23 P. Michaels <paulmichaes@boisestate.edu>
* bamx.1 man page, fixed synopsis spelling

2024-01-09 P. Michaels <paulmichaes@boisestate.edu>
* bred.f removed stop statement to avoid following warning on F77 code
* Note: The following floating-point exceptions are signalling: IE
* EE_UNDERFLOW_FLAG IEEE_DENORMAL

2023-10-24 P. Michaels <paulmichaes@boisestate.edu>
* bsdc.f moved do 150 termination on to a continue statement
* due to changes in fortran compiler.

2023-10-10 P. Michaels <paulmichaes@boisestate.edu>
* made semblance computation consistent between VELSCN and function F in bvax.F90
* and program bvas.F90 

2023-10-02 P. Michaels <paulmichaes@boisestate.edu>
* bagl.c added an output to stderr so that one can redirect to a file for plotting
* or other uses: infile1 infile2 meanAngle stdAngle

2023-09-18 P. Michaels <paulmichaes@boisestate.edu>
* changed output listing format to exponential on bsdc.f (Shows DC level in traces)

2023-09-05 P. Michaels <paulmichaes@boisestate.edu>
* added new code, bphz.f which shifts bsegy data by a constant phase angle
* if angle 180, reverses polarity, but can be any 0<angle<180. degrees
* However, if angle = 270, will still run, but will look like 90 degrees
* if you run bagl on it. added this program to bhelp.c 

2023-08-5 P. Michaels <paulmichaes@boisestate.edu>
* waves.F90 added more checks for receiver and source depths
* 0.0 <= sz < zi(nlay) and 0.0 <= rz(i) < zi(nlay)
* That is, source and receivers need to be within the model
* genwav.F90 added some comments to above effect
* One can always edit output file of genwav.F90 to run different
* synthetic shot records for a single disper file like earth.crv
* Updates on man/man1/waves.1 to reflect above

2023-08-4 P. Michaels <paulmichaes@boisestate.edu>
*  waves.F90 added check to make sure source depth above
* zi(nlay) (for intgr3 subroutine, index szi
* must be positive, integrating upward to surface) 
* see notes in code around line 1852

2023-08-4 P. Michaels <paulmichaes@boisestate.edu>
* expanded comments in waves.F90 to point out change in equation references
* in Aki and Richards (second edition increases numbers by one over
* first edition).  Also explicit comment on sign convention in Aki and Richards,
* Vertical Axis is (+) down for both particle motion and model description.

2023-07-09 P. Michaels <paulmichaes@boisestate.edu>
* updated bagl.1 man page to include graph.gp and use as an objective function

2023-07-08 P. Michaels <paulmichaes@boisestate.edu>
* bagl.c added a gnuplot of angles

2023-07-05 P. Michaels <paulmichaes@boisestate.edu>
* tplt.c close h2 so system command works when trace 1 plotted
*  increased format from i3 to i10 in disper*.f for number of frequencies

2023-07-04 P. Michaels <paulmichaes@boisestate.edu>
* Fixed warnings in waves.F90 on slow group velocity problem.
* fixed man page on gendis.1 to sample interval, not rate.

2023-07-01 P. Michaels <paulmichaes@boisestate.edu>
* Added more details to waves.F90 printout

2023-06-26 P. Michaels <paulmichaes@boisestate.edu>
* Changed output file names disper.tmp waves.tmp show.tmp to 
* disper.lst waves.lst show.lst since some color schemes in Debian
* now show *.tmp named files in a faint color, easy to miss.
* programs affected are disper.f, gendis.f, gendis2.f, halfsp.f,
* genwav.F90, waves.F90

2023-06-01 P. Michaels <paulmichaes@boisestate.edu>
* waves.F90 added a test for trim error, increase stepz from
* default stepz (can occur in thin beds)

2023-04-29 P. Michaels <paulmichaes@boisestate.edu>
* bagl.c added mean angle and std dev to stderr output
* to permit 2>>listing redirection without a lot of other stuff

2023-04-08 P. Michaels <paulmichaes@boisestate.edu>
* bagl.c added standard deviation of angles about mean angle, dropped *.dat
* output infavor of just *.lst file and using stderr to capture just the angles
* for each trace pair. Redirect stderr output 2>file and then gnuplot the file
* if desired.  Added code to permit differnt number of sample in the two input
* files, subject to both having enough samples for the desired time window.
* added check to make sure same number of traces in each input file.

2022-10-02 P. Michaels <paulmichaes@boisestate.edu>
* ba2s.c ascii to bsegy converter, fixed problem with non space 
* field separators ',' and '\t' by replacing them with ' ' character
* as each row in file read.   Why? because using a ' ' always works, so remap the
* field separator.

2023-08-02 P. Michaels <paulmichaes@boisestate.edu>
* nrad2.f changed from gt to ge in case radix 2 input argument

2022-9-07 P. Michaels <paulmichaes@boisestate.edu>
*  bagc.c added fabs() to sqrtf() function call in going to amplitude on envelope

2022-31-05 P. Michaels <paulmichaes@boisestate.edu>
* added bagl.c and manpage in HTML to archive

2022-22-03 P. Michaels <paulmichaes@boisestate.edu>
* updated email and links in bsu-user-guide3-3.pdf 

2022-20-03 P. Michaels <paulmichaes@boisestate.edu>
* set up mseed2seg.c and sac2seg.c to use conditionals in setting terminal

2022-19-03 P. Michaels <paulmichaes@boisestate.edu>
* set up GNUPLOT4 to use conditionals in setting terminal, qplt.c tplt.c

2022-18-03 P. Michaels <paulmichaes@boisestate.edu>
* changed hvsr.F90 to use conditionals in setting terminal

2022-17-03 P. Michaels <paulmichaes@boisestate.edu>
* GNUPLOT5 changed qplt.c and tplt.c to use conditionals in setting terminal

2022-27-02 P. Michaels <paulmichaes@boisestate.edu>
* update Running_BSU-3.0.3.pdf to include bxof.c with example using
* Oz Yilmaz data.

2022-25-02 P. Michaels <paulmichaes@boisestate.edu>
* added bxof.c to bhelp.c

2022-21-02 P. Michaels <paulmichaes@boisestate.edu>
* bcnv.c updated for idfc=5.  Warnings and abort if outside allowed
*data format range. Man page updated.

2022-03-02 P. Michaels <paulmichaes@boisestate.edu>
* bplt.c replace pipe commands for conditional compile, WIN.  Replace
* with system command of the bplt.gp file.  Changed x11 device to qt
* device for linux GNUPLOT compile choice.

2022-01-02 P. Michaels <paulmichaes@boisestate.edu>
* tplt.c and qplt.c changed.  Turned off pipe part of code since
* not working in Microsoft Windows.  System() command works in
* both Linux and MS Windows, so write to file and the use that.

2020-20-01 P. Michaels <paulmichaes@boisestate.edu>
* updated doc/bsu-user-guide3-3.pdf

2020-19-01 P. Michaels <paulmichaes@boisestate.edu>
* added sac2seg.c, updated bhelp.c added bsac.h to C/include updated Makefile 

2020-05-01 P. Michaels <paulmichaes@boisestate.edu>
* updated mseed2seg.c, man pages zip archive in html, Running_BSU-3.0.3.pdf in doc

2020-05-01 P. Michaels <paulmichaes@boisestate.edu>
* fix function name2() in mseed2seg.c creating output file names, write zero '\0'
* before building a file name

2020-02-01 P. Michaels <paulmichaes@boisestate.edu>
* update bhelp.c

2020-01-01 P. Michaels <paulmichaes@boisestate.edu>
* added btdc.c and mseed2seg.c  and IRIS library libraries/libmseed-2.19.4

2021-24-11 P. Michaels <paulmichaes@boisestate.edu>
* update documentation, syncronize updated source

2021-14-11 P. Michaels <paulmichaes@boisestate.edu>
* updated disper.f waves.F90 genwav.F90 added bazi.F90 bzrt.F90 genbazi.c hvsr.F90
* Changelog and Makefiles

2021-20-09 P. Michaels <paulmichaes@boisestate.edu>
* modified bhed.f to include shot azimuth and vertical in bhed namelist
* Assumption here is that we are processing a shot gather for which this
* header is constant for all traces.

2021-18-09 P. Michaels <paulmichaes@boisestate.edu>
* added a rescale factor in brsp.f (resamples in time by zeros augmentation
* in frequency domain.  Changes length of signal in FFT and scaling.
* Now resampled amplitudes should match original input signal.

2021-29-08 P. Michaels <paulmichaes@boisestate.edu>
* update Running_BSU-3.0.3.pdf and bsu-user-guide-html.tar.gz

2021-17-08 P. Michaels <paulmichaes@boisestate.edu>
* updated RunningBSU pdf and html documentation

2021-15-08 P. Michaels <paulmichaes@boisestate.edu>
*bedt.f and brsp.f fixed sample interval header on output
* if interpolation or decimation

2021-29-07 P. Michaels <paulmichaes@boisestate.edu>
* fixed HTML readme and then build by editing  bsu-user-guide3-3.tex as follows:
*EDIT: for \cbx commands, two places 
*  A) comment out for PDF case, lines 52,53
*  Then uncomment out lines 56,57
*  B) comment out for PDF case, lines 63,64
*  Then uncomment out lines 67 and 68
* This fixes the color box commands throughout the entire project for HTML

2021-26-07 P. Michaels <paulmichaes@boisestate.edu>
* updated bhelp.c

2021-24-07 P. Michaels <paulmichaes@boisestate.edu>
* updating user guide in doc directory

2021-23-07 P. Michaels <paulmichaes@boisestate.edu>
* improved bvax.F90 offset limiting to accomodate split spreads and
* other geometries.  Internal sorting by offset simplifies the selection
* finding jmin and jmax index results. Man page man/man1/bvax.1 updated
* to reflect this improvement.

2021-21-07 P. Michaels <paulmichaes@boisestate.edu>
* fixed geometry problem in waves.F90 when source offset from end of line

2021-19-07 P. Michaels <paulmichaes@boisestate.edu>
* rebuilt RunningBSH-html.tar.gz and replaced old version in doc directory
* added check disper.f gendis.f half-space fastest Vs

2021-09-07 P. Michaels <paulmichaes@boisestate.edu>
* continued fixing email, etc in man pages and doc/man-bsu3-html.zip

2021-08-07 P. Michaels <paulmichaes@boisestate.edu>
* updated email and comments, etc as in bsu-3.0.3 linux version

2021-05-07 P. Michaels <paulmichaes@boisestate.edu>
* finished debugging wav2txt.c
* updated email, dates on sublibC4/ cr_.labl.c hlp_labl.c fcr_labl.c
* and in bsegy wav2txt.c tplt.c qplt.c

2021-04-07 P. Michaels <paulmichaes@boisestate.edu>
* added man page for wav2txt

2021-03-07 P. Michaels <paulmichaes@boisestate.edu>
* wav2txt.c added a new function that can find "data" string and return
* number of bytes in data (read from int immediately following the key
* word "data".  Not all WAV files have a 44 byte header, this is needed
* particularly if there is a "LIST" keyword, as in a 2 channel case created
* by some program.

2021-01-07 P. Michaels <paulmichaes@boisestate.edu>
* wav2txt.c cleared some bugs with 2 channel case.  Best with a single channel

2021-30-06 P. Michaels <paulmichaes@boisestate.edu>
* move wav2seg.c to wav2txt.c (typical wav file will be too many samples)
* update Makefile and bhelp.c

2021-29-06 P. Michaels <paulmichaes@boisestate.edu>
* ba2s.c, bagc.c, bbal.c, bcar.c, bcnv.c, bdat.c, bdec.c
* bequ.c, bext.c, bfit.c, bgar.c, bgaz.c, bis2seg.c, bnfd.c boff.c,
* bplt.c, brpt.c, bsg2.c, bsrt.c, bsum.c, bswp.c, cmst.c, egg2seg.c,
* genwaw.c, lamb.c, qplt.c, seg2csv.c, seg2dump.c, bnez.c, setgeom.c, 
* topcon2.c, tplt.c
* fixed potential memory leak, free(s1) etc... before return();
* in process of modifying wav2seg.c code to output as ASCII since
* number of samples likely very large.

2021-23-06 P. Michaels <paulmichaes@boisestate.edu>
* bsg2.c restricted GEOAZI to less than 180 degrees to match tan rather than tan2
* function call above this test.

2021-22-06 P. Michaels <paulmichaes@boisestate.edu>
* bsg2.c, compute source to receiver azimuth and assign horizontal component
* azimuth based on if within 45 degrees, then R otherwise T
* egg2seg.c changed vertical from 180 to zero for V = phones[jrec]

2021-21-06 P. Michaels <paulmichaes@boisestate.edu>
* bsg2.c made amplitude scaling correct for millivolts and stack, 32 bit integer
* see lines 275 to 281 shown here:
* //...32 bit integer, +/- 2^31 = 2147483648 scaling for Data Scale Factor SEG2
* //      (DSF*1000) 1000 converts to millivolts (seg-2) from microvolts (bsegy)
* //      (SEG-2 data value) * (DSF/STACK) = millivolts
*	DSF = famp/2147483648.;
*	for (i=0; i<mspace; i++) {	
*	s2[i]= (int)  ((s1[i]*stack)/(DSF*1000.));
*	} // end samples loop -----------------------

2021-17-06 P. Michaels <paulmichaes@boisestate.edu>
* bsg2.c changed allocation of STRING char variable to 80 (bug fix, previously
* was ntraces which made no sense, too small, just a cut and paste error).
* avoids a segfault)

2021-16-06 P. Michaels <paulmichaes@boisestate.edu>
* converted bsg2.c to calloc of number of channels from a fixed assumption
* edited files include src/C/include/sub4.h, src/sublibC4/WriteSEG2.c, and
* src/C/bsegy/bsg2.c
* Also, converted seg2dump.c to read number of traces before allocating pointer array 
* Added sscanf function to read receiver xyz and source xyz in egg2seg.c

2021-05-24 P. Michaels <paulmichaels@boisestate.edu>
* THIS ChangeLog is from the Linux version, Mingw32 specific updates are included
* starting like this:
* MINGW32: program segd2seg.c cross compile required casting the sizeof() functions
* as (int) to avoid the assumption of (long long int) used by the cross compiler
*
*From the Makefile
* CC=x86_64-w64-mingw32-gcc-win32
* NM=x86_64-w64-mingw32-gcc-nm-win32
* CFLAGS=-Wall -m64 -DWIN -O2
*Further, the type declaration for the number of samples must be set to zero
* npts=0 in declaration 


2021-04-05 P. Michaels <paulmichaes@boisestate.edu>
* update comments in *.m files

2021-03-28 P. Michaels <paulmichaes@boisestate.edu>
* edited man page for bscl.1 to clarify scale factor cases between command
* line (value given, not reciprocal) vs ampfile (reciprocal of values).  The
* bscl program when using an ampfile (trace,value) pairs is intended to back
* out scaling from programs like bequ.

2021-03-26 P. Michaels <paulmichaes@boisestate.edu>
* bimg.f modified on computation of an average trace spacing. Previously
* assumed off end shooting, now compares locations from trace 1 and 5
* to compute an average spacing.

2021-03-09 P. Michaels <paulmichaes@boisestate.edu>
* genwav.F90 removed a "/" in the "source" namelist which was written at the
* end of the "tm" tensor (this prevented reading the shot coordinates, sx,sy,sz).
* When editing a waves.d file, one can delete this slash, but the new version 
* will not generate it.

2021-03-07 P. Michaels <paulmichaes@boisestate.edu>
* added datetime.c function to sublibF4, updated Makefile.am to include it
* bnoise.f in sublibF4 changed so that table reset with itest commented out
* This requires that bnos.f now keep changing the seed to each call of
* bnoise.f
* bnos.f strategy changed so that bimg.f on random numbers does not create
* glitches due to the limits in the table in runif.f (after about 32 traces
* was seeing correlations with earlier traces.  NOTE: bnos.f is the only
* current BSU code that calls subroutine bnoise.f
* Man pages for bnos.f and bnoise.f have been updated.
 
2021-03-06 P. Michaels <paulmichaes@boisestate.edu>
* added warning message to disper.f on number of frequencies exceeding
* dimensions.  Added man page for bdec.c program. Added bdec.c to bhelp.c

2021-03-05 P. Michaels <paulmichaes@boisestate.edu>
* genbimg.c added a mix to options.  Two ways to compile that seem equivalent,
* apply mix at end of stacks to filter out infinite apparent velocities.

2021-03-01 P. Michaels <paulmichaes@boisestate.edu>
* genbimg.c fixed problem with name of input file, if xxxxyyyy.seg needed a short
* version yyyy.seg to create a bash script entry for brdc commands (see infileshort)

2021-02-27 P. Michaels <paulmichaes@boisestate.edu>
* new program, bdec.c decimates a data set in traces.  Ex. If factor = 2 , every
* other trace is output.

2021-02-26 P. Michaels <paulmichaes@boisestate.edu>
*  traplt.f increased ndim to 131072=2^17 to accommodate the maximum
*  number of samples possible, 2^16 (radix 2 fft ) 

2021-02-25 P. Michaels <paulmichaes@boisestate.edu>
* updated man pages bimg(1) and genbimg(1) in directory man1.

2021-02-24 P. Michaels <paulmichaes@boisestate.edu>
* bimg.f added near and far correlation trace arguments to limit offsets in
* cross correlation trace separations.  Updated genbimg.c to add these arguments.

2021-02-22 P. Michaels <paulmichaes@boisestate.edu>
* genbimg.c corrected if statement for insufficient number of command line arguments.
* new man page, genbimg.1 and edit on bimg.1 man page. Added genbimb.1 man page to
* Makefile.am in man1 directory.

2021-02-18 P. Michaels <paulmichaes@boisestate.edu>
* genbimg.c added an echo check to output bash script, gobimg

2021-02-16 P. Michaels <paulmichaes@boisestate.edu>
* genbimg.c helper program added that sets up a script to
* run a sequence of the passive source code, bimg.f

2021-02-10 P. Michaels <paulmichaes@boisestate.edu>
* bimg.f extended range of cross correlations beyond N/2, see lines 160-164
* where test to make sure not exceed number of traces, see line 151, do 700
* increases range of loop, see line 139, do 100 increased range of loop
* Added man pages for bcor.f and bimg.f

2021-02-10 P. Michaels <paulmichaes@boisestate.edu>
* bimg.f added mixing the causal with acausal into a synthetic shot gather
* bimgdata.seg is correlogram, BIMGdata.seg is the new extra file, synthetic gather

2021-02-09 P. Michaels <paulmichaes@boisestate.edu>
* bimg.f new code, produces an image for passive sources by cross correlation
* with all the different offset combinations, 1 to N/2, N=number traces, 
* N set to even value of odd number of traces in gather

2021-02-04 P. Michaels <paulmichaes@boisestate.edu>
* bcor.f new code, cross correlates a single trace in a file with all others

2021-02-03 P. Michaels <paulmichaes@boisestate.edu>
* bplt.c added tunits variable, if max time > 1000 ms, switch to seconds for 
* time axis label.

2021-01-25 P. Michaels <paulmichaes@boisestate.edu>
* in sublibF4, xcor.f make ca, cv, cacv variables real*8 as values can exceed
* single precision.

2021-01-23 P. Michaels <paulmichaes@boisestate.edu>
* fixed the mask for the fraction part in function makefloat() to 0x007fffff
* added code to test if 1 or 2 data scan channel sets in segd2seg.c
* branches according to variable, ngbh (number of general block
* headers).  Assumption is that no more than 2 channel scans and the
* first one is auxillary channels unless only one channel scan.
* Who knows? This is just an assumption for the data instance available
* in creating the segd2seg.c code.  Added man pages for segd2seg. Updated
* Makefile.am in man/man1 directory. Updated bhelp.c to include segd2seg.

2021-01-22 P. Michaels <paulmichaes@boisestate.edu>
* finished composing segd2seg.c outputs both aux and shot record signals

2021-01-21 P. Michaels <paulmichaes@boisestate.edu>
* added headers and output all of scan 2 traces to BSEGY format file 

2021-01-20 P. Michaels <paulmichaes@boisestate.edu>
* started composing segd2seg.c which reads a limited set of SEG-D format
* fixed argument list on header read to absolute locations

2021-01-01 P. Michaels  <paulmichaels@boisestate.edu>
* ba2s.c added warning if number of characters in buffer exceeded when 
* reading values 

2020-12-29 P. Michaels  <paulmichaels@boisestate.edu>
* ba2s.c fixed search for field separator when tab and not first character on row
* when iorder=0 function sfnsc(loc,fs) , replace ' ' with fs and increase maximum
* number of characters to 5 million per row 

2020-12-23 P. Michaels  <paulmichaels@boisestate.edu>
* seg2dump.c and egg2seg.c and topcon2.c added a call to abort() if data not SEG-2

2020-12-23 P. Michaels  <paulmichaels@boisestate.edu>
* comment out "stop" just before "end" in main program to prevent a comment
* at end of execution of fortran programs
* programs include: bamp.F90, bamx.F90 bhod.F90 caplot.F90 
* bcad.f bcrd.f bdcn.f bdif.f bdum.f bdump.f bedt.f bfil.f bftr.f bfxt.f
* bhed.f bint.f bkil.f bmed.f bmix.f bmrg.f bmrk.f bmst.f bnos.f bpic.f
* brdc.f bref.f brev.f brot.f brsp.f bscl.f bsdc.f bshf.f bshp.f bstk.f
* btor.f bvel.f bvsp.f bwht.f bwin.f bxcr.f genb2s.f genbhod.f genbhodV.f
* genref.f seg2txt.f top2dxf.f top2nez.f topbcrd.f topcon.f traplt.f

2020-12-21 P. Michaels  <paulmichaels@boisestate.edu>
* seg2dump.c changed error and warning messages, no segmentation error
* even if not all headers found or some error occurs

2020-12-20 P. Michaels  <paulmichaels@boisestate.edu>
* egg2seg.c changed error and warning messages, permit output of *.seg file
* even if not all headers found or some error occurs

2020-12-13 P. Michaels  <paulmichaels@boisestate.edu>
* bhed.f added sample interval and number of samples to header on upload, oops

2020-12-13 P. Michaels  <paulmichaels@boisestate.edu>
* Found that configure.ac needed AC_CHECK_LIB stuff on Slackware 14.2
* for blas, gsl, gslcblas, lapack.  Uncomment and run make distcheck
* for slackware *tar.gz install file.

2020-11-29 P. Michaels  <paulmichaels@boisestate.edu>
* (1) waves.F90 changed nsmax=65534 from 20000 to take advantage of the larger
* number of samples available (see 2020-11-05 below).  Added a subroutine
* WARN(nz,deltz,stepz) to alert if phase becomes aliased.  Those cases are not
* included in sum. The resulting synthetic will loose bandwidth, and ringing
* in time domain will occur as a result.  
* There is a group velocity test to see if arrival for a frequency is in positive
* time (first 1/2 of the computation time window).  Test variable, testc=(Range/U)*deltf
* where Range=source to receiver offset, U=group velocity, deltf=1/(N*delt) where
* delt=time sample interval, deltf=frequency increment.  In other words, 
* group arrival should be in the time window, 1/(2*deltf)=(N*delt)/2
*
*    if testc < 0.5 then all OK, otherwise a warning, not included in sum.
*
* To improve the solution and decrease the lagrangian for cases where testc > 0.5,
* one has some options.  One should examine group velocity in matu.m octave plot.
* Even if this test is satisfied, one should examine group velocities and look
* for glitches in group velocity with increasing frequency.  Examine waves.tmp
* for deltz=spatial integration increment, compare to deltz in disper.d model 
* definition.  Waves trims deltz.
* Results can be improved by making the trimmed deltz in waves consistent with the
* subsurface model layering deltz specified in disper.d.  Also, to model
* abrupt discontinuities in subsurface velocity, make the thickness of the discontinuity
* very small relative to deltz.
* 
* NOTE: stepz also plays a roll in the trimming. there are "stepz" increments per minimum
* shear wavelength.(see code).  Default is 20.   Observe the effect on the lagrangian,
* the smaller the maximum lagrangian value in waves.his, the better. 
*
* (2) gendis.f edited format 150 to increase nfreq= format from i3 to i5

2020-11-08 P. Michaels  <paulmichaels@boisestate.edu>
* waves.F90 added call to usignont.c function for length, added npts2=npts/
* to permit unsigned integer for increased samples in a trace

2020-11-05 P. Michaels  <paulmichaels@boisestate.edu>
New revised version, bsu-3.0.3 Starting here.  Edited for large sample
* numbers in traces (ie npts>32768).  Now, maximum number of samples
* is 65536 (ie 2^16).  The bytes 115 and 116 in the 240 byte trace 
* header is an "unsigned short" integer, 2 bytes.  The include file
* src/C/include/c_bsegy.h has been edited from short int to 
* unsigned short.  Fortran codes a problem since the Fortran language
* does not have unsigned short as a type.  Two additional functions
* in C-language added to src/sublibF4 directory perform a recast of
* the "length" variable (number of samples, 2 byte integer, bytes 115 and 116).
* These are compiled and the object modules included in the sublibF4 library.
* The Fortran codes bsegin.f and bsegout.f now call these functions.
* In bsegin.f it calls usignint.c function, in bsegout.f it calls 
* usignont.c function to effect a fortran unsigned integer.
* All the fortran *.f and *.F90 codes have had the 
*      parameter (ndim=32768) changed --> parameter (ndim=65536)
* which reserves memory for reading or writing larger sample size traces.
* OCTAVE: bsegin.m, bsegout.m and segyinfo.m have been edited to use
* uint16 for the 115, 116  two byte header (previously int16).  The
* code yulewalker.m was edited on line 92 to use floor() function on
* max time computation which now can get large and have a fraction which
* is a problem as a subscript index. 
* NOTE: in Debian, packages libf2c2 and libf2c2-dev are require for 
* compiling the C-language functions in sublibF4 and including them in
* the library.

2020-10-22 P. Michaels  <paulmichaels@boisestate.edu>
* added genwaw and seg2dump man pages to doc/man-bsu3-html.zip file
* command: groff -Thtml -m man genwaw.1 >genwaw.html

2020-10-19 P. Michaels  <paulmichaels@boisestate.edu>
* genwaw.c added OR to allow both *.DAT and *.dat files
* genwaw.c added #ifdef #else #endif to detect WIN compile,  mkdir -p LST; bad on
* MS windows, creates directory -p and also need system command that uses "move"
* instead of "mv" command.  Also remove >/dev/null part of egg2seg command for WIN

2020-10-18 P. Michaels  <paulmichaels@boisestate.edu>
* genwaw.c edited to work both with gcc and Mingw compilers
* problem was in scanning directory for *.DAT file names
* GetFileNames function now calls opendir, readdir, closedir functions
* rather than scandir function which is not available on Mingw

2020-10-03 P. Michaels  <paulmichaels@boisestate.edu>
* updated RPM/*.spec files

2020-10-03 P. Michaels  <paulmichaels@boisestate.edu>
* added centos_8-bsu-3.0.2.txt to doc directory

2020-10-02 P. Michaels  <paulmichaels@boisestate.edu>
* updated debian directory for packaging

2020-09-30 P. Michaels  <paulmichaels@boisestate.edu>
* added Running_BSU-3.0.2.pdf to doc directory

2020-09-20  P. Michaels <paulmichaels@boisestate.edu>
* bhelp.c updated bsu-guide3-2.pdf (changed 3 to 3-2)

2020-08-07  P. Michaels <paulmichaels@boisestate.edu>
* saswv.m fixed range of frequencies

2020-07-07  P. Michaels <paulmichaels@boisestate.edu>
* FwdR1.m added a deltz GUI

2020-05-29  P. Michaels <paulmichaels@boisestate.edu>
* added showmdl to bhelp.c listing

2020-05-27  P. Michaels <paulmichaels@boisestate.edu>
* changed prompt in gendis.f from sample rate to sample interval which is accurate.

2020-05-26  P. Michaels <paulmichaels@boisestate.edu>
* comment out stop command at end of main program, bvsp.f so that
* warning: Note: The following floating-point exceptions are signalling: IEEE_DENORMAL
* will not happen after run completed.

2020-05-22  P. Michaels <paulmichaels@boisestate.edu>
* corrected bis2seg.1 man page.

2020-05-18  P. Michaels <paulmichaels@boisestate.edu>
* edited bamx.F90 to delete *.his files at beginning to avoid appending 
*across multiple runs

2020-05-14  P. Michaels <paulmichaels@boisestate.edu>
* updated man page zip archive and Octave zip archive in doc directory

2020-05-13  P. Michaels <paulmichaels@boisestate.edu>
* problem with --enable-all-static due to configure.ac file
* program lamb.c missing gsl functions
* commented out following:
*#AC_PROG_RANLIB
*#AC_CHECK_LIB([blas], [main])
*#AC_CHECK_LIB([gsl], [main])
*#AC_CHECK_LIB([gslcblas], [main])
*#AC_CHECK_LIB([lapack], [main])
*#AC_CHECK_LIB([m], [main])

2020-05-06  P. Michaels <paulmichaels@boisestate.edu>
* wrapper.cpp fix depricated nelem with current version, numel
* type definitions: rho.numel and pv.numel
* added 'pkg load signal' SASW.m
* added 'pkg load statistics' refplot.m

2020-05-05  P. Michaels <paulmichaels@boisestate.edu>
* edited bvax.F90, bvas.F90, bamp.F90 to delete *.his files at beginning to avoid appending
* across multiple runs
* edited by removing stop command at end of main program to avoid UNDERFLOW messages

2020-05-02  P. Michaels <paulmichaels@boisestate.edu>
* added trace number to plot titles in yulewalker.m octave code

2020-02-18  P. Michaels <paulmichaels@boisestate.edu>
* added *txt files to doc directory which are specific tips on building
* bsu-3.0.2 for archlinux, ubuntu18, slackware14.2, and redhatEnterprise 7.7
* added these doc *.txt files to Makefile.am doc data list

2020-02-15 P. Michaels <paulmichaels@boisestate.edu>
* worked on configure.ac to get plplot working with RedHat Enterprise
* using plplot version 5.11.0 
* This means that the grep portion of commands locating PLPPFX and PLPF95 have
* been converted to an OR using 'fortran\|f95' as the argument, this way
* plplotd-f95.pc or plplot-fortran.pc will be able to fullfill this need.
* Recommend setting the PKG_CONFIG_PATH variable also on the configure
* command line.  
* For example: ../bsu-3.0.2/configure --with-plplotlib PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

2019-12-11 P. Michaels  <pm@cgiss.boisestate.edu>
* added comments to namecheck.c and namechk.f explaining restriction on file 
* name formats, input and output.  Was a bit vague in the ABORT statement
* added include of sub4.h to bnez.c, so namecheck defined.  Added include of string.h
* to genbrot.c code, was missing.

2019-11-26 P. Michaels  <pm@cgiss.boisestate.edu>
* update configure.ac using autoscan

2019-10-31 P. Michaels  <pm@cgiss.boisestate.edu>
* add man page for seg2dump program that raw dumps a SEG-2 file to a text listing
* add seg2dump to bhelp.c 

2019-07-28 P. Michaels <pm@cgiss.boisestate.edu>
* configure.ac updated going from Debian-9 to Debian-10.  Plplot has changed the
* names of their pkgconfig *.pc files for Fortran.  No longer f95 is used
* (Debian9) libplplot-fortran10 (version  5.10.0+dfsg2-0) uses ----> plplotd-f95.pc
* (Debian10)libplplotfortran0   (version 5.14.0+dfsg-3)   uses ----> plplot-fortran.pc

2019-05-31 P. Michaels <pm@cgiss.boisestate.edu>
* edited bhelp.c adding genwaw.c geometry setting interactive code to list

2019-05-30 P. Michaels <pm@cgiss.boisestate.edu>
* added man page for genwaw geometry setting, SEG-2 to bsegy format.
* added test for locate program in configure.ac

2019-05-08 P. Michaels <pm@cgiss.boisestate.edu>
* changed egg2sec.c sx and rx resolution to .01m from 1.0 m (smul1 and smul2)

2019-05-08 P. Michaels <pm@cgiss.boisestate.edu>
* genwaw.c composed, interactive setting geometry for walk-a-way type shooting
* reads *.DAT SEG-2 format files, asks geometry, writes to *.seg

2019-05-02 P. Michaels <pm@cgiss.boisestate.edu>
* bhed.f changed default phone in namelist to 4 spaces for download of header


2018-12-07 P. Michaels <pm@cgiss.boisestate.edu>
* Update egg2sec.c  add SP number (SOURCE_STATION_NUMBER)

2018-12-06 P. Michaels <pm@cgiss.boisestate.edu>
* Update egg2sec.c clean up I/O and add receiver orientation

2018-04-17 P. Michaels <pm@cgiss.boisestate.edu>
* Changed default from gnuplot4 to gnuplot5.  New configure option --with-gnuplot4
* The reason is that almost all OS's have moved to version 5 which has a bug in
* the plotting of variable area.  Work-a-round is to plot both + and - values as 
* separate instances. 

2018-04-17 P. Michaels <pm@cgiss.boisestate.edu>
* new RPM spec files for version 3.0.1

2018-04-17 P. Michaels <pm@cgiss.boisestate.edu>
* New bsu-3.0.1/debian directory reflecting new version

2018-04-17 P. Michaels <pm@cgiss.boisestate.edu>
* Update configure.ac for RPM/*spec 

2018-04-08 P. Michaels <pm@cgiss.boisestate.edu>
* updated both PDF and HTML documentation files.  Updated Makefile.am to reflect
* name change to bsu-user-guide3-1.pdf
* updated doc directory Octave.zip and man-bsu3-html.zip

2018-04-07 P. Michaels <pm@cgiss.boisestate.edu>
* Fixed error in genref.f program.  Number of geophone channels was hardwired
* to 48.  Now is set by number of receivers in a shot gather query.

2018-03-11 P. Michaels <pm@cgiss.boisestate.edu>
* Fixed error in Cd matrix, invR1.m and added option for Vp gui choice

2018-02-05 P. Michaels <pm@cgiss.boisestate.edu>
* disper.f added a reset of jsmax for each frequency, speeds up
* execution for adaptive jsmax setting by as much as a factor of 3.
* Since rwv.f is called for a single frequency, this is not an issue, 
* but with the adaptive bracket search decided to decrease jsmax to 100

2018-02-04 P. Michaels <pm@cgiss.boisestate.edu>
* disper.f and rwv.f updated to adaptively change jsmax in the bracket
* search before searching for each mode phase velocity (in function cvel)
* changes hardwired using iadapt=1 new local variable, jsmax2 saves
* jsmax value to restore after adaptive search for instances where
* a bracket failure occurs.

2017-12-05 P. Michaels <pm@cgiss.boisestate.edu>
* Octave/invR1.m commented out line 234, deltz=.2; since that would overwrite
* what was input in the inputdlg command on line 230.

2017-10-22 P. Michaels <pm@cgiss.boisestate.edu>
* bvas.F90, changed write(15,... to semblance.dat file to increase floating point
* formats to 14.7 (frequency/velocity values greater than 1000 were printing ****** )
* Name of output files changed from vscnxxxxx.seg and bvasxxxxx.seg
* to vxxxxx.seg and bxxxxx.seg due to limit on input command names
* for other programs.  To view a velocity scan file, a name like
* vscn00300.seg would result in an input name violation (this new limit
* is implimented to guard against buffer overflow exploits).

2017-09-16 P. Michaels <pm@cgiss.boisestate.edu>
* bvax.F90, changed write(15,... to semblance.dat file to increase floating point
* formats to 14.7 (frequency/velocity values greater than 1000 were printing ****** )
* Name of output files changed from vscnxxxxx.seg and bvaxxxxxx.seg
* to vxxxxx.seg and bxxxxx.seg due to limit on input command names
* for other programs.  To view a velocity scan file, a name like
* vscn00300.seg would result in an input name violation (this new limit
* is implimented to guard against buffer overflow exploits).

2017-09-16 P. Michaels <pm@cgiss.boisestate.edu>
* halfsp.f changed format 900 for more precision, otherwise the
* motion stress vectors are stair case in appearance if plotted
*  900 FORMAT(2X,F8.1,2X,4(E14.7,2X))

2017-09-04 P. Michaels <pm@cgiss.boisestate.edu>
* bsu-user-guide3 update, pdf and html

2017-08-23 P. Michaels <pm@cgiss.boisestate.edu>
* bcad.f fixed error in online -h help, infile is *.seg not *.nez

2017-08-12 P. Michaels <pm@cgiss.boisestate.edu>
*  bsu-html.tar.gz re-archived after manual edit of nodes 12,13,14,15,16,17,16,19,20 (ie node12.html)
*  the latex {-}{-}with only put one dash in front of "with-" options for different OS examples

2017-08-01 P. Michaels <pm@cgiss.boisestate.edu>
* improved configure.ac Linux: AC_CHECK_LIB([gsl], along with libm and libgslcblas ORDER IMPORTANT
* Darwin: test for files  AC_CHECK_FILE( for /sw/include/gsl/gsl_mode.h (for headers installed in Fink)
* and /sw/lib/libgsl.dylib  Again, Fink install of GSL, defines GSL_LIBS which is then used in
* src/C/bsegy/Makefile.am for lamb.c program
* Octave/yulewalker.m and PseudoTime.m 
* added "pkg load signal" to load signal processing toolbox

2017-07-31 P. Michaels <pm@cgiss.boisestate.edu>
* changes to configure.ac  BLAS and LAPACK development library check
* simpler than trying to check on specific files.
*
* added AC_F77_FUNC(sgemm) AC_F77_FUNC(dgemm)
* AC_CHECK_LIB([blas],[$sgemm],[BLIB="found"],[BLIB="none"])
*
*AC_F77_FUNC(ssyev) AC_F77_FUNC(dsyev)
*AC_CHECK_LIB([lapack],[$ssyev],[LAPKLIB="found"],[LAPKLIB="none"])
* src/Fort/bsegy/Makefile.am cleaned
* Updated bsu-user-guide.pdf and bsu-html.tar.gz

2017-07-30 P. Michaels <pm@cgiss.boisestate.edu>
* configure.ac changed test for gfortran library, AC_CHECK_LIB rather than
* looking for shared library files. Darwin is still noted later in the Makefile.am
* in the src/Fort/bsegy directory (problem with common blocks on Darwin, MacOSX host)

2017-07-27 P. Michaels <pm@cgiss.boisestate.edu>
* added namechk.f to sublibF4 and added call in *.f codes and *.F90 codes

2017-07-26 P. Michaels <pm@cgiss.boisestate.edu>
* additional change strcpy now strncpy on infile names, infile[13]--> infile[14] now

2017-07-24 P. Michaels <pm@cgiss.boisestate.edu>
*  added namecheck.c to sublibC4, provides some protection from buffer overflow
* exploit when inputing file names, C-codes.

2017-07-24 P. Michaels <pm@cgiss.boisestate.edu>
* editing changes, bsu-user manual, pdf and html, Octave.zip update

2017-07-21 P. Michaels <pm@cgiss.boisestate.edu>
* added Octave codes: kvKVMBscan kdKVMBscan fqKVMBscan KD4kvmb
* and man7 manpages for above.  Updated bhelp.c to include above.

2017-07-20 P. Michaels <pm@cgiss.boisestate.edu>
* added Octave programs KVMB stiffness/damping 2DOF to 1DOF KV analysis codes

2017-07-19 P. Michaels <pm@cgiss.boisestate.edu>
* added Octave KVMBscan.m KVMBsoilScan.m

2017-07-18 P. Michaels <pm@cgiss.boisestate.edu>
*  Update README file in top and doc directories, updated and added files in
* doc directory (html man pages added: man-bsu3-html.zip, Octave.zip added)
* Makefile.am updated for above
* configure.ac now tests for 64 vs 32 bit system.  If 64 bit, libIBM library
* compiles a 64 bit version (unsigned long and long converted to unsigned int and int)

2017-07-17 P. Michaels <pm@cgiss.boisestate.edu>
* manpages waves.1 showmdl.1 gendis.1 genwav.1 errors fixed

2017-07-14 P. Michaels <pm@cgiss.boisestate.edu>
* update man pages for waves.1 and disper.1
* waves.F90 change " to '' in formats so *.m files generated will also run in
* matlab as well as octave.  Default is to comment out with % the print statements
* in files m0.m, matc.m, matu.m

2017-07-12 P. Michaels <pm@cgiss.boisestate.edu>
* Added Dataformat.pdf to describe and credit dx32f.txt sample

2017-07-10 P. Michaels <pm@cgiss.boisestate.edu>
* SASW.m added line:  pkg load signal
* without this, no pwelch function is available

2017-07-10 P. Michaels <pm@cgiss.boisestate.edu>
* improving Octave Files FwdR1.m, delaytm.m delaytmR.m direct.m

2017-06-29 P. Michaels <pm@cgiss.boisestate.edu>
* added #define BUFLEN 1024 in include/sub4.h
* SECURITY edit babs.c as test case to defend against buffer overflow exploit

2017-06-26 P. Michaels <pm@cgiss.boisestate.edu>
* sublibC4/in_chk.c added cast *npts=(int) hd.length; and
*  *ntraces=(int) fsize/(240 +(long) (*npts)*sizeof(float)); (the header values
* are short integers, had to recast.
* bcnv.c was segement faulting with new kernel and libc6
* BUT ther is MORE, bcnv.c runs OK if compiled with CFLAGS="-g" instead of
* CFLAGS="-g -O2" .  This can be done on configure command, but will turn off
* optimization on every C-language code.  Will have to investigate further, do a core
* dump and run in gdb to explore optimization issue.
* Configure command that worked is:
*       ./configure --with-plplotlib CFLAGS="-g"

2017-06-14 P. Michaels <pm@cgiss.boisestate.edu>
* finished *.deb packaging and *.rpm packaging.  CentOS6 permits install under /usr
* but CentOS7 does not, so *.spec files for CentOS7 install under /usr/local instead.
* Debian 8 the only *.deb files created: GnuplotVersion (simple configure, no options), 
* PlplotVersion (configure --with-plplotlib) and StaticVersion (configure --enable-all-static)
* bsu_3.0.0-1+static_amd64.deb, bsu_3.0.0-1+plplot_amd64.deb, bsu_3.0.0-1_amd64.deb binaries
* bsu_3.0.0-1.dsc and bsu_3.0.0-1_amd64.deb source package

2017-06-01 P. Michaels <pm@cgiss.boisestate.edu>
* edited configure.ac for Macbook Pro:  AS_IF branch check fortran dynamic libraries
* only if Linux, not Darwin.  Added AC_CHECK_FILE() to also look in /sw (Fink on Darwin
* possible location for gnuplot and libgsl.dylib (Darwin equivalent of a shared library *.so)
* and *.dylib in /usr/lib as well for libblas, liblapack

2017-05-24 P. Michaels <pm@cgiss.boisestate.edu>
* changed popen command "gnuplot -p" to "gnuplot".  In programs tplt.c qplt.c bplt.c
* problem with CENTOS6.9 , gnuplot version 4.2.6-2 crash.  Not a problem on 
* gnuplot version 4.6.6-2 (DEBIAN8 for example), but fixed in set terminal, 
* "set terminal X11 persist" (adding persist option there works with both versions
* of gnuplot.  WARNING: Centos version of gnuplot 4.2.6-2 does not support PDF output
* terminal.  TO DO: Mention this in documentation

2017-05-22 P. Michaels <pm@cgiss.boisestate.edu>
* bhelp.c code updated to show which files are *F90
* BSU-guide3 updated for what's new in sec1.tex, acknowledgements.tex

2017-05-19 P. Michaels <pm@cgiss.boisestate.edu>
* remove fixx.sh script that maximized permitted dimensions
* adjusted all dates to reflect current version, Fort and sublibF4 directories

2017-05-17 P. Michaels <pm@cgiss.boisestate.edu>
* edited bhelp.c adding Dispcurve.m and PseudoTime.m

2017-05-16 P. Michaels <pm@cgiss.boisestate.edu>
* new manpage for Dispcurve.m.7. DEBIAN/bsu.manpages, man/man7/Makefile.am
* updated. PseudoTime.m.7 man page created, update of PseudoTime.m file.

2017-05-15 P. Michaels <pm@cgiss.boisestate.edu>
* new manpage for saswv.m.7 update DEBIAN/bsu.manpages, man/man7/Makefile.am
* edit saswv.m  src/C/bsegy/bhelp.c add saswv.m and clarify difference between
* SASW.m and saswv.m programs (time domain vs frequency domain input data) 

2017-05-13 P. Michaels <pm@cgiss.boisestate.edu>
* new manpage for SASW.m.7, update DEBIAN/bsu.manpages, man/man7/Makefile.am
* improved SASW.m with recommendation on maximum trace spacing.

2017-05-12 P. Michaels <pm@cgiss.boisestate.edu>
* man pages for moho.m.7 composed, DEBIAN/bsu.manpages updated
* man pages for FwdR1.m.7

2017-05-11 P. Michaels <pm@cgiss.boisestate.edu>
* new man page delaytm.m.7 revision of delaytmR.m.7 direct.m.7 and update DEBIAN/bsu.manpages
* update src/C/bsegy/bhelp.c
* new man page rayleigh.m.7

2017-05-10 P. Michaels <pm@cgiss.boisestate.edu>
* new man page, delaytmR.m.7, and revised delaytmR.m to more correctly prompt
* for shot and receiver questions (ie. reciprocal shooting across a river)

2017-05-09 P. Michaels <pm@cgiss.boisestate.edu>
* created man pages for caplot3.m.7 and cafwd3.m.7
* edited cafwd3.m removed bugs
* DEBIAN/bsu.manpages updated

2017-05-08 P. Michaels <pm@cgiss.boisestate.edu>
* edited vfitw.m and vplot.m down-hole interval velocity programs
* created man pages vfitw.m.7 and vplot.m.7 and DEBIAN/bsu.manpages updated
* created seisazi.m.7 refplot.m.7 man pages
* created cainv3.m.7 man page

2017-05-06 P. Michaels <pm@cgiss.boisestate.edu>
* revised bhelp.c removed Scilab stuff, replaced with Octave/Matlab stuff
* added an axis statement in hodoplot.m and hodo2plot.m just before hold on
* command ---> axis([-1,1,-1,1])  
* added hodo2plot.m.7 man page

2017-05-05 P. Michaels <pm@cgiss.boisestate.edu>
* bsegin.m added geover argument output
* man pages for traplt.m.7, profplot.m.7 YuleWalker.m.7 added
* fixed input type GUI on YuleWalker.m, then changed capitalization to yulewalker.m
* added hodoplot.m.7 to man pages
* updated DEBIAN/bsu.manpages adding new (7) man pages above

2017-05-04 P. Michaels <pm@cgiss.boisestate.edu>
* created man7 (miscl) directory with Octave man pages
* Makefile.am in both man and man7, segyinfo.m.7 segpic.m.7 bsegout.m.7 and bsegin.m.7
* update traplt.m call for bsegin.m
* update configure.ac adding man/man7/Makefile to distribution
* add octave man7 content to DEBIAN/bsu.manpages

2017-05-03 P. Michaels <pm@cgiss.boisestate.edu>
* Man pages update bsegy.5 and c_bsegy.5

2017-05-02 P. Michaels <pm@cgiss.boisestate.edu>
* MingWBSU re-cross-compiled revised versions of: bagc.c ba2s.c bedt.f bfil.f
* bgar.c bmrg.f brsp.f bscl.f bsdc.f bvel.f picrestore.f seg2txt.f topbcrd.f
* Man Pages update for C-functions: 
*   bargrid.3 c_boxit.3 c_bsegin.3 c_bsegout.3 cr_labl.3 exbar.3 fcr_labl.3
*   findxyz.3 fmax_min.3 fnorm.3 hlp_labl.3 in_chk.3 lsqufit.3 mav.3
*   names.3 onepole.3
* Fortran Subroutine Man Pages:
*   agc.3 arma.3 bnoise.3 boxit.3 bsegin.3 bsegout.3 cfilt.3 chktrc.3 conv.3
*   conv2.3  cross.3  cshift.3 czero.3 demult.3 dot.3 drum.3 eureka.3 flist.3
*   fmed.3 fold.3 l2norm.3 nlogn.3 nrad2.3 pltbar.3 polar.3 randBSU.3 rect.3 
*   runif.3 runif.3 shape.3 tlist.3 vshft.3 xcor.3 xcor1.3 xmax.3  

2017-05-01 P. Michaels <pm@cgiss.boisestate.edu>
* added bar call to topbcrd.f updated man pages for top2dxf.1 top2nez.f topbcrd.1
* topcon.1 topcon2.1 traplt.1 waves.1

2017-04-30 P. Michaels <pm@cgiss.boisestate.edu>
* setgeom.1 man page updated

2017-04-29 P. Michaels <pm@cgiss.boisestate.edu>
* recoded picrestore.f for segpic.m Octave program output.  Updated man pages
* picrestore.1 and new pages for segpic.m.1 bsegin.m.1 and segyinfo.m.1  
* man/man1/Makefile.am added segpic.m.1 bsegin.m.1 segyinfo.m.1

2017-04-28 P. Michaels <pm@cgiss.boisestate.edu>
* Updated man pages, genref.1 gensetg.1 genvsp.1 genwav.1 halfsp.1 lamb.1 seg2csv.1

2017-04-26 P. Michaels <pm@cgiss.boisestate.edu>
* update man pages disper.1 caplot.1 cmst.1 egg2seg.1 genb2s.1 genbhod.1 genbhodV.1
* genbrot.1 gendis.1
* changed copyright dates in src/sublibC4/cr_labl.c src/sublibC4/fcr_labl.c 

2017-04-25 P. Michaels <pm@cgiss.boisestate.edu>
* fixed bvel.f for new extra argument in subroutine findxyz().  Updated man pages
* for bswp.1 btor.1 bvas.1 bvax.1 bvel.1 bvsp.1 bwht.1 bwin.1 bxcr.1 tplt.1 qplt.1

2017-04-24 P. Michaels <pm@cgiss.boisestate.edu>
* updated brsp.f (help text) bscl.f (divide by zero fix) bsdc.f (output file name)
* updated man pages: brpt.1 brsp.1 bscl.1 bsdc.1 bshf.1 bshp.1 bsrt.1 bstk.1 bsum.1

2017-04-21 P. Michaels <pm@cgiss.boisestate.edu>
* test and updated man pages brpt.1

2017-04-21 P. Michaels <pm@cgiss.boisestate.edu>
* updated man pages for boff.1 bpic.1 bplt.1 brdc.1 bred.1 bref.1 brev.1 brot.1

2017-04-20 P. Michaels <pm@cgiss.boisestate.edu>
* Man pages update bmrg.1 bmrk.1 bmst.1 bnez.1 bnfd.1 bnos.1, 
* code update bmrg.f -h help

2017-04-19 P. Michaels <pm@cgiss.boisestate.edu>
* minor code fixes bfil.f and bgar.c (text display when -h help)
* man pages edit, bext.1 bfil.1 bfit.1 bftr.1 bfxt.1bgar.1 bgaz.1 bhed.1 bhod.1
* bint.1 bis2seg.1 bkil.1 bmed.1 bmix.1

2017-04-18 P. Michaels <pm@cgiss.boisestate.edu>
* check codes, updated man pages for: bdat.1 bdcn.1 bdif.1 bdum.1 bdump.1 bedt.1
* bequ.1   bedt -h help for bedt.f with examples

2017-04-17 P. Michaels <pm@cgiss.boisestate.edu>
* bagc.c first sample set to zero on output (kill noise spike).  Man pages for
* babs.1 bagc.1 bamp.1 bbal.1 bcad.1 bcar.1 bcnv.1 bcrd.1 updated

2017-04-16 P. Michaels <pm@cgiss.boisestate.edu>
* changed seg2txt.f by dropping the terminating character option, and replace
* that with an option to list or not list an added column 1 with sample times
* changed ba2s.c by introducing new function to scan for first occurance of a 
* non-space character, permits irregular spacing of columns.  Possibly will add
* a non-space field separators, like comma or tab, but not right now.
* updated man1 pages for seg2txt.f and ba2s.c

2017-04-15 P. Michaels <pm@cgiss.boisestate.edu>
* seg2txt.f changed format to no space at beginning of records, f8.6 new format
* however, there will be spaces at the end after the last number in a record, and
* spaces between numbers.  If output from this program is read by ba2s.c, then
* spaces at end of a record become a problem.  Need to fix ba2s.c next

2017-04-11 P. Michaels <pm@cgiss.boisestate.edu>
* coded moho.m, inludes code to test for disper.oct, and build it, add to 
* other disper.oct dependent code (FwdR1.m, invR1.m, mastercurve.m, rayleigh.m)
* Update Makefile.am Changelog

2017-04-10 P. Michaels <pm@cgiss.boisestate.edu>
* coded saswv.m which processes a text file [freq,GxyVolt,GxyPhase,Coherence] columns
* Common Recevier Midpoint (CRMP) deployment 2 receivers from 1 source
* added sample data set dx32f.txt for use with saswv.m
* coded mastercurve.m (fundamental mode)
* updated Makefile.am and ChangeLog

2017-04-07 P. Michaels <pm@cgiss.boisestate.edu>
* finished coding SASW.m (two traces in same file), ChangeLog and Makefile.am

2017-04-06 P. Michaels <pm@cgiss.boisestate.edu>
* finished coding cafwd3.m 

2017-04-05 P. Michaels <pm@cgiss.boisestate.edu>
* seisazi.m coded, plots azimuth from header for a downhole survey,
* Makefile.am, ChangeLog updated, started coding cafwd3.m

2017-04-04 P. Michaels <pm@cgiss.boisestate.edu>
* coded delaytmR.m (reciprocal refraction for river crossings), updated Makefile.am
* and ChangeLog in top directory.

2017-04-03 P. Michaels <pm@cgiss.boisestate.edu>
* coded direct.m (direct wave analysis of bref files G001, D001, E001 when line is 001)
* returns plot and overburden velocity
* coded delaytm.m  (standard shot record inversion, multiple shots
* update Makefile.am in top directory

2017-04-02 P. Michaels <pm@cgiss.boisestate.edu>
* coded refplot.m (plot shot gather picks for refraction analysis, pick segments, 
* fit line, report velocity +/- 95 % confidence limits.

2017-03-30 P. Michaels <pm@cgiss.boisestate.edu>
* started coding refplot.m, power failure, development halted.

2017-03-29 P. Michaels <pm@cgiss.boisestate.edu>
* added title to hodoplot.m (downhole, single file)
* created hodo2plot.m (two files, surface data typical)

2017-03-28 P. Michaels <pm@cgiss.boisestate.edu>
* added hodoplot.m, plot hodogram from 2 signals in a single file, assumes
* downhole configuration: Downhole: 1,2,3 =vert,rad,tran Ref: 4,5,6 =vert,rad,tran

2017-03-27 P. Michaels <pm@cgiss.boisestate.edu>
* update Makefile.am in top dirctory, added new Octave programs traplt.m
* segpic.m and updated YuleWalker.m caplot3.m cainv3.m FwdR1.m invR1.m profplot.m

2017-02-17 P. Michaels <pm@cgiss.boisestate.edu>
* added cainv3.m and caplot3.m in Octave directory, update Makefile.am top
* fixed vfitw.m to work both with Octave and Matlab (replace fflush with drawnow)

2017-02-15 P. Michaels <pm@cgiss.boisestate.edu>
* build_disper.oct added to Octave directory, tool to build disper.oct

2017-02-14 P. Michaels <pm@cgiss.boisestate.edu>
* converted vplot.sci to  vplot.m and updated Makefile.am to include
* both vfitw.m and vplot.m in distribution

2017-02-14 P. Michaels <pm@cgiss.boisestate.edu>
* vfitw.m  converted from vfitw.sci, mouse pick segments of VSP first arrivals to
* result in interval velocities.  Next, vplot.m will replot results on any desired scale.

2017-02-11 P. Michaels <pm@cgiss.boisestate.edu>
* bvsp.f  added gnuplot output bvsp.gp and bvsp.ps
* man/man1/bvsp.1 man page update

2017-02-10 P. Michaels <pm@cgiss.boisestate.edu>
* src/libIBM/xdrfloa.c  changed return; /*zero*/ to return(0); required on MacOSX
* and return; to return(1); on problem cases.
* configure.ac edited for Darwin (MacOSX) operating system
* src/Fort/bsegy/Makefile.am updated for MacOSX, required -static for sublibF4 library
* since common /header/ instantiated in a shared library does not transfer to main program
* traplt.f format edited for DELT= using F7.5 format, fixes premature roundoff with F6.4
* src/C/bsegy/Makefile.am updated for MacOSX adding include directory for fink (/sw/include)
* which is required for lamb.c, gsl header file.
*Darwin mbp 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016;
* root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64


2017-02-06 P. Michaels <pm@cgiss.boisestate.edu>
*bplt.c increased dimensions on XL in genplotA genplotAL (overflow)
*setgeom.c strcpy(hd.lineid,"001"); strcpy(hd.geoor,"vrt"); instead of 0001 and vert
* to avoid overflow of 4 characters with the "0" end of string due to using strcpy
* seg2csv.c another overflow with msg1[56], msg2[56] line 256 fixes dimension

2017-02-02 P. Michaels <pm@cgiss.boisestate.edu>
* caplot.F90  bhod.F90  bvax.F90  bvas.F90  bamx.F90  bamp.F90, dropped the
* unneeded external definitions
* bhod.F90 changed dimensions from mdim to npts (as in bamx.F90 and bamp.F90
* yesterday, double precision in PLPLOT subroutine.
* Result is Post Script file size goes from 13MB to 55KB.
* bplt.c bgaz.c bgar.c bfit.c changed include for plplot, "plplot/plplot.h" changed
* to "plplot.h" for example since include -I from pkg-config now is /usr/include/plplot/plplot.h
* The redundant plplot did not seem to matter on Debian, but did on a Redhat Enterprise

2017-01-02 P. Michaels <pm@cgiss.boisestate.edu>
* bplt.c changed option 3 from jpeg to jpg.
*
* configure.ac major revision to get to work with ARCH linux.  Problem is that
* plplot built using cmake (not a package) and installed in /usr/local tree.
* When the build directory (for example /usr/local/src/plplot is retained on the
* system, locate command returns multiple instances of some files like the pkg-config
* files, plplot.pc plplot-f95.c etc....
* So used gawk in a pipe to look for first occurances of important configuration files.
* Key variable definitions evident in the config.log file (Output variables) are 
* PCP and PKG_CONFIG_PATH which if not defined indicates this type of problem.
*
* bamx.F90 and bamp.F90, change aplot and aplot2 subroutines, double precision variables
* dimension needs to match single precision, change mdim to npts.  REASON: well plplot
* revisions now have an implied loop in functions like plline() and plpoin().  These
* functions assume that all points will be plotted, no longer controlled from outside.

2017-30-01 P. Michaels <pm@cgiss.boisestate.edu>
* configure.ac changed default to configure with GNUPLOT instead of PLPLOT
* --with-plplotlib option required for PLPLOT.  Added check for gnuplot binary
* in /usr/bin/gnuplot.  If not there, issue warning to make sure in path or install.

2017-29-01 P. Michaels <pm@cgiss.boisestate.edu>
* bvsp.1 man page updated for Octave instead of Scilab output file.
* changed some order of events in configure.ac so that plplot stuff together

2017-28-01 P. Michaels <pm@cgiss.boisestate.edu>
* Added a custom LAPACK library so that -all-static bhod.F90 and bvsp.f would compile
* If not static, then use the shared libraries on the system.  The only other blas/lapack
* dependencies is the C-code lamb.c, and that still uses whatever the system has installed.
* converted bvsp.f to output Octave *.m file instead of *.sci Scilab

2017-24-01 P. Michaels <pm@cgiss.boisestate.edu>
* Makefile.am updates to add STATICFLAG to disper, waves, !PLPLOT cases C and Fort

2017-24-01 P. Michaels <pm@cgiss.boisestate.edu>
* configure.ac add a test to see if plplot.pc present, if not, then likely that
* plplot is not installed.  AC message to either configure --without-plplotlib or
* install plplot packages which will include a plplot.pc file somewhere.
* The test is for an empty $PKG_CONFIG_PATH variable.

2017-23-01 P. Michaels <pm@cgiss.boisestate.edu>
* converted genwav.f and waves.f to genwav.F90 and waves.F90
* updated Makefile.am This permits conditional compile for MS Windows
* issues are different end of record consequences with namelists and
* CR/LF convention in windows.  

2017-22-01 P. Michaels <pm@cgiss.boisestate.edu>
* gendis.f  change namelist so no variable without a number on same line, ex. mu= \n then 
* numbers not good.  Need numbers on same line as mu=  
* will have to fix disper this way also when generates earth.crv. 
* Fortran:  Use $ to supress linefeed.
* Problem is that cross compiled output in DOS convention (cr, lf) does not work well
* with namelists 

2017-18-01 P. Michaels <pm@cgiss.boisestate.edu>
* bamx.F90 add gnuplot option, update Makefile.am and man/man1/bamx.1

2017-18-01 P. Michaels <pm@cgiss.boisestate.edu>
* caplot.F90 updated to include GNUPLOT option as alternative to PLPLOT
* man/man1/caplot.1 updated

2017-16-01 P. Michaels <pm@cgiss.boisestate.edu>
*  bvas.F90, bvax.F90, man1/bvas.1 man1/bvax.1 man pages updated to match new
*  versions of the programs bvas and bvax

2017-16-01 P. Michaels <pm@cgiss.boisestate.edu>
* bvax.F90  Added more GNUPLOT file generation, dropped Octave file generation.

2017-14-01 P. Michaels <pm@cgiss.boisestate.edu>
* bhod.F90 Postscript output changed to JPEG for -DWIN compile, 
* Micro$oft does not do Postscript well, and some viewers, like Rampant's are buggy.
* bvax.F90 added GNUPLOT option, changed names of Octave generated files

2017-13-01 P. Michaels <pm@cgiss.boisestate.edu>
* bhod.F90 converting to GNUPLOT option, ghodplt() subroutine

2017-12-01 P. Michaels <pm@cgiss.boisestate.edu>
* bamp.F90 converting to GNUPLOT option, gaplot and gaplot2 subroutines add

2017-11-01 P. Michaels <pm@cgiss.boisestate.edu>
* bvas.F90 finished conversion to GNUPLOT option, gvplot subroutine.
* to compile with GNUPLOT, configure --without-plplotlib
* GNUPLOT version works for both gnuplot versions 4 and 5 at this time

2017-10-01 P. Michaels <pm@cgiss.boisestate.edu>
* bvas.F90 converted summary plot to include GNUPLOT alternative
* Makefile.am in Fort/bsegy adds sublibC to LDADD to make sure compiled

2017-09-01 P. Michaels <pm@cgiss.boisestate.edu>
* added sublibC directory with mixed Fortran/C-language library

2017-08-01 P. Michaels <pm@cgiss.boisestate.edu>
* bplt.c finished upgrade to gnuplot, added zoom for x11 (idev=0)
* bplt.c changed PLPLOT version idev=4 to PDF (now matches GNUPLOT version)

2017-07-01 P. Michaels <pm@cgiss.boisestate.edu>
* bplt.c added idev options for gnuplot case
* bplt.c added orientation (tm,y)=landscape (y,tm)=portrait

2017-06-01 P. Michaels <pm@cgiss.boisestate.edu>
* bplt.c added itype options for gnuplot case

2017-05-01 P. Michaels <pm@cgiss.boisestate.edu>
* bplt.c added styles to gnuplot version, using gnuplot5 double plot each trace
* so that can do style 2 (grey trough, solid black peaks). No test for gnuplot5
* is required in compile, it is the default approach and the alternative to PLPLOT
* Makefile.am in src/C/bsegy corrected for PLPLOT vs GNUPLOT compiles.

2017-02-01 P. Michaels <pm@cgiss.boisestate.edu>
* bfit.c, updated to include gnuplot option for compile.  
* Makefile.am in src/C/bsegy updated for bfit, bgar, bgaz

2017-02-01 P. Michaels <pm@cgiss.boisestate.edu>
* bgar.c, updated to include gnuplot option for compile.  Default set to
* use plplot.  Configure with ./configure --without-plplotlib if want gnuplot.

2017-01-01 P. Michaels <pm@cgiss.boisestate.edu>
* bgaz.c, configure.ac, Makefile.am in src/C/bsegy updated to permit new
* option in configuration (configure --with-plplotlib will use plplot libraries
* for this program, bgaz.c)  Simple configure will switch compile to gnuplot
* pipe.  The goal here is to avoid building plplot in MingW.  Gnuplot is already
* a binary package on MS Windows.

2016-30-12 P. Michaels <pm@cgiss.boisestate.edu>
* topcon2.c changed format on pointer printing (line 911) to not long,
* matches declaration

2016-30-12 P. Michaels <pm@cgiss.boisestate.edu>
* bhelp.c removed paging

2016-30-12 P. Michaels <pm@cgiss.boisestate.edu>
* bswp.c comment out unused variables.  Lines 80,83,85,88,143,395
* jt, nptshd, ntraceshd, fsamin, dst, j4, and format %ld to %d fprintf(h3....

2016-30-12 P. Michaels <pm@cgiss.boisestate.edu>
* ba2s.c comment out unused variables, jt, fsamin, scrs[5], j, idsfc, nchan,
* delayt, gidba, nvsa, LF, chr.  Changed formt %f to %d scanf line 375

2016-30-12 P. Michaels <pm@cgiss.boisestate.edu>
* lamb.c removed unused variables.  Lines 140, 145, 217, 945, 971 
* variables jt, hd1[], c, 

2016-30-12 P. Michaels <pm@cgiss.boisestate.edu>
* egg2seg.c line 592 fprintf(h3...  changed format from %#lX to %#X (to agree with 
unsigned integer trptr[j] (not long unsigned integer)

2016-30-12 P. Michaels <pm@cgiss.boisestate.edu>
* gensetg.c commented out unused variable int count

2016-29-12 P. Michaels <pm@cgiss.boisestate.edu>
* bnez.c commented out unused variables and added a few prototypes 
* extracted from the sub4 include.  This program does not read traces
* so not all of the sub4 include was required.

2016-28-12 P. Michaels <pm@cgiss.boisestate.edu>
* bcnv.c commented out unused variables: ebcbuf, *pipefp, j4
* see lines 997, 1000, 1960, 2094 
* changed "int" to "long int" variable fpos declaration, this 
* makes for agreement with fprintf to h3 format
* see lines 1609 and 1722

2016-28-12 P. Michaels <pm@cgiss.boisestate.edu>
* setgeom.c commented out nchanls variable (not used) lines 114,115 and 189

2016-18-12 P. Michaels <pm@cgiss.boisestate.edu>
* bcnv.c replaced system calls of dd to convert ascii or ebcdic with calls
* to a2e.c or e2a.c in sublibC4 (and added those as well, updated Makefile.am)

2016-16-12 P. Michaels <pm@cgiss.boisestate.edu>
* bvsp.f added initializtion loop for npg() variable (win32 compile required this)

2016-13-12 P. Michaels <pm@cgiss.boisestate.edu>
* seg2csv.c output file names redone according to pattern

2016-12-12 P. Michaels <pm@cgiss.boisestate.edu>
*tplt.c changed output to gnuplot to a %E format rather than %f (problem is that
* small signal amplitudes fail to plot with roundoff on %f format.

2016-12-08 P. Michaels <pm@cgiss.boisestate.edu>
*On slackware, one builds plplot and installs libraries and *.pc configuration files.
*This will result in more than one instance of plplot*.pc files if source not erased.
*configure.ac tests to see if we have a 5.10 or 5.11 version (or later) of plplot
*with a locate command filling a variable PLPPFX (prefix either plplotd or plplot, see
* 4/24/16 below).  So we now limit this to first occurance using NR<2 in the first gawk.

2016-10-24 P. Michaels <pm@cgiss.boisestate.edu>
* bhelp.c  updated with grid of contents

2016-08-16 P. Michaels <pm@cgiss.boisestate.edu>
* egg2seg.c and topcon2.seg both read seg2 data format.  Changed definition of header
* hd.tday so that agrees with bison results on bis2seg.c conversions to *.seg files.
* Change is from hd.tday=day_of_year to hd.tday=month_day as integers.  Thus, April 17, 2001
* becomes hd.tday=0417 instead of hd.tday=0107 (107th day of year)
* Also changed month2num() function to recognize Apr as well as APR (upper/lower case)
* since the EGG Geometrics uses APR for April, and the Geometrics GEODE seismograph
* uses Apr

2016-08-15 P. Michaels <pm@cgiss.boisestate.edu>
* brpt.c  new program added to remove pretrigger from both data and header hd.ictime
* added brpt.1 man page and updated bhelp

2016-07-08 P. Michaels <pm@cgiss.boisestate.edu>
* bmrg.f  added help on pfix length (bmrg -h) updated
* man page for bmrg updated

2016-07-05 P. Michaels <pm@cgiss.boisestate.edu>
* genbhodV.f fixed file number so not reset to 1 but uses ifrst

2016-06-23 P. Michaels <pm@cgiss.boisestate.edu>
* bcad.f Added more comand line parameters to match those in top2dxf.f program.
* These include print label switch and text size of labels if labels required.

2016-06-09 P. Michaels <pm@cgiss.boisestate.edu>
* Complete Gnuplot 4 vs 5 solution
* Made needed changes to qplt.c for solution below, configure --with-gnuplot5
* Added title showing that qplt image is rescaled by max(abs) of trace values
* Changed output file or pipe to only include data to be plotted (nptsplt variable new)

2016-05-14 P. Michaels <pm@cgiss.boisestate.edu>
* Gnuplot5 is buggy! Programs tplt.c and qplt.c will not produce the desired result
* in Gnuplot5, but work great with Gnuplot4.  So an alternative version, is required.
* Run gnuplot and compare these 3 alternative commands to understand the problem:
* plot "+" u 1:(sin($1)) w filledc above y1=0
* plot "+" u 1:(sin($1)):(0) w filledc above
* plot "+" u 1:(sin($1)):(0) w filledc above, '' u 1:(sin($1)) w l
* The first command works in gnuplot 4                        
* The third command works in gnuplot 4 or 5                   
* The second command does not plot the curve below y1=0       
* SOLUTION:  configure  --with-gnuplot5  <==use this command option
* Only tplt.c fixed, need to fix qplt.c next

2016-04-24 P. Michaels <pm@cgiss.boisestate.edu>
* PLPLOT FIXES updated configure.ac file and src/C/bsegy/Makefile.am for changes in PLPLOT
* (going from version 5.10 to 5.11 a number of backwards-incompatible changes in the API by PLPLOT 
* developers.  Specifically, the pkg-config files go from plplotd.pc ==> plplot.pc (etc...)
* where the "d" used to stand for double precision, but now is dropped, and it is double
* precision without the "d".  Also, more places to look for things.  Most Linux distributions
* are not "multi-arch" in the Debian way, so added /usr/lib64 to the possible locations for
* gfortran library "libgfortran.so.3" and the pkg-config file plplot-f95.pc or plplotd-f95.pc
* using new AM_CONDITIONAL and variable definitions with locate and gawk
* SOLUTION: configure --with-plplot-old (if you have 5.10 version or older)
*           configure                   (if you have 5.11 version or newer)

2016-02-27 P. Michaels <pm@cgiss.boisestate.edu>
* seg2csv.c coded up to create a BSEGY to CSV (comma separated value) file.

2015-10-31 P. Michaels <pm@cgiss.boisestate.edu>
*  bis2seg.c Fixed Hartmann version.  Problem was the four 4 bit exponents encoded
* in a 16 bit unsigned integer.  Each 4 bit part reinterpreted as a signed 4 bit
* integer by using a test (if > 7, then decode as negative using two's complement
* assumption.  For 4 bit values >7 subtract 1 and then complement.  This is done
* on a value that has been cast as a signed character.  Result is that 4 bit exponent
* will be -8<= exponent <=7.  This got rid of the spikes that had been appearing in
* the 20 bit float case.

2015-10-25 P. Michaels <pm@cgiss.boisestate.edu>
*  bis2seg.c edited to add Jens Hartmann 20bit float decode CWP Third Party
*  fixed write s2 for different types of void array s2
*  bis2segV1.c added with Hartmann's original 20bit, for historical record as alternative

2015-07-21 P. Michaels <pm@cgiss.boisestate.edu>
*  bcnv.c and bswp.c  fixed for loops where j=j++ to correct syntax j++
*  bcnv.c fixed command in pipe for ebcdic, dd now has cbs=3200 instead of 80

2015-05-19 P. Michaels <pm@cgiss.boisestate.edu>
*  bvax.f  bvas.f  bhod.f  bamp.f  bamx.f converted to Fortran f90 because of plplot
*  no longer supporting g77 (plplot 5.10 and above, for g77 use plplot 5.9)
*  At this time, Ubuntu is plplot5.10, and Debian Wheezy is plplot5.9, so this 
*  package of BSU is numbered bsu-2.0.3 (use bsu-2.0.2 for g77 version)
*  Also, new include added bsegy.f90 as an include version of bsegy.inc
*  bplt.c  bgaz.c  bgar.c  bfit.c converted to plplot5.10 function calls, plwid(int)
*  becomes plwidth(float)
*  Also, added fixcon source from
*     http://people.sc.fsu.edu/~jburkardt/f_src/fixcon/fixcon.html
*  which is a slick GPL licensed code written in f90 to convert g77 to f90.  Written by
*  John Burkardt at Florida State Univ. 

2014-05-10 P. Michaels <pm@cgiss.boisestate.edu>
*  added bamx.c to help (bhelp.c)   

2014-04-27 P. Michaels <pm@cgiss.boisestate.edu>
*  changed plots to either Octave/Matlab or Scilab, no maple, genwav.f and waves.f  

2014-04-24 P. Michaels <pm@cgiss.boisestate.edu>
*  port 32bit to 64bit changes.  waves.f (dimension irz() --> integer*2 irz()  
*                                waves.f  some int() converted to int2() functions         
*                                genwav.f returned to nrec multiplier for ry() and rz()
*                                configure.in added 64 fortran shared library

2013-06-05 P. Michaels <pm@cgiss.boisestate.edu>
*  removed YuleWalker2.m and replaced with YuleWalker.m (handles autoxx or signal input)
*  moved octave scripts into /usr/share/octave/site-m

2013-05-31 P. Michaels <pm@cgiss.boisestate.edu>
*  changed interpolation in invR1.m to test l1>=nlay from l1>nlay

2013-05-29 P. Michaels <pm@cgiss.boisestate.edu>
*  added script sci2gp to convert matc.sci and matu.sci scripts generated
by waves.f to format for gnuplot input

2013-04-29 P. Michaels <pm@cgiss.boisestate.edu>
*   added to Octave plotbvaxsemb.gnu plotbvax.gnu PseudoTime.m howto.txt wrapper.cpp rwv.f rayleigh.m invR1.m

2013-04-29 P. Michaels <pm@cgiss.boisestate.edu>
* fixed minor issue with semblance computation, bvax.f, bvas.f

2013-04-09 P. Michaels <pm@cgiss.boisestate.edu>
* add Octave directory
* in Octave, add segyinfo.m bsegin.m YuleWalker2.m profplot.m 

2013-03-19 P. Michaels <pm@cgiss.boisestate.edu>
* bvax.f     Added gnuplot and octave script generation

2013-03-11 P. Michaels <pm@cgiss.boisestate.edu>
* bhed.f     Changed type for variables sp and vp to character*4, matches other software
* egg2seg.c  Changed rrrr phone vp number to channel number +1

2012-01-09 P. Michaels <pm@cgiss.boisestate.edu>
* bref.f     Move shot=recv constraints to end of system and data files       
*            This prevents problems plotting data fit with delaytm.sci
*            by creating unbroken pattern of shot columns

2012-31-07 P. Michaels <pm@cgiss.boisestate.edu>
* bvax.f     Added a scale factor, SF, to rename output files in 1/10 Hz units
* bvas.f     Added a scale factor, SF, to rename output files in 1/10 Hz units

2012-09-07 P. Michaels <pm@cgiss.boisestate.edu>
* top2dxf.f  Increased dimensions from 1000 to 10000

2012-04-07 P. Michaels <pm@cgiss.boisestate.edu>
* topcon2.c  change key8 for Geode version of key word in SEG2 for ofrn (field record number)
* bkil.f     change maximum number of traces can kill in array from 99 to 500
* bhod.f     fixed plot to double precision r,t to x,y

2012-02-07 P. Michaels <pm@cgiss.boisestate.edu>
* fixed topcon2.c for larger VSP's with 4 digit labels (lines 1288 and 1301) &label[2]<==new

2012-23-06 P. Michaels <pm@cgiss.boisestate.edu>
* Replaced integer type cast long (lines 302-307) with int in setgeom.c (for 64 bit compatibility)
* Added hd.lineid, hd.geoor, hd.geover=180, hd.geoazi=0, hd.shtazi=0, hd.shtver=180 to setgeom.c

2012-22-05 P. Michaels <pm@cgiss.boisestate.edu>
* Replaced integer types long with int in egg2seg.c and topcon2.c (for 64 bit compatibility)
* bmrg.f fixed names of output files

2012-23-01 P. Michaels <pm@cgiss.boisestate.edu>
* Increased trace dimensions to maximum permitted by 16bit int = 32767
* Introduced oversampling on lamb.c to avoid amplitude instability due to Rayleigh pole sampling
* Added some input parameter checks on lamb.c to avoid aliasing or excessivly long traces 

2011-22-11 P. Michaels <pm@cgiss.boisestate.edu>
*  changes to configure.in added AC_PROG_F77([gfortran ]) and AC_CONFIG_MACRO_DIR([m4])
*  changes to Makefile.am added ACLOCAL_AMFLAGS= -I m4
*  changes to Fortran codes, increased array length to maximum permitted by 16 bit int (ndim=32767)

2010-07-11 P. Michaels <pm@cgiss.boisestate.edu>

* new program bamx.f computes amplitude decay with offset for surface waves
* Scilab linkable rwv.f computes dispersion curves 
* added scilab programs for surface waves
* changes to disper.f, waves.f 
* bbox.c renamed bcar.c to avoid name clash with ps2eps program bbox
* bug fixes and reprogram bcnv.c to comply with SEGY, EBCDIC reel header and IBM floats
* added bswp.c (byte swapping program to toggle between little and big endian)
* updated documentation: bsu-user-guide2.pdf and bsu-html.tar.gz
* added new library, libIBM under C-language source for bcnv.c, IBM<==>IEEE floats
* updated bcnv man page, added bswp man page

2009-10-10 P. Michaels <pm@cgiss.boisestate.edu>

* close(iunit1) before changing RECL (g77 permits, not permitted gfortran) on 
* bvax.f bamp.f bvas.f

2009-10-08 P. Michaels <pm@cgiss.boisestate.edu>

* added program bnez.c, generates a survey *.nez file from a parameter description
* added hd.ofrn header in setgeom.c program, copied from SP label to integer.
 
2009-10-04 P. Michaels <pm@cgiss.boisestate.edu>

* added program ba2s.c, converts ascii text to bsegy format

2009-09-17 P. Michaels <pm@cgiss.boisestate.edu>

* Fix applied to bplt.c, corrects occasional plotting of traces outside the box.

2009-02-02 P. Michaels <pm@cgiss.boisestate.edu>

* Version 2.0.0 in 2009, conversion to autoconf, automake, and libtool
TARBALL format
