% sg_calib_constants.m
% glider params for use in diveplot.m, etc.
% last updated 24-Jan-12 JM

% basic glider and mission params
id_str  =       '139'   ;
%mass	=	52.108	; % in kg, for Port Susan
mass    =       51.966; % in kg, for ocean mission
%volmax	= 	51394	; % in cc, projected for Port Susan
%volmax	=	51248	; % from Port Susan dive regression
volmax  =       51246; % projected for ocean for ocean mission
%mission_title = 'Port Susan';
mission_title = 'HiOOS mission 9';
%rho0	=	1023.3	; % in kg/m3 for Port Susan
rho0    =   1027.5  ; % for ocean
therm_expan = 70.5e-6;    % SG thermal expansion coeff [/degree C]
temp_ref = 15;  % reference temperature for SG thermal expansion calculation
abs_compress = 4.18e-6;  % SG vehicle compressibility
pitchbias = 0;  % pitch reference in regressions

% software limits from cal sheet
pitch_min_cnts  =       355   	;
pitch_max_cnts  =       3650	;
roll_min_cnts   =       235     ;
roll_max_cnts   =       3935    ;
vbd_min_cnts    =       450     ;
vbd_max_cnts    =       3860    ;
vbd_cnts_per_cc =       -4.0767 ;

% CT sensors cal constants
calibcomm ='SN 0143 cal 15Nov09';       % SN and cal date
t_g     =       4.30166611E-03  ;
t_h     =       6.21826982E-04  ;
t_i     =       2.24851247E-05  ;
t_j     =       2.31915739E-06  ;
c_g     =       -1.04115415E+01 ;
c_h     =       1.17920509E+00  ;
c_i     =       -1.91620937E-03 ;
c_j     =       2.39851733E-04  ;
cpcor   =       -9.5700000E-08  ;
ctcor   =       3.2500000E-06   ;
sbe_cond_freq_min =     2.7     ; % kHz, from cal for 0 salinity
sbe_cond_freq_max =     8.5     ; % kHz, est for greater than 32.5 
sbe_temp_freq_min =     2.9     ; % kHz, from cal for 1 deg T
sbe_temp_freq_max =     6.9     ; % kHz, from cal for 32.5 deg T

% oxygen cal constants
comm_oxy_type= 'SBE 43F'; % spec SBE_43f or Aa_optode
calibcomm_oxygen = 'SN 0092 cal 29Jan11 '; % SN and cal date
Soc     = 2.7332E-04   ;
Foffset = -838.760     ;
%Boc 	= 0             ;
%TCor	= -0.0002       ;
%PCor	= 1.3500E-04	;
o_a = -1.6249E-03;
o_b = 7.0120E-04;
o_c = -1.6684E-06;
o_e = 3.6000E-02;
Tau20 = 1.05;
PCor = 0;   % used as flag to force usage of new algorithm

% This glider also carries WET Labs BB2F-VMG SN 380
wlbb2f_chl_dark = 49;           % counts
wlbb2f_chl_scale = 0.0127;      % mirco_g/l/count
wlbb2f_700_dark = 44;           % counts
wlbb2f_700_scale = 6.510e-6;    % counts
wlbb2f_470_dark = 50;           % counts
wlbb2f_470_scale = 2.183e-5;    % counts

% initial hydrodynamic model params                             
hd_a    =       0.003836        ;
hd_b    =       0.010078        ;
hd_c    =       9.85E-06        ;

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

% end file
