Here is a dam that supplies water to the bay area. Lots of it. It's just outside of Yosemite an hour. Which puts it 2 hours from bottom of the valley. Ended up doing a quick hike to a small waterfall just 2 miles away. If you wanted to, there is a trail to hike all the way into the valley, 40 some miles away.