6/28/89 - J.R. - ADCPSECT.C & ADCPSECT.CNT
                 changed prompt 'option list' to 'option_list'
                 to work with modified version of \codas3\ioserv\param.c
                 otherwise produces option list scanning error & program exit
7/28/89 - J.R. - ADCPSECT.EXE
                 recompiled to use updated libraries
8/16/89 - J.R. - ADCPSECT.EXE
                 recompiled to use updated library DB_L.LIB
8/31/89 - J.R. - CODAS3\ADCPSECT files moved to new subdirectory
                 CODAS3\ADCP\ADCPSECT.
               - Modified *.C files to find ADCP.H from new location.
9/05/89 - J.R. - Recompiled ADCPSECT.EXE to check modifications.
9/08/89 - J.R. - ADCPSECT.CNT, ADCPSECT.C:
                 Put underscore to connect control file parameters
                 consisting of two or more words.
                 Recompiled ADCPSECT.EXE.
10/12/89- J.R. - *.C, ADCPSECT.BAT updated due to renaming of NAVREF subdir
                 to NAV
11/03/89- J.R. - SHIPREF.C updated to remove rescaling of bottom track
                 velocities to m/s (already done during loading)
                 ADCPSECT.EXE recompiled
12/28/89- J.R. - ADCPSECT.C commented out declaration & initialization of
                 time global variables -- not really needed and
                 machine-dependent -- causing problems on Sun
01/23/90- J.R. - ADCPSECT.C & FLUX.C changed time range variable name from
                 'end' to 'end_time' because of problems on the Sun
-------------------------------------------------------------------------------
08/16/90 - JR - adcpsect.h, adcpsect.c, adcpsect.cnt:
                modified to use PROFILE_FLAGS variable with flag_mask option
                to screen velocities
              - adcpsect.c:
                moved call to select_good_velocity() before call to
                get_ship_velocity()
12/21/90 - JR - ctd.c:
                fixed bug in call to DIFTIM (last arg passed by value,
                not reference)
01/03/91 - JR - ctd.h:
                increased NPMAX from 250 to 512 (to accommodate CTD data
                averaged at higher resolution)
02/12/91 - JR - adcpsect.c:
                modified such that flag_mask defaults to ALL_BITS
                rather than NO_BITS if not specified as an option
                in the control file
02/19/91 - JR - adcpsect.c:
                moved new_extension() to ioserv/new_ext.c
02/23/91 - JR - adcpsect.c:
                modified test of get_code() result (BADINT instead of -1)
03/04/91 - JR - adcpsect.c & shipref.c:
                changed test of execute_options result from !0 to <= 0
03/05/91 - EF - flux.c:
                added a transport direction option "along"
                which results in the line integral along the ship track
                being calculated: udx+vdy.
03/08/91 - JR - adcpsect.c:
                changed definition of SHIP_HEADING from
                anc1.mn_heading to anc2.last_heading because former
                has no useful values
09/24/91 - JR - adcpsect.c:
                changed definition of SHIP_HEADING to anc1.mn_heading if
                nonzero (for databases loaded after 9/13/91 correction to
                loadping); else use anc2.last_heading as above
11/18/91 - JR - adcpsect.c:
		saved all mat-file variables as double or text
		to make mat-files easily portable
07/28/92 - FB - ctd.c, vgrid.c, ctd.h, adcpsect.h
                added option SIGMA_T to CTD module of adcpsect
05/05/93 - JR - adcpsect.c:
		added extra condition for checking flag mask
		(p->nu > 0) before calling check_dbget(PROFILE_FLAGS,...);
		program can crash in the case where access.last_good_bin
		has been set to -1 (the -1 gets interpreted as a large
		unsigned int, and DBGET resets the value to the actual
		n available from the database, so p->nu changes). 
09/01/93 - JR - adcpsect.h:
		increased NDMAX from 64 to 129 so it would work for
		the TT9306 cruise (bin length = 4m, nbins = 120)
02/03/94 - JR - adcpsect.c:
		fixed bug that retrieved one less bin of profile flags
		than was needed, so that bin flagging based on profile flags
		criterion was being ignored for the very last good bin.
02/10/94 - JR - fixed problem that appears when using the ctd option AND
		some CTD stations are shallower than the ADCP:
		this would cause a lot of ensembles to entirely drop out in the output
              - adcpsect.c increment_ensembles():
		added ff. line:  adcp.nu = min_val(adcp.nu, adcp.nd)
		after call to correct_depths if use_ctd; this ensures that
		program does not process any deeper than the current
		CTD station in use;
              - ctd.c correct_depths():
		added static variable nd_ctd which saves the no. of usable
		CTD depths from the last station processed so that when
		it is reused for subsequent ensembles, only those depths
		will be processed
08/15/94 - PC - adcpsect.c:
		added ascii: output option, which yields an ASCII file .sub
		with columns time (decimal days), lon, lat, and pairs of U and V
		for each depth layer in the user-specified grid, one line for
		each time range in the list.  Bad U/V values are encoded as 99999
		(i.e., where data are not available or are insufficient = less
		than minimum_percent specification).  Missing positions are
		encoded as 1E38.
12/07/94 - PC - adcpsect.c:
		added stats on mean transducer temperature and ship velocity
		under ascii: output option
95/03/19 - EF - shipref.c:
      changed p->nu to p->nu - 1 in two places, to fix a bug in
      the reference layer velocity calculation.  The bug caused
      the reference layer to include one bin below the bottom
      of the good data range. For example, if
      access.last_good_bin was 4 and the reference layer was
      bins 5 to 20, the reference layer velocity would be
      output as the velocity in bin 5.

