Ionospheric patch formation: Direct measurements of the origin of a polar cap patch