Adapting to Groundwater Flooding