The temperature profile in a forest