% Last edited on 09/16/2010
% sg_calib_constants.m
% values from spreadsheet for easy inclusion of glider params into diveplot.m, etc.
% 13jun2011 launched w/o WLabs fluoro volume & weight adjusted accordingly

% basic glider and mission params
id_str='523';
mission_title='HiOOS mission ';
mass=51.820;% from sum on trim sheet
volmax=50677;% from ballast worksheet final table
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=70;
pitch_max_cnts=3840;
roll_min_cnts=217;
roll_max_cnts=3847;
vbd_min_cnts=440;
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: 0154  CAL: 21510';% SN and cal date
t_g=4.36457311E-03;
t_h=6.29495061E-04;
t_i=2.47001529E-05;
t_j=2.71012319E-06;
c_g=-9.97112449E+00;
c_h=1.14843528E+00;
c_i=-1.62639241E-03;
c_j=2.02049632E-04;
cpcor=-9.5700E-08;
ctcor=3.2500E-06;
sbe_cond_freq_min=2.98319000E+00;% kHz, from cal for 0 salinity
sbe_cond_freq_max=8.00000000E+00;% kHz, est for greater than 34.9 sal max T
sbe_temp_freq_min=2.92421200E+00;% kHz, from cal for 1 deg T
sbe_temp_freq_max=5.55528300E+00;% 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: 0194  CAL: 4110';% SN and cal date
Soc=2.814500E-04;
Foffset=-8.300300E+02;
o_a=-2.063300E-03;
o_b=1.447000E-04;
o_c=-2.543900E-06;
o_e=3.600000E-02;
Tau20=1.55;
Pcor=0;

%comm_oxy_type='Aa_optode';% spec  Aa_optode
%calibcomm_oxygen='';% SN and cal date
%optode_FoilCoefA1=???;
%optode_FoilCoefA2=0;
%optode_FoilCoefA3=0;
%optode_FoilCoefA4=0;
%optode_FoilCoefA5=0;
%optode_FoilCoefA6=0;
%optode_FoilCoefA7=0;
%optode_FoilCoefA8=0;
%optode_FoilCoefA9=0;
%optode_FoilCoefA10=0;
%optode_FoilCoefA11=0;
%optode_FoilCoefA12=0;
%optode_FoilCoefA13=0;
%optode_FoilCoefB1=0;
%optode_FoilCoefB2=0;
%optode_FoilCoefB3=0;
%optode_FoilCoefB4=0;
%optode_FoilCoefB5=0;
%optode_FoilCoefB6=0;
