The significance of detailed structure in the boundary layer to thermal radiation at the surface in climate models