I agree with kevy73. We have a football field close by and a few spend the night atop the light poles. In the morning they do that to dry their wings before takeoff lest they become "bouncers"
Yep, it said (bing) they do it most likely to increase body temperature ..... just because I assumed they were drying off doesn't mean they were! Thanks Kevin H, ya learn something everyday.