Rising temperatures around the world and increasingly erratic weather conditions have made life difficult for farmers.