% Sg_calib_constants for sg545, mission 7 Sep 2023
% Last edited on 23rd Sep 2024 by ESDU, SAMS

% basic glider and mission params
id_str='638';
mission_title='SG638 - Mission Ellett Array 13';
mass = 51964.8;
rho0 = 1.0277; % FM_ignore
volmax = 51129.7; % FM_ignore

% initial hydrodynamic model params;
% regression needed to obtain realistic values
hd_a = 3.83600000E-03; % FM_ignore
hd_b = 1.00780000E-02; % FM_ignore
hd_c = 9.85000000E-06; % FM_ignore

% software limits from cal sheet:
pitch_min_cnts	=	201	;   % from old-style trim sheet (cal tab)
pitch_max_cnts	=	3888;   % from old-style trim sheet (cal tab)
roll_min_cnts	=	196	;   % from old-style trim sheet (cal tab)
roll_max_cnts	=	3818;   % from old-style trim sheet (cal tab)
vbd_min_cnts	=	600	;   % from old-style trim sheet (cal tab)
vbd_max_cnts	=	3960;   % from old-style trim sheet (cal tab)
vbd_cnts_per_cc	=	-4.076707;

% Seabird CT Sail sensor cal constants
calibcomm=' Serial #: 0217  CAL: 03-Mar-2022';%  Serial # and cal date
t_g = 4.4021147E-03;
t_h = 6.3754420E-04;
t_i = 2.6074997E-05;
t_j = 3.2373660E-06;
c_g = -1.012187E+01;
c_h =  1.179967E+00;
c_i = -1.877488E-02;
c_j =  1.353212E-03;
cpcor = -9.5700E-08;
ctcor = 3.2500E-06;

sbe_cond_freq_min= 2.9;	% kHz, from cal for cond 0 S/m
sbe_cond_freq_max= 8.2;	% kHz, from cal for cond 6.0 S/m
sbe_temp_freq_min= 1;	% kHz, note: no data on cal sheet, putting extreme ranges
sbe_temp_freq_max= 10;	% kHz,  ote: no data on cal sheet, putting extreme ranges
