//
// ctdDriver.cfg
//
// * This config file is normally used for CTD board 1.
// * Used this config file if 1 seabird tasks is used.
//
// Calibration constants TP4122 and CP2514
// For boardset #1 in ALTEX Science Payload
// 
// Updated with new sensor coefficients 24 July 2002 dg
// Swapped O2 sensor 25 Nov 03 dg 
// Updated with new sensor coefficients 10 Aug 2004 drthom
// Updated with new sensor coefficients 3 Jan 2004 dougie
// Updated with new sensor coefficients 3 May 2005 dougie
// Updated with new sensor coefficients 15 Aug 2005 drthom
// Updated with new sensor coefficients 27 AUg 2005 hthomas
// Updated with new sensor coefficients 24 Apr 2006 drthom
// Updated with new sensor coefficients 19 Sep 2006 dougie
// Updated with new sensor coefficients 28 Dec 2006 drthom
// Updated with new sensor coefficients 26 Jun 2007 dougie
// Updated with new sensor coefficients 19 Jun 2008 dougie
// Added CDOM fluorometer on voltage channel 5 15 Nov 2007 dc
// Updated with new sensor coefficients 18 Feb 2009 dougie
// Updated with new sensor coefficients 08 Jan 2010 dougie
// Updated with new sensor coefficients 17 Jun 2010 dougie
// Updated with new sensor coefficients 14 May 2012 eric
// Updated with new sensor coefficients 18 Feb 2014 hjt
// changed CDOM to Rhodamine June 28 2010 hjt
// kept the analog channel set up for rhodamine October 7 2010 hjt
// Updated with new sensor coefficients 09 Feb 2011 dougie
// updated voltage channel 5 to CDOM, no longer using rhodamine
//     fluorometer 13 Jun 2011 dc  

//TempSerialNumber = 5843; 
// t_coefs assigns which variable sets to use A for a-d set and G for g-j set
t_coefs = G;
t_a = 3.68121340e-003;
t_b = 6.04232699e-004;
t_c = 1.65527890e-005;
t_d = 2.24436549e-006;
t_f0 = 3304.265;

t_g = 4.30846337e-003;
t_h = 6.27537193e-004;
t_i = 1.86810579e-005;
t_j = 1.19438114e-006;
t_gf0 = 1000.000;
 
//CondSerialNumber = 4394;
// c_coefs assigns which variable sets to use A for a-d set and G for g-j set
c_coefs = G;
c_a = 1.22092700e-006;
c_b = 4.57213632e-001;
c_c = -4.12470337e000;  
c_d = -7.81556063e-005;
c_m = 5.2;
eps = -9.57e-08;

c_g = -9.93595143;
c_h =  1.35024429;
c_i = -2.94175690e-003;
c_j =  2.72103781e-004;
c_pcor = -9.5700e-008;
c_tcor =  3.2500e-006;


//PressSerialNumber = 1081
p_a0   =  8.858592e-000;
p_a1   =  5.549117e-004;
p_a2   = -6.304879e-013;
pt_a0  = -63.13844;
pt_a1  =  53.55101;
pt_a2  = -52.12054; 
ptc_a0 =  8409078;
ptc_a1 =  5.389669;
ptc_a2 = -9.456861e-001;
ptc_b0 =  25.25163;
ptc_b1 =  2.125000e-004;
ptc_b2 =  0.000000;

//OxygenSerialNumber = 2935;
SOc = 0.3937;
BOc = 0.0000;
Voff = -0.5300;
TCor = -0.0000;
PCor = 1.3500e-04;

//CDOMSerialNumber = FLCDMBA-812;
ScaleFactor = 50;
DarkCounts = 0.047;

//RhodaminSerialNumber = FLRHMBA-1376
//ScaleFactor=0.141
//DarkCounts=55

NUMVOLTAGES = 6;
v1name = spare;
v2name = spare;
v3name = humidity; 
v4name = flow1;
v5name = CDOM;
v6name = dissolvedO2;
v7name = spare;
v8name = spare;

//whether or not the boardset needs the pressure sensor config cmds sent
//PressureConfig = N;
