% sg_calib_constants.m
% values from spreadsheet for easy inclusion of glider params into diveplot.m, etc.
% basic glider and mission params
% Last edited 17-May-13 JM
id_str	=	'512';
mission_title =	'ALOHA';
mass	=	52.0330;% from sum on trim sheet, updated 5/17/13 jm
volmax	=	51148;% from ballast worksheet final table, updated xx/xx/xx
rho0	=	1.027500;% from ballast worksheet for "new" environment

% initial hydrodynamic model params
hd_a	=	3.83600000E-03;
hd_b	=	1.00780000E-02;
hd_c	=	9.85000000E-06;
therm_expan	=	7.05000000E-05;
temp_ref	=	1.50000000E+01;
abs_compress	=	4.18000000E-06;
pitchbias	=	0.00000000E+00;

% software limits from cal sheet:
pitch_min_cnts	=	54;
pitch_max_cnts	=	3823;
roll_min_cnts	=	184;
roll_max_cnts	=	3899;
vbd_min_cnts	=	399;
vbd_max_cnts	=	3960;
vbd_cnts_per_cc	=	-4.076707;

% pump parameters
pump_rate_intercept	=	1.275;
pump_rate_slope		=	-0.00015;
pump_power_intercept	=	17.4033;
pump_power_slope	=	0.017824;

% CT sensors cal constants
calibcomm	=	'SN: 0066  CAL: 29-Dec-11';% SN and cal date, updated 05/10/13 jm
t_g	=	4.34020295E-03;
t_h	=	6.30761804E-04;
t_i	=	2.43056603E-05;
t_j	=	2.61245138E-06;
c_g	=	-9.89858581E+00;
c_h	=	1.10208754E+00;
c_i	=	-1.57073628E-03;
c_j	=	1.98450857E-04;
cpcor	=	-9.5700E-08;
ctcor	=	3.2500E-06;
sbe_cond_freq_min	=	2.8;% kHz, from cal for 0 salinity
sbe_cond_freq_max	=	8.2;% kHz, est for greater than 34.9 sal max T
sbe_temp_freq_min	=	2.9;% kHz, from cal for 1 deg T
sbe_temp_freq_max	=	6.2;% kHz, from cal for 32.5 deg T

% oxygen cal constants
comm_oxy_type		=	'SBE 43f';
calibcomm_oxygen	=	'SN: 43F0221  CAL: 28-Dec-12';% SN and cal date, updated 05/10/13 jm
Soc	=	2.4735E-04;
Foffset	=	-8.2525E+02;
o_a	=	-3.4376E-03;
o_b	=	2.3429E-04;
o_c	=	-4.1051E-06;
o_e	=	3.6000E-02;
Tau20	=	1.18;
Pcor	=	0;

%comm_oxy_type='Aa_optode';% spec SBE_43f or Aa_optode
%calibcomm_oxygen='SN: 199  CAL: 7-Dec-12';% SN and cal date, updated 05/10/13 jm
%
%optode_FoilCoefA1=-6.843659e-06;
%optode_FoilCoefA2=1.839203e-03;
%optode_FoilCoefA3=-1.984442e-01;
%optode_FoilCoefA4=8.121225e-04;
%optode_FoilCoefA5=-1.220733e-06;
%optode_FoilCoefA6=1.086894e+01;
%optode_FoilCoefA7=-7.093984e-02;
%optode_FoilCoefA8=2.810467e-04;
%optode_FoilCoefA9=-1.328850e-06;
%optode_FoilCoefA10=-3.093750e+02;
%optode_FoilCoefA11=2.923687e0;
%optode_FoilCoefA12=-2.222011e-02;
%optode_FoilCoefA13=2.146338e-04;
%optode_FoilCoefB1=3.792412e+03;
%optode_FoilCoefB2=-4.935136e+01;
%optode_FoilCoefB3=6.335210e-01;
%optode_FoilCoefB4=-1.085494e-02;
%optode_FoilCoefB5=1.218953e-04;
%optode_FoilCoefB6=-7.344973e-07;

%
% this glider carries WET Labs S/N BB2FLVMT-590, cal 12-Jan-12, updated 05/10/13 jm
%  
wlbb2f_chl_dark 	= 51;           %counts
wlbb2f_chl_scale 	= 0.0147;      	%micro_g/l/count
wlbb2f_700_dark 	= 49;           %counts
wlbb2f_700_scale 	= 3.168e-06;   	%counts 
wlbb2f_470_dark 	= 45;           %counts
wlbb2f_470_scale 	= 1.307e-05;   	%counts

% this glider also carries WET Labs S/N BBFL2VMT-946, cal 03-Apr-12, updated 05/10/13 jm
wlbbfl2_650_dark	= 43;		%counts
wlbbfl2_650_scale	= 4.071e-06;	%(m^{-1}sr^{-1})/counts
wlbbfl2_chl_dark	= 46;		%counts
wlbbfl2_chl_scale	= 0.0121;	%micro_g/l/count
wlbbfl2_cdom_dark	= 46;		%counts
wlbbfl2_cdom_scale	= 0.0881;	%ppb/count

%end file
