On calculating thermal radiation from cloudless skies