Historic magnetic storms help scientists learn what to expect when one hits