How to reconcile renewable energy and agricultural production in a drying world