how rain affects agriculture