The Diurnal Anisotropic Heat Index is based on this equation.
Ha = cos(amax - a) * arctan(b)
Where; amax defines the aspect with the maximum total heat
surplus, a is the aspect and b is the slope angle. Please
note that all parameters are converted to radians.
References
Boehner, J., and Antonic, O. (2009) Land-surface parameters specific to
topo-climatology. In: Hengl, T., & Reuter, H. (Eds.), Geomorphometry -
Concepts, Software, Applications. Developments in Soil Science,
33:195-226