% 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 18 Jul 2011
id_str	=	'511';
mission_title=	'CEROS 2011';
mass	=	52.0110;% from sum on trim sheet
volmax	=	50851;% from ballast worksheet final table
rho0	=	1027.5;% from ballast worksheet for "new" evironment

% 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	=	58;
pitch_max_cnts	=	3811;
roll_min_cnts	=	181;
roll_max_cnts	=	3908;
vbd_min_cnts	=	499;
vbd_max_cnts	=	3959;
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: 0075  CAL: 17Mar2011';% SN and cal date
t_g	=	4.39973338E-03;
t_h	=	6.42991151E-04;
t_i	=	2.73283017E-05;
t_j	=	3.09133554E-06;
c_g	=	-1.01086669E+01;
c_h	=	1.14765762E+00;
c_i	=	-2.10884105E-03;
c_j	=	2.39811430E-04;
cpcor	=	-9.5700E-08;
ctcor	=	3.2500E-06;
sbe_cond_freq_min=2.9;% kHz, from cal for 0 salinity
sbe_cond_freq_max=8.0;% kHz, est for greater than 34.9 sal max T
sbe_temp_freq_min=2.8;% kHz, from cal for 1 deg T
sbe_temp_freq_max=8.0% kHz, from cal for 32.5 deg T

% oxygen cal constants
%comm_oxy_type='Seabird 43f';% spec SBE_43f or Aa_optode
%calibcomm_oxygen='SN: 0  CAL: 0000';% 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;
