Energy balance at the soil atmosphere interface