They match the ice samples up with tree rings. There exists tree ring data of 7k+ years, the ice contains more info, but the tree rings allow for absolute pinpointing on a year. They match them on common info.
I am reading "tree story" by valerie trout.