

     EP3-94-MB
     NOAA Ship Malcolm Baldrige
     Rodman, Panama - San Diego
     August 4 - 27, 1994

     Chief Scientist: L. Mangum
     Survey Department: CST Sweeney, Lamire, Zaragoza
     CTD Personnel: L. Mangum
     Final Processing: M. Swapp and K. McTaggart


     ACQUISITION:

     A total of 26 CTD casts were taken along 95W and 110W during leg 1 
     of the fall EPOCS cruise using PMEL Neil Brown CTD s/n 1114 and 
     12-bottle rosette sampling package.  The majority of casts were to a 
     depth of 1000 meters.  Typically 12 bottles were fired on each cast and 
     salinity samples were taken for calibration checks of the NBIS CTD.  
     Survey department personnel under the supervision of Linda Mangum were 
     responsible for preparing the CTD, all data acquisition, collection of 
     water samples, and analyzing the samples for salinity using the ship's 
     Autosal.  

     The CTD data were acquired using the ship's LOGGER software.  Audio 
     backups were made on VCR tapes.  Raw CTD data were transferred from the 
     acquisition microVAX to the processing microVAX where PMEL programs 
     reduced the data for analysis.  Final calibrations were determined at 
     PMEL after the cruise.  

     Cast 11 was aborted because the printouts showed the rosette firing
     bottles during the downcast.  

     CONDUCTIVITY CALIBRATIONS:

     CALIB.DAT precruise calibrations for PMEL CTD 1114:

     1114    6  380
     -0.13418  0.9992288  0.398032E-7   0.143853E-10    P DN  S/N 1114  JUL 94
     -0.82380  0.9979059  0.523471E-6  -0.285092E-10    P UP  S/N 1114  JUL 94
     -0.00301  1.0001160  0.000000E-6   0.000000E-10    T 68  S/N 1114  JUL 94
     -0.00558  1.0001040  0.000000E-6   0.000000E-10    C     S/N 1112  JUL 94
     
     Post-cruise, files were restored to the VAX computer system at PMEL
     from Exabyte 8mm tapes.  The .CAL file was created on the ship using
     CALDSK which takes the CTD values from those written on the cast logs
     during acquisition and not from the READER listings.  The .CAL file
     was proofed, typos corrected, and put into the latest format compatible
     with WOCE modified programs at the lab.  LINCALW.FOR, CALMSTRW.FOR, 
     CALMCONW.PPC, and CALMDEEPW.PPC were used to find the best calibrations 
     to apply to this data set.  

     Final calibrations applied were from an overall fit of all bottles
     (casts 1 and 2 collected no samples owing to a rosette error):

		         A0 = -0.5760980E-03
        		 A1 =  0.9977739E+00
        		 max residual = -0.0254
    			 std error = 0.0102 (6/197 discarded in 3 reps)


     CONDUCTIVITY CALIBRATION PROGRAMS & PPLUS COMMAND FILES:

     CALDSKW - creates .CAL uncalibrated data file on SCS system
     CALMSTRW - inputs .CAL uncalibrated data file
              - outputs .CLB calibrated data file (from .COM), and
                .SEA calibrated WOCE data file (edit quality bytes)
     LINCALW - inputs .CAL uncalibrated data file (may be broken into 
               groups), applies a linear fit to the data and throws out
               any points greater than 2.8 times the standard deviation,
               iterates through the program until no points are thrown out
	       outputs .COEF file containing linear fit coefficients and
	       .LOG file of fit iterations 
     CALMCONW.PPC - reads .CLB calibrated bottle data file and makes five
                    separate scatter plots: P, T, C, S, and cast number vs. 
                    delta-C (CTD-bottle).  These are examined for cast
                    breaks and drifts in the CTD.
     CALMDEEPW.PPC - reads .CLB calibrated bottle data file and makes two
                     separate scatter plots: CTD salinity and bottle salinity
                     vs. potential temperature from theta=0.6 to 2.2 C.
     DEEPCTD.PPC - reads .CTD EPIC pointer file and .BOT EPIC pointer file 
                   of deep casts only and overplots the bottle salinity 
	           data and CTD salintiy trace from theta=.8 to 2.4 C for 
	           each deep cast.


     PROCESSING: 

     Raw data files were restored from Exabyte 8mm tapes to the VAX at PMEL.  
     Standard processing programs for the Baldrige with default parameters
     were used to reduce these data.  

     Post-cruise calibrations included 1) an overall linear fit applied to all 
     casts.  2) Salinity offsets were determined using deep (i.e. 1000 db) 
     theta-S plots and applied using program EPCTDW_OFF:

	        if (ncast.eq.001) soffset = 0.025
	        if (ncast.eq.002) soffset = 0.025
	        if (ncast.eq.003) soffset = 0.025
	        if (ncast.eq.004) soffset = -.015
	        if (ncast.eq.006) soffset = 0.024
	        if (ncast.eq.007) soffset = 0.024
	        if (ncast.eq.009) soffset = 0.008
	        if (ncast.eq.010) soffset = 0.008
	        if (ncast.eq.012) soffset = 0.002
	        if (ncast.eq.013) soffset = -.021
	        if (ncast.eq.014) soffset = -.021
	        if (ncast.eq.015) soffset = 0.016
	        if (ncast.eq.016) soffset = 0.025
	        if (ncast.eq.017) soffset = -.025
	        if (ncast.eq.018) soffset = -.010
	        if (ncast.eq.019) soffset = 0.005
	        if (ncast.eq.020) soffset = 0.029
	        if (ncast.eq.021) soffset = 0.005
	        if (ncast.eq.022) soffset = 0.003
	        if (ncast.eq.023) soffset = 0.012
	        if (ncast.eq.024) soffset = -.020
	        if (ncast.eq.026) soffset = 0.010
		DATA(3,L)=SAL78(C/42.914,DATA(2,L),DATA(1,L),0)
		data(3,l)=data(3,l) + soffset

     Cruise bottle data were compared to and fell within historical bottle data
     for each line.  3) As a check of the final calibrations, salinity profiles
     were overplotted line by line.  

     Final CTD and bottle files were moved to DISK$HAYES and included in the
     RIM data management tables on December 18, 1995.

     DPDNB - inputs EG&G .EDT raw data file
           - outputs .DPZ binary file including computed fall rates and
             .RECZ ASCII file to choose downcast record range from
     DLAGB - inputs .DPZ binary file, applies precruise calibrations from 
             CALIB.DAT, edits data for window outliers (according to 
             WINDOW.DAT) and first differencing outliers, fills gaps by
             linear interpolation, lags conductivity, edits data exceeding
             fall rate criteria (according to .INP created by DLAGAVZ.COM;
             default minimum fall rate acceptable is .8 db/60 scans (25
             meters per minute) and pressure interval of 1.5 db; doesn't 
             fill these gaps), computes 1-meter averages, and applies cell 
             dependence to final conductivity values
           - outputs CTDERR.DAT file of outlier flags, interpolated values,
             and fall rate criteria failures, and an ASCII .CTD data file
             including computed salinity
     EPCTDW - inputs .CTD calibrated P, T, OXC, OXT, and raw conductivity;
              applies any additional P and T cals (in EPCTDW_SHIP.COM),
              corrects raw C for cell factor, and applies C cals from
              EPCTDW_SHIP.COM; computes salinity; deals with oxygen if 
              there was a sensor; option to eliminate 1-point spikes 
	      according to the gradients hardwired into the source code
	      NOT used by default; omits any values for manual despiking; 
	      fills by linear interpolation for a value to exist every whole 
	      meter; recomputes C from S; and calculates other EPIC variables.
            - outputs final .CTD data file in EPIC format, and a .LOG
              file listing editted and filled data points 
     EPICBOMSTRW - inputs .CLB calibrated bottle data file and
                   .CTD EPIC data files (for header information)
                 - outputs .BOT bottle data files in EPIC format
     TSPLTEP.PPC - reads .CTD EPIC pointer file and .BOT EPIC pointer file
                   and overplots full water column bottle salinity and CTD 
                   trace as well as sigma-t lines (from SIGMAT.DAT). Use
	           TSPLTB.PPC to include oxygen data.  
     TEXTNOX - inputs .CTD EPIC pointer file and constructs PPLUS subcommand
               files
	     - outputs TXT*.PPC files containing %label commands for table
	       listings for each cast
     3PLTNOX.PPC - reads TXT*.PPC subcommand files and .CTD EPIC pointer
                   file and overplots vertical profiles of temperature, 
	           salinity, and sigma-t vs. pressure to 1000 db on left-
	           hand side of page; and lists data in table form on 
	           right-hand side of page.  Use 4PLT1DB.PPC to include 
	           oxygen data.
