The effects of gap ratio and upstream wall-roughness on the spatio-temporal turbulent flow dynamics surrounding a square cylinder