The theoretical foundations of a dual-frequency method of sodar measurement, a method that makes it possible to implement thermal profiling of the atmosphere, are developed. With the use of the proposed method it becomes possible to increase the precision of estimates of the temperature structure function through compensation for the influence of signal attenuation and temperature inversion, as well as variations in the moisture on the result of measurements.