
sg_optodeCoef;

if exist('optode_FoilCoefA0','var')
    optodemod = 4330;
    if exist('optode_S0','var')
        AA.S0 = optode_S0;
    end
    dT.optode_dphase_oxygen = sg_aaoptode(optodemod,AA,dT.optode_calphase,dT.tempc,dT.salin,dT.vmdepth);

elseif exist('optode_SVUCoef','var')
    optodemod = 4330;
    AA.SVU = optode_SVUCoef;
    dT.optode_dphase_oxygen = sg_aaoptode(optodemod,AA,dT.optode_calphase,dT.tempc,dT.salin,dT.vmdepth);

else
    error('unidentified optode model "optodemod"');
end
