A vast network of dams and canals run by the state and federal governments carries water to farmers and cities across California.