Nov 21, 2013
p401301 (PX40 January 2013)

XBT launch height:
-------------------------
p401301 *Approximate* XBT launch height from SIO Autolauncher (AL) AND 
         Hand launcher (HL) for JRS Canis = 10.80 m

Ship name and callsign:
-------------------------
JRS Canis (C4LN2)

Principal Investigator:
-----------------------
	Dr. Dean Roemmich
	University of California, San Diego
	Scripps Institution of Oceanography
	9500 Gilman Drive, Dept 0230
	La Jolla, CA 92093-0230
	voice: 858-534-2307
	fax: 858-534-9820
	email: droemmich@ucsd.edu
	secondary contact: Lisa Lehmann (llehmann@ucsd.edu)

Program: High Resolution XBT Network (www-hrx.ucsd.edu)
--------

Data Description:
-----------------

Each cruise dated directory contains "e" files (eg p371110e.062) which
are ascii files containing xbt drop data, and a synopsis data file
(eg p371110.dat) containing position info for each xbt drop.

Note this data set used Sippican Deep Blue XBT's using the
old fall rate coefficients:  a=6.472, b=-2.16

Recorder type= MK21

Software: Amverseas
Quality control:
----------------
We followed the CSIRO Marine Lab Report 221 "Quality Control Cookbook for
XBT Data" to mark:

Data Quality Class:
 Class 0 = No QC done
 Class 1 = Good data
 Class 2 = Probably good data
 Class 3 = Probably bad data
 Class 4 = Bad data
 Class 5 = Changed

Data Quality Code: 
 Class 1: EF = Eddy/Front
 Class 1: IV = Inversion confirmed
 Class 1: NU = Inversion in ML (nub confirmed)
 Class 1: ST = Fine structure step-like confirmed

 Class 2: BO = Bowing in ML
 Class 2: FS = Fine Structure Probable
 Class 2: HB = Hit Bottom isotherm boundary layer 
 Class 2: LE = Leakage Possible
 Class 2: PI = Inversion Probable
 Class 2: PL = Premature Launch (false splash)
 Class 2: PS = Fine Structure Step-Like Probable
 Class 2: SA = Surface Anomaly, Fine Structure Special Case
 Class 2: TD = Temperature Difference at Depth
 Class 2: WS = Wire Stretch Possible

 Class 3: HB = Hit Bottom Reject
 Class 3: IP = Insulation Penetration Reject
 Class 3: LE = Leakage Reject
 Class 3: TO = Temperature Offset Reject
 Class 3: WS = Wire Stretch Reject

 Class 4: HF - High Frequency Reject
 Class 4: SP - Spike Reject
 Class 4: WB - Wire Break Reject
 Class 4: TP - Test Probe Reject

 Class 5: SP = Spike (Changed)
 Class 5: HF = High Frequency Interference (Changed)
 Class 5: IP = Insulation Penetration (Changed)

SIO "e" file format   
----------------

Sample of the first 5 lines (records) of "e" file (p371110e.062):
---------cut here-------------------------
  062 051 06 WDD6033  33.802 210.496 2
 09-10-2011  18:25:55 DE088452 1130487 03-22-2010
  1 23334 1
  3 23294 1
  5 23294 1
---------cut here-------------------------

Sample of lines (records) 27-34 of "e" file (p371110e.062):
---------cut here-------------------------
 27  49 18502 1
 28  51 18361 5 IP 17753
 29  53 18220 2
 30  55 17830 2
 31  57 17084 2
 32  59 16997 5 IP 16430
 33  61 16910 5 IP 16120
 34  63 16823 2
---------cut here-------------------------

record 1:
column	notes 
1-2	blank
3-5	drop number in cruise (062)
6 	blank
7-9     WMO Code Table 1770 Instrument type, 051 = Sippican Deep Blue, a=6.472, b=-2.16
10	blank
11-12	WMO Code Table 4770 Recorder Type, 06 = Sippican MK21
13      blank
14-20	ship callsign (WDD6033) will always start in column 14
21      blank
22-28 	latitude in decimal, south negative (f7.3) (Assume Class 1)
29	blank
30-36	longitude in decimal, 0-360 East (f7.3) (Assume Class 1)
37	blank
38      SIO launcher tube number (1-6, 0=hand launched)

record 2:
column	notes
1	blank
2-11	date of drop (DD-MM-YEAR) (Assume Class 1)
12-13	blank
14-21	time of drop (HH:MM:SS) (Assume Class 1)
22      blank
23-30   SEASID (character*8) (if unknown= blank or -0000001 or 00000000 or -1) (Assume Class 2)
31      blank
32-38   XBT serial number (if unknown= blank or -000001 or 0000000 or -1) (Assume Class 2)
39      blank
40-49   XBT Date of Manufacture (MM-DD-YEAR) OR "XBT Date of Manufacture Beginning of Batch Run"
            (if unknown=blank or 00/00/0000) (Assume Class 2)
  *NOTE* date of drop is DD-MM-YYYY and Date of Manufacture is MM-DD-YYYY ****
  ****** Difference due to historical bookkeeping reasons***********
        

record 3- end of file:
column	notes
1-3	depth in meters (in 2 m increment samplings)
4	blank
5-9	temperature in degrees Celsius (multiply by 0.001)
10	blank
11	Data Quality Class (see above)
12	blank
13-14	Quality Control Code (present if marked by reviewer, otherwise blank) (character*2)
15	blank
16-20	blank unless Data Quality Class = 5 (Changed), then it's the original temperature in 
	      degrees Celsius (multiply by 0.001)

Deconstruct "e" filename: p371110e.062:
--------------------------
p37  = PX37
1110 = YYMM
e    = edited data
062  = drop number

--------------------------------------------------------------
The following is likely no longer needed as all this information is now
coded into the "e" file: 

Synopsis data file format:
--------------------------
Each cruise directory has a <cruise>.dat file.  <cruise> is replaced
by line (p50 or p81) and date (9603, 9606, etc) to get
a filename such as p509603.dat.  An example format of p509603.dat:

 001     1 13.427  9/ 3/96 12:58: 6   21.584  201.628   1    1    -2
 002     2  9.213  9/ 3/96 13: 7:43   21.626  201.637   1    1    -2
 003     3  5.919  9/ 3/96 13:17:13   21.667  201.648   1    1    -2
 004     4  4.983  9/ 3/96 13:35:47   21.751  201.667   1    1    -2
 005     5  5.038  9/ 3/96 13:54:32   21.834  201.690   1    1    -2

column  notes
1       blank
2-4     drop number
5-9     ignore
10      launcher tube number (e file may be = 0, *.dat file correct)
11-17   700 m temperature (or last temperature recorded)
18      blank
19-26   date (DD/MM/YY)
27      blank
28-35   time (HH:MM:SS)
36-37   blank
38-44   latitude in decimal (South negative) (f7.3)
45-46   blank
47-53   longitude in decimal (0-360 East) (f7.3)
54-60   ignore
61-62   "good data" code: 1 = good, -1 = bad: no e file exists
                          2 = good (maybe Sparton probe),-2 = bad: no e file exists
                          -4 = test cannister
63-80   ignore
