The adaptations of farmers in an era of declining groundwater supplies