% sg_calib_constants.m
% values from spreadsheet for easy inclusion of glider params into diveplot.m, etc.

% basic glider and mission params
% Last edited by JM 26 Oct 2010
id_str='513';
mission_title='PhilSea 2010';
mass=51.792;% from sum on trim sheet
volmax=51409;% 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=62;
pitch_max_cnts=3828;
roll_min_cnts=173;
roll_max_cnts=3873;
vbd_min_cnts=394;
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: 0134  CAL: 1000';% SN and cal date
t_g=4.33602546E-03;
t_h=6.22645067E-04;
t_i=2.29713989E-05;
t_j=2.40827961E-06;
c_g=-1.00584876E+01;
c_h=1.15509111E+00;
c_i=-2.12444128E-03;
c_j=2.43270706E-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='Aa_optode';
% spec SBE_43f or Aa_optode
%calibcomm_oxygen='SN: 0  CAL: 1100';% SN and cal date
%Soc=0.000000E+00;
%Foffset=0.000000E+00;
%o_a=0.000000E+00;
%o_b=0.000000E+00;
%o_c=0.000000E+00;
%o_e=0.000000E+00;
%Tau20=0.00;
%Pcor=0;

%comm_oxy_type';% spec SBE_43f or Aa_optode
%calibcomm_oxygen';% SN and cal date
%optode_FoilCoefA1=0;
%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;

