We can determine the magnitude within a couple of seconds of initiation of rupture and predict the ground motion from seconds to tens of seconds before it is felt.
Most seismologists are surprised, and frequently skeptical, that you can predict the magnitude of an earthquake before it has ended,