The observation of related F-region height and electron content changes at mid-latitudes during magnetic storms and their comparison with a numerical model