The coronagraph as an Aid to the Prediction of Magnetic Storms