(1) 
Oil well locations shall be in accordance with the requirements of the state.
(2) 
No well, water injection, pumping unit or other type, shall be located within 100 feet of any habitable building, nor shall any such habitable building be erected within 100 feet of any well not abandoned, except buildings incidental to the operation of the well. The planning commission or city council, while reviewing a development plan review application, may waive or modify the 100 foot distance requirement subject to making the following findings:
(A) 
That the use or occupancy of the building is such that the 100 foot distance requirement is not necessary;
(B) 
That the building or the drill site incorporates adequate structural and fire safety features to compensate for the reduction in the 100 foot requirement of this section; and
(C) 
That the owner of the structure complies with any special safety requirements imposed by the fire department.
(Prior code § 19-20(a); Ord. 78-O-113, 1978; Ord. 92-O-101 § 1, 1992)
(1) 
All servicing and work-overs of wells in residential zones shall be restricted to the hours of seven a.m. to five-thirty (5:30) p.m., Monday through Friday.
(2) 
Lights on service rigs shall be shielded to protect surrounding residences from glare.
(3) 
All provisions of Chapter 23.76, "Noise Control," shall be applicable.
(4) 
Exceptions. The restrictions in this section shall not apply where (a) the oil well is located further than 500 feet from a residence; and (b) operator determines that an emergency exists and there is an immediate hazard to persons or property. The operator shall provide complete details of the emergency operation to the chief building official as soon as possible after its occurrence.
(Ord. 78-O-113, 1978)
At least one sign bearing the current name and number of the well, the name or insignia of the operator, the telephone number of the operator, and the telephone number of paramedic and rescue services shall be located and maintained at every oil well in a place where it will be fully visible at all times. In addition, at least one sign bearing the words "No Trespassing—Violators will be prosecuted. California Penal Code Section 602" shall be located and maintained at every oil well in a place where it will be fully visible at all times. Each sign shall have a surface area of not less than two square feet and no more than six square feet and shall be posted from the commencement of drilling operations until the well is abandoned.
In lieu of the signing requirements set forth above, a single sign having a surface of not less than four square feet and no more than six square feet may be located and maintained at every oil well in a place where it will be fully visible at all times. Said single sign shall display all of the information required by this section.
(Prior code § 19-20(b); Ord. 76-O-105 § 1, 1976)
Adequate blowout prevention equipment shall be installed and maintained at each well in accordance with the requirements of the state during the period of all drilling operations.
(Prior code § 19-20(c))
All sumps or sump holes and all off well production equipment having external, moving parts hazardous to life or limb shall be attended 24 hours per day or shall be enclosed by a steel chain-link-type fence not less than six feet in height, and in addition, having not less than three strands of barbed wire sloping outward at approximately a 45 degree angle and for 18 inches from the top of the fence. At no point shall the distance between the top of the fence and the flint strand of barbed wire, or the distance between any two strands of barbed wire, exceed six inches. There shall be no aperture below such fence greater than four inches. Fence gates shall be placed at nonhazardous locations and shall be locked at all times when unattended by a watchman or serviceman. The fence shall at all times be maintained in a state of good repair.
(Prior code § 19-20(d); Ord. 76-O-105 § 1, 1976)
Except during drilling and servicing operations, oil well cellos shall be kept reasonably free from water, oil, drilling fluids or such other substances, and means shall be provided to keep cellars covered.
(Prior code § 19-20(e))
All internal combustion engines shall be equipped with mufflers.
(Prior code § 19-20(f))
A well shall be considered properly abandoned for the purposes of this title when:
(1) 
The operator has filed a notice of intent to abandon with the chief building official;
(2) 
The well has been abandoned in accordance with the requirements of the Division of Oil and Gas of the state and the fire prevention code as adopted by the city;
(3) 
The site has been cleared of all drilling or producing equipment and left in a clean condition, which shall include draining and backfilling of any sump used in connection with the well and removal of concrete, pipe and other foreign materials from the surface of the ground;
(4) 
A copy of the official approval of abandonment from the State Division of Oil and Gas has been filed with the chief building official.
(5) 
Documentation has been submitted to the chief building official demonstrating that the site is free of significant soil contamination or submittal from Orange County health care agency that the soil in and around the well head, sump(s) and process areas is not contaminated.
(Prior code § 19-21; Ord. 71-O-123 § 7, 1971; Ord. 89-O-115 § 1, 1989; Ord. 89-O-119 § 1, 1989)
Any activities covered under this title may present special safety problems due to proximity to schools or playgrounds, established nuisance patterns, unusual attractiveness to minors, or other unusual or unique safety hazards. In such circumstances, additional safety measures may be required, including modifications of fencing, signing and security measures.
In order to require additional safety measures, notice and hearing requirements found in Sections 20.28.010 to 20.28.120 of this code covering abatement of unsafe or dilapidated buildings must be substantially complied with. This procedure includes a resolution by the city council to require that additional safety measures be considered by the planning commission; posting of the property with notice of the time, place and nature of the hearing before the planning commission; service of notice to owners of the property; service of notice to surrounding property owners; and right of appeal to the city council.
(Ord. 76-O-105 § 2, 1976)