% sg_calib_constants.m
% establishes glider calibration constants

% This file is for UH glider sg115.
% Last Updated 6-sep-2006 (GSC)

id_str = '115';

mission_title =' 2006';

calibcomm = 'SBE s/n 0041, calibration 25 April 2006';

t_g =  4.37369092e-03 ;
t_h =  6.48722213e-04 ;
t_i =  2.63414771e-05 ; 
t_j =  2.83524759e-06 ;

% Minimum and maximum frequencies (kHz) for reasonable
%  oceanographic values of temperature from SBE calibration
%  for C/T s/n 041

sbe_temp_freq_min = 3.214274; % kHz
sbe_temp_freq_max = 6.081845; % kHz

c_g = -9.97922732e+00 ;
c_h =  1.12270684e+00 ;
c_i = -2.35632554e-03 ;
c_j =  2.37469252e-04 ;

% Minimum and maximum frequencies (kHz) for reasonable
%  oceanographic values of conductivity SBE calibration
%  for C/T s/n 041

sbe_cond_freq_min = 2.98792; % kHz
sbe_cond_freq_max = 7.95840; % kHz

cpcor = -9.57e-08 ;
ctcor =  3.25e-06 ;

calibcomm_oxygen = '0106';

Soc = 2.1921e-04;
Boc = 0.0;
Foffset = -825.6362;
TCor = 0.0017;
PCor = 1.350e-04;

% mass = 52.173; % scale weight prior to shipment to HI for RIMPAC
mass = 52.306; % scale weight 2006.08.28 reported by Fritz Stahr

hd_a = 0.003836;
hd_b = 0.010078;
hd_c = 9.8541e-6;

rho0 = 1027.5;

pitch_min_cnts = 349;
pitch_max_cnts = 3689;
roll_min_cnts = 163;
roll_max_cnts = 3934;
vbd_min_cnts = 550;
vbd_max_cnts = 3875;
vbd_cnts_per_cc = -4.0767;

% volmax = 51344; %  prior to shipment to HI for RIMPAC
volmax = 51417; % 2006.08.29 reported by Fritz Stahr

pitchbias = 0.;

pump_rate_intercept = 1.275;
pump_rate_slope = -0.00015;
pump_power_intercept = 17.4033;
pump_power_slope = 0.017824;
