$Id$ After plotting climatology, temperature plot stay in foreground when map was displayed 2008-10-20 yves Gouriou CALIBRATION.M % Test if Conductivity or temperature has been calibrated % ------------------------------------------------------- indC = find( isnan( tsg.CNDC_CAL ) == 0 ); %v�rifier taille de indC et indT indT = find( isnan( tsg.SSJT_CAL ) == 0 ); if ~isempty( indC ) || ~isempty( indT ) % If SSJT has not been calibrated used SSJT and not SSJT_CAL to compute % SSPS_CAL % --------------------------------------------------------------------- temp = tsg.SSJT_CAL; ind = find( isnan( temp ) == 0 ); if isempty(ind) temp = tsg.SSJT; end % If CNDC has not been calibrated used CNDC and not CNDC_CAL to compute % SSPS_CAL % --------------------------------------------------------------------- cond = tsg.CNDC_CAL; ind = find( isnan( temp ) == 0 ); % temp doit etre remplace par cond if isempty(ind) cond = tsg.CNDC; end if ~isempty( temp ) && ~isempty( cond ) tsg.SSPS_CAL = sw_salt( ... tsg.CNDC_CAL/sw_c3515(), t90TOt68(temp), zeros(size(tsg.CNDC_CAL))); % tsg.CNDC_CAL doit �tre remplac� par cond end 20/11/2008 J Grelet -------------------- ??? In an assignment A(:) = B, the number of elements in A and B must be the same. Error in ==> tsgqc>Cal_OffMenuCallback at 1603 tsg.CNDC_LINCOEF(1) = str2num(get( hetCalCNDCSlope, 'String'));