Assessing the impact of groundwater abstractions on river flows