Groundwater flow and residence time in a karst aquifer using ion and isotope characterization