Solar tsunami used to measure Sun’s magnetic field