Radars and ice cores reveal styles of retreat of Greenland and Antarctic ice sheets