Analysis of grape production in the face of climate change