Oxygen Isotope Profiles through the Antarctic and Greenland Ice Sheets