It is the purpose of this chapter to assure that water produced by wells in the city will be of high quality and to protect and preserve the quality of underground waters by regulating the entry of substances from the surface into well shafts and regulating the interchange through well shafts of water between underground strata. (Prior code § 7762)