We have these trails of electrons left behind, and the wind...
We have these trails of electrons left behind, and the wind in the upper atmosphere causes them to drift. It pushes them one direction or another. We can measure the speed at which those electrons are drifting and infer the wind speed.