Effects of a chain of reservoirs on temporal and spatial variation in water chemistry within an endorheic basin