A sea-to-ground magnetovariational method