Quantifying paleoclimate dynamics using isotopes in precipitation