Warmth at the top of buildings?

As a person who has worked on roofs professionally in the past I can say without question that there are times when a roof is much hotter than the ground. On a summer day you are completely exposed to the sun, and if the surface of the roof is dark (which it often is) it will absorb a lot of heat. This has nothing to do with altitude though, and has everything to do with the lack of shade.