Some new algorithms for studying the sensitivity of errors of the optimal solution of the problem of the ocean surface temperature data assimilation problem to observation data inaccuracies are proposed in order to reconstruct the heat flux for a nonstationary system of thermodynamics equations. Numerical experiments are performed in application to the Indian Ocean.