Controls of seasonality and altitude on generation of leaf water isotopes