Methodology to assess the changing risk of yield failure due to heat and drought stress under climate change