Removing The Effect of Near-Surface Inhomogeneities in Surface-to-Borehole Measurements

SA522432550B1Active Publication Date: 2024-06-04SAUDI ARABIAN OIL CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA522432550
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-05-10
Publication Date
2024-06-04
Estimated Expiration
2040-11-10

AI Technical Summary

Technical Problem

Surface-to-borehole electromagnetic measurements are affected by near-surface galvanic distortions due to heterogeneities in shallow resistivity structures, leading to inaccurate estimates of reservoir resistivity and oil depletion, which existing methods attempt to mitigate through costly and time-consuming dense near-surface sampling or borehole penetration.

Method used

A method involving a surface-to-borehole setup with dipole transmitters and receivers, combined with reference stations, to measure and correct for galvanic distortion using static offset correction factors and deformation tensors, allowing for accurate reservoir resistivity estimation without additional boreholes.

Benefits of technology

This approach effectively removes near-surface galvanic distortions, providing accurate resistivity information for oil-bearing reservoirs while reducing operational costs by avoiding costly dense sampling and borehole penetration.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present disclosure is directed to a method (1200, 1300) of removing galvanic distortion associated with near-surface inhomogeneities from surface-to-borehole (STB) survey measurements to provide resistivity information of an oil-bearing reservoir. The method may include generating a horizontal electric field and a vertical magnetic field at a surface of the earth with a dipole transmitter (1204); measuring the vertical electric field and the vertical magnetic field at a depth of the reservoir; measuring a vertical magnetic field at a reference station; determining a direct current (DC) magnetic field value for the dipole transmitter through low frequency transmission; equating the vertical magnetic field recorded at the reference station to the determined DC value according to the equation H_z= (I dl cos Ɵ) / (4πR^2 ) (1210); solving for I dl from the equation to determine a static shift correction factor (1212); and applying the static shift correction factor to the vertical magne
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Removing the effect of near-surface heterogeneity in surface-to-bore measurements<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Removing the Effect of Near-Surface Inhomogeneities in Surface-to-Borehole Measurements<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present invention relates to systems and methods for subterranean surveying.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Waterflooding is a major recovery method commonly used in oil production. In waterflooding, brine is injected into the reservoir periphery to maintain pressure and flush the reservoir formation. Replacing oil with brine in typical reservoir formations can result in an exponential change in resistivity. Surface-to-borehole (STB) electromagnetic measurements are sensitive to this change in resistivity and can be used to monitor oil recovery in both stand-alone and time-lapse surveys. STB uses an array of surface electric field sources and vertical electric and magnetic field measurements recorded downhole at reservoir depths. Analysis of the measured borehole fields provides an estimate of the surrounding reservoir resistivity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">U.S. Patent No. 2009 / 039889 describes the development of an electromagnetic property model for a near-surface region and the use of this electromagnetic property model and electromagnetic data obtained using electromagnetic transmitters located above the near-surface region and electromagnetic receivers located within a borehole to determine the electromagnetic properties of a subsurface region.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present invention describes techniques that can be used to remove the effects of near-surface galvanic distortion resulting from near-surface heterogeneity images in shallow resistivity structures from surface-to-drill-hole survey measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Replacing oil with brine in typical reservoir formations can result in an exponential change in resistivity. Thus, changes in resistivity within a reservoir represent the movement of the water interface within the reservoir and, consequently, the depletion of oil from the reservoir. Numerical simulations have shown that surface-to-borehole (STB) electromagnetic measurements are sensitive to this waterflood-induced change in resistivity in the reservoir and can be used to monitor oil recovery in both stand-alone and time-lapse surveys.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">STB methods can use an array of surface electric field sources in conjunction with vertical electric field measurements or vertical electric and magnetic field measurements recorded downhole at reservoir depths. Analysis of the fields measured in the borehole provides an estimate of the surrounding reservoir resistivity. However, because the measured fields propagate from the surface, knowledge of the bearing structure, resistivity, and wellbore casing is required to provide useful information about reservoir condition. The resistivity of the bearing structure can be determined through well logging, surface geophysical studies, or both. Typically, this bearing structure and resistivity information is derived from the interpretation of seismic horizons, non-seismic surface methods (e.g., geomagnetic), and the interpolation of well log information.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">An additional problem affecting many ground electrical measurement methods, such as STB, is near-surface galvanic distortion for both received and transmitted surface electric field measurements. This distortion arises from differences in the near-surface resistivity structure. Near-surface galvanic distortion can be mitigated by dense near-surface sampling using shallow electromagnetic (EM) studies. However, dense near-surface sampling increases operating costs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As with other geophysical techniques that rely on electric field measurements made at the Earth's surface, surface-to-borehole (STB) measurements are affected by near-surface inhomogeneities in shallow resistivity structures, which induce distortion. This distortion is called "static displacement." The term "static" refers to frequency-independent distortions of the electric field that occur at low frequencies where induced currents in the near-surface resistivity variation have vanished. Typically, survey STB measurements are made at frequencies between 0.1 and 10 hertz (Hz), where this assumption often holds true. In this case, the measured or transmitted electric field is the electric field of the larger structure multiplied by a 2 × 2 frequency-independent true deformation tensor. A first aspect of the present invention relates to a surface-to-borehole (STB) setup for collecting electric field and magnetic field data representing the resistivity of a reservoir and bearing caprock formations, where the resistivity represents the level of oil depletion from the reservoir.<h2 style=";text-align:left;direction:ltr">The STB setup may include a plurality of dipole transmitters positioned along a set of radii extending outward from the borehole, each radius aligned with another radius on an opposite side of the borehole; an STB receiver positioned in the wellbore at reservoir level; and a plurality of reference stations. The surface-to-borehole (STB) receiver may be operable to measure the vertical electric field and vertical magnetic field generated by one or more of the dipole transmitters, as affected by loaded reservoirs and formations. One of the plurality of reference stations may be positioned along each radius outward from the plurality of dipole transmitters. The reference stations may include an operable recording system to measure the vertical component of an existing magnetic field and the horizontal electric field components generated by one or more of the dipole transmitters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A second aspect of the invention relates to a method for removing galvanic distortion associated with near-surface heterogeneity images from surface-to-borehole (STB) survey measurements to provide resistivity information for an oil-bearing reservoir. The method may comprise generating a horizontal electric field and a vertical magnetic field at the ground surface using a dipole transmitter; measuring the vertical electric field and vertical magnetic field at the reservoir depth; measuring a vertical magnetic field at a reference station; determining the direct current (DC) magnetic field value of the dipole transmitter through a low-frequency transmission (e.g., between 0.1 and 10 Hz); equalizing the vertical magnetic field recorded at the reference station with a DC value determined according to Eq.; substituting I dl into Eq. to determine a static offset correction factor; and applying the static offset correction factor to the vertical magnetic field measurements measured at the reservoir depth and the vertical electric field measurements measured at the reservoir depth to remove galvanic distortion associated with near-surface heterogeneity and provide a representation of the reservoir resistivity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Another aspect of the present invention relates to a method for removing galvanic distortion associated with near-surface heterogeneity images from surface-to-borehole (STB) survey measurements to provide resistivity information for an oil-bearing reservoir. The method may include generating a first electric field and a first magnetic field at a first location on the earth's surface, wherein the first electric field includes a radial component, Eradial1, and an azimuthal component, Eazimuthal1, and a first magnetic field includes a vertical component, Hvertical1; generating a second electric field and a second magnetic field at a second location on the earth's surface, wherein the second electric field includes a radial component, Eradial2, and an azimuthal2, wherein the second magnetic field includes a vertical component, Hvertical2; measuring Evertical1, Evertical2, Hvertical1, and Hvertical2 at a depth of the reservoir; measuring Eradial1, Eradial2, Eazimuthal1, Eazimuthal2, Hvertical1, and Hvertical2 at the first and second measurement locations on the earth's surface; Determine the distortion factors through the measurement factors STx1, STx2, SR1, and SR2 according to the following set of equations:<h2 style=";text-align:left;direction:ltr"> 𝐸1 = 𝑆𝑇𝑥1 𝑆𝑅1 𝐸1𝑢𝑛𝑑𝑖𝑠𝑡ortEd؛ 𝐸2 = 𝑆𝑇𝑥1 𝑆𝑅2 𝐸2𝑢𝑛𝑑𝑖𝑠𝑡ortEd؛ 𝐸3 = 𝑆𝑇𝑥2 𝑆𝑅1 𝐸3𝑢𝑛𝑑𝑖𝑠𝑡ortEd؛ 𝐸4 = 𝑆𝑇𝑥2 𝑆𝑅2 𝐸4𝑢𝑛𝑑𝑖𝑠𝑡ortEd؛ <h2 style=";text-align:left;direction:ltr">where E1 corresponds to Eradial1 measured at the first measurement location, where E2 corresponds to Eradial1 measured at the second measurement location, where E3 corresponds to Eradial2 measured at the first measurement location, where E4 corresponds to Eradial2 measured at the second measurement location, where E1undistorted corresponds to a radial electric field at the first location without near-surface inhomogeneities, where E2undistorted corresponds to a radial electric field at the second location without near-surface inhomogeneities, where E3undistorted corresponds to a radial electric field at the first location without near-surface inhomogeneities, and where E4undistorted corresponds to a radial electric field at the second location without near-surface inhomogeneities, where E1undistorted, E2undistorted, E3undistorted, and E4undistorted are the expected values ​​obtained from the initial resistivity model, and determine the deformation tensor by applying inversion to the set of equations; The deformation tensor is applied during the inversion of Eradial1 and Eradial2 measured at the first and second measurement locations to remove the galvanic distortion associated with near-surface inhomogeneities and provide a representation of the reservoir resistivity.<h2 style=";text-align:left;direction:ltr">This degaussing procedure may be extended to include an array of bipolar transmitters to simultaneously degauss a complete scan from surface to drill hole.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Various features may include one or more of the following characteristics. The adjacent radii may be angularly offset by 45°. Each radius may include nine dipole transmitters. The dipole transmitters may be evenly spaced along the radius. Each reference station may be located 5 kilometers (km) from the drill hole. Each reference station may be configured to measure the vertical magnetic field generated by at least one of the dipole transmitters placed on a radius aligned with and on the opposite side of the drill hole from the radial member on which the reference station is placed. In some implementations, the distance between one of the plurality of reference stations and one of the plurality of dipole transmitters whose electric field is to be measured by the reference station may be between 6 km and 10 km. However, the scope of the invention is not limited thereto. In other implementations, one or more reference stations may be located less than 6 km from one or more dipole transmitters or more than 10 km from one or more dipole transmitters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Different attributes may also include one or more of the following properties. Generating a vertical magnetic field at the ground surface using a dipole transmitter may involve generating a magnetic field using each dipole transmitter from a set of dipole transmitters. The dipole transmitter set may be arranged in a set of radii extending outward from the borehole, with each radius aligned with another radius on an opposite side of the borehole. Measuring the vertical magnetic field may involve measuring the low-frequency magnetic field generated by the dipoles of surface-to-borehole (STB) transmitters. Determining the DC value of a dipole transmitter may involve determining the DC value of each dipole transmitter from the set of dipole transmitters. Measuring the vertical magnetic field at reservoir depth may involve measuring the vertical magnetic field with a surface-to-borehole (STB) receiver placed in a borehole at reservoir depth.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The various features may also include one or more of the following properties. Generating a first electric field and a first magnetic field at a first location on the ground surface may include generating a first electric field and a first magnetic field using a dipole transmitter. Generating a second electric field and a second magnetic field at a second location on the ground surface may include generating the second electric field and a second magnetic field using a second dipole transmitter. The first location may be on the first side of a drill hole extending from the surface to the reservoir, and the second location may be located opposite the first side. The first dipole transmitter may be positioned within a first radius of the dipole array. The second dipole transmitter may be positioned within a second radius of the dipole array, and the first radius may be aligned with the second radius. The first dipole transmitter and the second dipole transmitter may form an array of dipole transmitters. The array of dipole transmitters may be arranged in a set of radii extending outward from the drill hole.<h2 style=";text-align:left;direction:ltr">The radii can be aligned on opposite sides of the borehole. Measurements obtained at the first and second measurement sites can be obtained by a first reference station located at the first measurement site and a second reference station located at the second measurement site. The first reference station and the second reference station may form part of a set of measuring stations. Each set of measuring stations may be aligned along one of the radii of the set of radii and may be oriented diagonally outward from the dipole transmitters placed within the radius in which the measuring station is located.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Details of one or more embodiments of the invention are illustrated in the accompanying drawings and the following description. Other features, objectives, and advantages of the invention will be evident from the description, drawings, and claims.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is an example of a realistic 3D ground resistivity model that includes a formation containing an oil-bearing reservoir.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 2 is an example of a surface-to-borehole (STB) survey design for use in collecting measurements used to remove galvanic distortion associated with near-surface heterogeneity from STB survey measurements to obtain resistivity information for an oil-bearing reservoir.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is an example of a reference station that could be used in the STB scan design shown in Figure 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 shows a typical capacitive response plot for a vertical magnetic field of 6 km between the transmitter and receiver and half-span resistances of 10 to 1000 ohm-meters (ohm-m) measured by a reference station.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 graphically illustrates the correction of distorted survey surface-to-borehole (STB) measurements using a correction factor obtained from reference vertical magnetic field measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 6 is a schematic view of the realistic 3D ground resistivity model example shown in Figure 1 used to illustrate the removal of near-surface galvanic distortion caused by near-surface inhomogeneities.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 7 is a cross-sectional view of the realistic 3D ground resistivity model shown in Figure 1 taken along two balanced radii of surface-to-borehole (STB) transmitters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 8 shows an example of a capacitive plot of vertical electric field measurements obtained using the realistic 3D ground resistivity model shown in Figure 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 is the phase of the vertical electric field data measured by a receiver within the realistic 3D ground model shown in Figure 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 10 is another cross-section of the realistic 3D ground resistivity model shown in Figure 1 taken along the radii of two STB transmitters and shows the electric field measurements generated by two STB transmitters being obtained by a downhole receiver and surface receivers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 11 shows the amplitude of the simulated STB scan electric field measurements shown in Figure 8 but corrected using a deformation tensor obtained by inversion of the reference electric field data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 12 is a process flow diagram illustrating a representative method for obtaining resistivity measurements of a reservoir using surface-to-borehole (STB) survey measurements corrected with a correction factor derived from reference vertical magnetic field measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 13 is a flowchart illustrating a representative method for obtaining resistivity measurements of a tank using STB survey measurements corrected with a deformation tensor found through inversion of reference measurements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 14 is a block diagram illustrating an example of a computer system used to provide computational functions associated with the algorithms, methods, functions, processes, flows, and procedures described in the present invention, according to some applications of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Similar reference symbols in different drawings indicate similar elements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In order to enhance understanding of the principles of the present invention, reference will now be made to the applications illustrated in the drawings, and specific language will be used to describe them. It will be understood, however, that no limitation of the scope of the invention is intended. It should be noted that any further changes and modifications to the apparatus, instruments, and methods described, and any further application of the principles of the present invention that might ordinarily occur to a person skilled in the art to which the disclosure relates, fall entirely within the scope of the invention. In particular, it is entirely conceivable that features, components, steps, or a combination thereof described in connection with one application may be combined with features, components, steps, or a combination thereof in connection with other applications of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present invention relates to eliminating near-surface galvanic distortions in surface-to-borehole (STB) survey measurements caused by near-surface heterogeneities in shallow resistivity structures. A shallow resistivity structure may be located between the surface and a depth of 50 meters (m). Inhomogeneities are variations in the geology of the formation, which result in changes in the resistivity of the formation structure. As with other geophysical techniques based on electric field measurements made at the Earth's surface, STB measurements are affected by near-surface inhomogeneities in shallow resistivity structures. This distortion manifests as a frequency-independent shift in the amplitude of the measured vertical electric field, termed "static shift." The term "static" refers to the frequency-independent distortion of the electric field that occurs at frequencies at which the induced currents in the near-surface resistivity variation have decayed. Typically, surface-to-borehole (STB) survey measurements are performed at frequencies ranging from 0.<h2 style=";text-align:left;direction:ltr">1 and 10 hertz (Hz), where this assumption is often correct. In this case, the measured or transmitted electric field can be considered as the electric field of the bulk structure or undeformed rock mantle (i.e., rock mantle with no near-surface variations) unaffected by near-surface galvanic distortions multiplied by a true 2 × 2 frequency-independent distortion tensor. This frequency-independent 2 × 2 distortion tensor is used to describe static displacement in ground-based geophysical measurements. This relationship is discussed in more detail later, and the purpose of this invention is to obtain the electric field of the bulk structure free of near-surface galvanic distortions. Thus, the systems and methods described can isolate and remove near-surface galvanic distortion from STB survey measurements. The near-surface galvanic distortion can be removed in a process independent of the STB drillhole measurements, which may themselves be affected by changes occurring in the drillhole. Such changes may include, for example, changes related to the injection of conductive kill fluids into the drillhole.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Surface-to-borehole (STB) measurements are recorded using a three-dimensional surface array of grounded dipole transmitters positioned in the respective wellbore, as illustrated in Figure 1. Figure 1 illustrates a configuration 100 containing an oil-bearing reservoir 112, a drillhole 114 extending from the surface 116 to the reservoir 112, and a receiver 120 located in the drillhole 114. The receiver 120 may form part of, or be placed on, a wire and be moved within the drillhole 114. In other applications, the receiver 120 may be permanently located at a location in the drillhole 114. In some cases, the receiver 120 may measure electric fields, magnetic fields, or both electric and magnetic fields, at varying depths within the drillhole 114, including the reservoir 112. A variety of configurations 122 cover the reservoir 112. A variety of grounded dipole transmitters 118 are shown at the surface. 116.<h2 style=";text-align:left;direction:ltr">Numerical modeling studies of three-dimensional surface-to-borehole (STB) measurements, using resistivity distributions derived from a black oil reservoir simulator, indicate that the vertical electric field is sensitive to temporal changes in the position of the water interface within the reservoir. A two-year time-scan simulation indicated that a detectable signal could be obtained with an estimated minimum noise floor of 1×10-12 volts per meter (V / m). All other components of the electromagnetic radiation were below the minimum noise floor expected for the instruments.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Eliminating galvanic distortion caused by near-surface heterogeneity in shallow resistivity structures is important for evaluating oil-bearing reservoirs. For STB survey measurements, careful preparation of the transmitter dipoles can reduce electric field distortion. Electric field distortion often arises from shallow resistivity or conductivity caprock. In particular, this distortion is the result of inhomogeneity in shallow resistivity structures. Previous methods involve drilling through shallow caprock to penetrate the subterranean formation to reduce electric field distortion. For example, in some applications, the subterranean formation may be penetrated by at least 5 meters. In other applications, the subterranean formation may be penetrated by less than 5 meters. However, this method requires drill holes ranging in depth from approximately 6 to 15 meters and is costly. The methods described in the present invention avoid this costly and time-consuming step.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Surface-to-borehole (STB) analysis is performed by modeling the propagation of the electric field from the surface source. As illustrated, the grounded dipole transmitter array 118 transmits EM signals to the configuration 100. The receiver 120 located in the borehole 114 records the attenuated signals. In this particular case, the resistivity of the tank 112 is used to determine the movement of the water interface, so the receiver 120 is positioned inside the borehole 114 at the depth of the tank 112. This analysis is based on the amplitude and phase of the electromagnetic current. The signals are recorded by the receiver 120. These electromagnetic signals are measured, and the model accounts for the phenomena affecting the propagation of the electromagnetic signals.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In order to derive useful estimates of the resistivity of the reservoir surrounding borehole 114, information describing the structure and resistivity of the upper formations 122 is collected, as illustrated in Figure 1. The resistivity of the layers is graphically shown in the key 126. Resistivity is measured in ohm-meters (ohm-m). In addition, the influence of any wellbore steel casing is also collected and included in the analysis. In some applications, the influence of the wellbore casing (referred to as the "casing response") may be modeled and subtracted or removed from the surface-to-borehole (STB) survey measurements. In other applications, the wellbore casing model may be added to the lithosphere and reservoir inversion model to calculate the casing response. In some applications, the larger structure of the upper formations 122 may be determined, for example, using 3D seismic interpretation of horizons, and the resistivity within the formations 122 may be derived by completing well logs or regional electromagnetic studies.<h2 style=";text-align:left;direction:ltr">However, small variations in near-surface resistivity in shallow-resistivity structures, such as those related to surface weathering and variable sand cover, can be difficult to interpret. Capacitance variations related to small near-surface changes are included to recover estimates of reservoir resistivity and, consequently, water-front movement within the reservoir over time.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The heterogeneities that generate galvanic anomalies near the surface are generally found within Formation 124 of the upper Formation 122, extending from the surface to approximately 10 meters below the surface, which is referred to as a shallow resistivity structure. In some cases, the formation containing the heterogeneity may extend from 1 meter to 100 meters below the surface.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 2 is an example of an STB survey design 200 according to some applications of the present invention. STB surveying may be performed at a single frequency or a range of frequencies, such as those from 0.1 Hz to 10 Hz. The STB survey design 200 includes an array of grounded electric field source dipoles, interchangeably referred to as transmitters 202; a receiver 204 positioned within a drill hole 206 (which may be similar to the receiver 120 described previously); and a plurality of reference stations 208. The transmitters 202 are typically in the form of grounded dipoles positioned in radial and azimuthal directions. The transmitters 202 are placed at radii 210 on the surface and extend outward from a central location where the drill hole 206 is located. In the example shown, the radii 210 are angularly offset from the adjacent radii 210 by 45 degrees. In other applications, adjacent radii 210 may be offset by an angle less than or greater than 45 degrees. Therefore, in other applications, a greater or lesser number of radii may be used. In the example shown, nine transmitters 202 are placed along each radius 210.<h2 style=";text-align:left;direction:ltr">The transmitters 202 are placed along each radius at regular intervals such that adjacent transmitters 202 are equally spaced from each other. In some implementations, the equal intervals 212 are 500 meters. In other implementations, the intervals 212 between adjacent transmitters 202 may range from 100 meters to 1,000 meters. However, the scope of the invention is not limited to this. In other implementations, the spacing 212 between adjacent transmitters 202 may be irregular, and the transmitters 202 along each radius 210 are spaced at different intervals. Furthermore, the transmitter spacing 212 along radius 210 may be selected to measure spatial variations in the measured electric and magnetic fields resulting from the STB scan. For example, the pattern pattern of the transmitters 202 and the length of the grounded dipoles may be a function of the depth from the tank surface as well as the desired resolution. In other cases, the design of 202 transmitters may also be affected by surface infrastructure, such as roads, power lines, and wells.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Reference stations 208 are installed for each profile in azimuthal and radial directions relative to the well. For example, as shown in Figure 2, reference stations 208 are also placed on radii 210. Reference stations 208 are located diagonally outward from transmitters 202 along each radius 210. Therefore, reference stations 208 are placed such that the set of transmitters 202 on each radius 210 is between drill hole 206 and the corresponding reference station 208. As shown in Figure 2, radii 210 are aligned on opposite sides of drill hole 206. In other applications, alignment of radii 210 is not necessary.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each reference station 208 is located at a distance of radius 210 where the vertical magnetic field from the low-frequency transmission approaches the direct current (DC) field of the transmitters 202 located on the same side of the borehole 206. The reference station 208 is based on the average resistivity of the caprock. In particular, the reference station 208 is located in the near field of the transmitter 202, where the separation between the transmitter 202 and the reference station 208 is less than the depth of the surface layer of the conductor. The depth of the surface layer of the conductor is determined according to the following equation:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> surface layer depth<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> = 503× square root of (resistance / frequency) (Equation 1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">where resistivity is the average resistivity of the rock layer (obtainable from well logs) and frequency is the transmission frequency. However, for typical oil-bearing formations, reference stations 208 may be located up to 5 km from drillhole 206. This location provides a separation between the transmitting station and the reference station of approximately 1 km to 6 km. However, the scope of the invention is not limited to this. In other applications, one or more reference stations 208 may be located less than 5 km or more than 5 km from drillhole 206. Thus, the separation between the transmitting station and the reference station may be less or more than 5 km.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The dipoles of the electric field source (transmitters 202) generate electric fields within the ground, and the receiver 204 monitors the resulting electric fields, magnetic fields, or both, as they are influenced by the ground. In particular, the receiver 204 can make measurements of the electric fields, magnetic fields, or both, generated by the transmitters 202 in both axial and equatorial configurations. As a result, the receiver 204 monitors the resulting vertical electric fields and vertical magnetic fields generated by the transmitters 202. Analysis of the measured vertical electric and magnetic fields in the borehole provides an estimate of the resistivity of the surrounding reservoir.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The electric and magnetic fields generated by the transmitters 202 are affected by the inhomogeneities present in the near-surface formation 124. The galvanic distortion associated with this inhomogeneity leads to inaccurate readings of the tank 112 and thus to inaccurate monitoring of the water interface within the tank 112. The inhomogeneities to be corrected may be small relative to the spacing between the transmitters and thus constitute noise for the STB measurements. The galvanic distortion caused by this inhomogeneity results in a frequency-independent capacitive shift or gain in the amplitude of the electric field measurements while leaving the phase of the resulting electric field largely unchanged. This frequency-independent shift or gain is referred to as a "static shift." The primary effect of this inhomogeneity is a change in the amplitude of the electric field. To remove the distortion and improve the representation of the tank, the distortion caused by the inhomogeneity is removed using recorded reference electric and magnetic field measurements, which may in some cases be recorded during the STB acquisition.<h2 style=";text-align:left;direction:ltr">In other applications, magnetic and electric field measurements may be collected at a time other than the time the STB survey measurements are made. Reference electric and magnetic field measurements are obtained by reference stations 208. Reference stations 208 acquire reference electric and magnetic measurements using magnetic geophysical acquisition systems or other similar recording devices.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 3 illustrates an example of a reference station, which may be similar to reference station 208, in the form of a natural source geophysical magnetic system 300. The example geophysical magnetic system 300 includes a recorder 302, two grounded orthogonal dipoles 304; three induction coil magnetometers 306; a power source, such as a battery 308; and a geolocation antenna 310 used to determine the location of reference station 208 and for timing purposes. In some applications, recorder 302 is a 24-bit recorder. However, in other applications, recorder 302 may be of any other required size. Each of the grounded orthogonal dipoles 304 has opposing electrodes. The east-west ground dipole 304 includes an east pole 316 and a west pole 318. The north-south ground dipole 304 includes a north electrode 312 and a south electrode 314. The representative reference station also includes a ground electrode 320. Other reference station configurations may be included. At each reference station 208, five electromagnetic field components are measured.<h2 style=";text-align:left;direction:ltr">These five components are Ex, Ey, Hx, Hy, and Hz. The grounded orthogonal dipoles 304 measure the Ex and Ey components of the electric field, while the induction coil magnetometers 306 measure the Hx, Hy, and Hz components of the magnetic field. In other applications, other types of devices can be used to measure the vertical magnetic field that occurs naturally in a formation, also referred to as the Earth's vertical magnetic field. For example, devices capable of making synchronous electric and magnetic field measurements with satellites can be used for this purpose. The vertical magnetic field, Hz, and the horizontal electric fields, Ex and Ey, are the specific components used to remove near-surface galvanic distortion in STB survey measurements, as will be discussed in more detail below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Near-surface resistivity often varies spatially on a much smaller scale than the geophysical study. These small variations, which produce distortions in STB measurements, may be related to weathering (erosion), karst phenomena, or variations in soil and sand cover. When these small-scale features are present, the galvanic distortions produced by these small-scale features become aliased and serve as noise for larger geophysical studies.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">STB measurements of the resulting electric field obtained by the receiver 204 can be performed in parallel with the transmitters 202 in both coaxial and equatorial configurations. The resulting electric field is symmetrical with the electric field generated by the transmitters 202 and is affected by configurations, particularly near-surface inhomogeneities. As a result of galvanic distortion resulting from near-surface inhomogeneities, the resulting vertical electric field measurements are shifted in amplitude, with some of the transmitting torque in the vertical transmitter being lost due to the distortion. Therefore, the first-order distortion effects resulting from near-surface inhomogeneities are frequency-independent amplitude shifts that leave the phase unchanged. These "static shifts" can be removed using reference electric and magnetic field measurements, in particular vertical magnetic field measurements obtained by reference stations, such as the reference station 300 shown in Figure 3.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Reference measurements obtained by the reference stations 300 are made in axial and equatorial configurations relative to the STB transmitters 202 (i.e., transmitting dipoles) as shown, for example, in Figure 2. Distortions in the STB data can be eliminated by realizing that the Earth's vertical magnetic field becomes independent of the resistivity structure at low frequencies. Low frequencies include frequencies from 0.1 to 10 Hz. The vertical DC magnetic field is obtained by:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> (Equation 2)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In Equation 2, I is the current; dl is the length of the dipole; R is the separation between the transmitter and the receiver; and Ɵ is the angle from the vertical axis of the transmitter.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4 illustrates a plot of the Earth's vertical magnetic field (in hertz) (with units in nanotesla (nT)) measured by a reference station (such as the 300 reference station shown in Figure 3) with an offset of 6 km and half-spaces ranging from 10 to 1000 ohm-m, where the offset dictates the separation between a transmitter and a reference station and where the half-space is an area of ​​the Earth's surface with a constant resistivity. Although the reference station is described as having an offset of 6 km in the described example, other offsets fall within the scope of the invention. In other applications, the offset of one or more reference stations may be less than 6 km, while in still other applications, the offset of one or more reference stations may be greater than 6 km. Figure 4 illustrates the calculated vertical magnetic fields at varying frequencies for fixed and variable resistivities. In particular, in the example shown, the resistors are 10 Ω, 32 Ω, 100 Ω, 320 Ω, and 1000 Ω. The DC magnetic field is independent of the resistivity, as indicated by the 400 line.<h2 style=";text-align:left;direction:ltr">For each of these vertical magnetic fields shown in Figure 4, the relevant curves converge to the DC value at low frequencies. The frequency at which the value approaches the DC value depends on the resistivity (as shown in Figure 4). Therefore, what is considered a low frequency can vary depending on the resistivity. The frequency at which this convergence occurs depends on the resistivity, as shown in Figure 4. Therefore, at low frequencies, the Earth's vertical magnetic field can be approximated by a DC magnetic field. This approximation occurs at displacements less than the depth of the surface layer of the conductor, as explained previously.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The galvanic distortion present in the acquired STB data is removed by determining the static offset by equating the Earth's vertical magnetic field measured by the reference stations with the transmitter's calculated DC value, as previously mentioned. Figure 5 graphically illustrates this correction. The gain recovered from the 0.1 Hz vertical magnetic field offset will approximately restore the observed electric field shift.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 12 illustrates an example of method 1200 for removing galvanic distortions associated with near-surface inhomogeneities using a static displacement correction factor. At step 1202, the STB survey is initiated. In step 1204, a horizontal electric field and a vertical magnetic field are generated at the ground surface by an array of dipole transmitters. The dipole transmitters may be arranged in an array of radii extending outward from the borehole. In step 1206, the generated vertical magnetic field and the generated vertical electric field at reservoir depth are monitored by an STB receiver located in the borehole. In step 1208, the vertical ground magnetic field is monitored using an array of geophysical magnetic reference stations. An array of reference stations may be used. Each reference station is aligned with one of the radii extending outward from the borehole, and the reference stations are positioned outward from the dipole transmitters located in the radii. In some cases, vertical ground magnetic field measurements may be made during the STB survey.<h2 style=";text-align:left;direction:ltr">In other cases, vertical ground magnetic field measurements may be made at a different time. In Step 1210, using the equation (which corresponds to Equation 2, described earlier), the observed vertical magnetic field measured by a reference station is equated to a specified DC value for each of the dipole transmitters located in a radial member on the opposite side of the borehole but parallel to the radial member containing the reference station. In Step 1212, a static offset correction factor for the survey STB measurements is determined by substituting the term (dipole moment) in Eq. In Step 1214, the static offset correction factor is applied to the vertical magnetic field and vertical electric field measurements observed deep within the reservoir during the STB survey, as well as to the observed vertical ground magnetic field, to remove galvanic distortion associated with near-surface inhomogeneities and provide a representation of the reservoir resistivity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This method of eliminating galvanic distortion reduces the cost associated with other methods that involve attempting to mitigate near-surface galvanic distortions by taking dense near-surface samples with shallow electromagnetic data collection or installing transmitter electrodes in shallow boreholes. In some applications, shallow boreholes may be 5 to 7 meters (m) deep. In other applications, shallow boreholes may be greater than 7 meters deep. The methods described in the present invention avoid this cost because these additional boreholes are not required.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Another method for correcting for the electric field near the surface or the galvanic distortion caused by near-surface inhomogeneities will now be described. It has been shown that when measuring an electric field near a small resistivity imbalance and at low frequencies where the anomalous induction currents have vanished, the measured electric field is the electric field that would be measured in the absence of imbalances multiplied by a frequency-independent distortion tensor. Low frequencies are frequencies below 10 Hz.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The measured electric field becomes:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Emeas = D Eundistorted (Equation 3)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where Emeas is the measured electric field, D is a 2×2 true deformation tensor, and Eundistorted is the electric field that would be measured in the absence of galvanic distortion due to near-surface inhomogeneities, which can be referred to as small-scale resistivity imbalances. The orthogonal components of the measured electric field are a mixture of the undeformed components. This distortion can be mitigated. For example, when the data are in the coordinate system of a larger structure, such as undeformed mantle rock, the distortion reduces to frequency-independent acquisitions of each electric field component, called static displacements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The near-surface galvanic distortion removal described earlier can be affected by man-made magnetic field noise generated, for example, by load changes in power lines or magnetic fields produced by cathodic protection devices. To avoid these effects, statistically more robust methods using a distortion tensor have also been explored. According to another application, near-surface galvanic distortion is removed by incorporating a distortion tensor generated using reference measurements, described later, into the STB survey measurements. An inversion to correct for these distortions can be performed prior to STB data analysis or as part of the analysis process to estimate reservoir properties.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 6 and 7 illustrate an example of a three-dimensional protective ground resistivity model 600 used to illustrate the removal of near-surface galvanic distortion caused by near-surface heterogeneities. Model 600 includes an STB scanning setup similar to that described previously in the context of Figures 1 and 2. Figure 6 is a schematic view of Model 600, and Figure 7 is a cross-sectional view of Model 600. Model 600 includes seven near-surface resistivity anomalies 602 aligned with a series of transmitters 601 arranged in a linear fashion. The near-surface resistivity anomalies 602 represent the images of the anomalies. In the illustrative example shown in Figure 6, the transmitters 601 are distributed over a distance of 10,000 meters. However, as previously explained, the distance over which the transmitters are distributed may vary. For example, this distance may vary depending on the depth of the reservoir. The transmitters 601 may be a grounded dipole transmitter, similar to that described previously. The transmitter assembly 601 is placed on the surface 608. The anomalies 602 are 10 meters (m) thick, have resistances ranging from 0.1 to 1000 ohm-meters, and are located in a layer 620 with a resistivity of 46.<h2 style=";text-align:left;direction:ltr">5 ohm-meter. The number of near-surface resistivity anomalies 602 is not significant for the corresponding galvanic distortion removal methods described in the present invention, and the number of anomalies 602 in exemplary embodiment 600 is provided only as an example to illustrate the effectiveness of the disclosed methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 is a cross-sectional view of the three-dimensional resistivity model 600 shown in Figure 6 taken along a pair of radii 622 and showing formations 604 overlying reservoir 606. The resistivities of the various formations 604 are shown in the diagram with the key 621. In this example, reservoir 606 is approximately 2,000 meters from surface 608. Drillhole 610 extends from surface 608 to reservoir 606. Wellbore receiver 612 is located within drillhole 610 at the depth of reservoir 606.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figures 8 and 9 show the amplitude and phase, along a cross-section, of the simulated STB scan measurements obtained from the model 600 in Figures 6 and 7. Figure 8 shows the amplitude of the vertical electric field data in volts per meter (V / m) measured by the receiver 612 as a result of the electric fields generated by the transmitters 601. The surface receivers 614 are placed at the surface 608 at opposite ends of the transmitter string 601 such that the transmitter string 601 is located between the surface receivers 614. In some applications, the surface receivers 614 may be similar to the surface receiver 300 previously described. The surface receivers 614 measure the electric and magnetic fields generated by the transmitters 601 and affected by the configurations 604.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Curve 800 represents the unadjusted electric field measurements along a profile. The x-axis in Figure 8 is the position along the profile, expressed in kilometers or 1E3 m. Points 802 indicate the electric field with distortion associated with the near-surface resistivity anomaly 602. The goal is to recover the unadjusted electric field data to reconstruct the reservoir resistivity. As Figure 8 shows, the electric field curve 800 generally does not agree well with points 802, which reflect the electric field with galvanic distortion from the near-surface anomalies 602. This mismatch is the result of the resistivity distortion caused by the near-surface anomalies 602.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 9 shows the phase of the vertical electric field data measured by receiver 612 along the profile. The x-axis in Figure 9 is the position along the profile, expressed in kilometers or 1E3 m. Thus, as shown in Figures 8 and 9, the phase is unchanged due to the disturbances 602, while the amplitude changes in the presence of the disturbances 602.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To remove galvanic distortion near the surface for this application, deformation tensors that describe the electric field distortion are used. The deformation tensors are generated using reference measurements taken by surface receivers 614. STB analysis software (such as EMGeo® produced by Lawrence Berkeley National Laboratory at 1 Cyclotron Road, Berkeley, California) can be used to insert the electric field measurements to remove the distortion. The distortion is removed by inverting the reference measurements, which are the electric field measurements taken at surface receivers 614 and a downhole receiver 612. For example, the reference measurements can be obtained simultaneously with STB survey measurements. For each transmitter 601, the vertical electric field in the reservoir is measured by the downhole receiver 612 (representing the STB survey data), while the horizontal electric field is measured by the surface receiver 614 (representing the reference data). This inversion can be performed prior to STB data analysis or as part of the process to estimate reservoir properties.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 10 illustrates another cross-section of the model 600 shown in Figures 6 and 7. It also illustrates the electric field measurements obtained from the output of the two STB transmitters 601 by the downhole receiver 612 and the surface receivers 614. Model 600 is a starting resistivity model constructed using well log and surface geophysical data and may be similar to Model 100 shown in Figure 1. The resistivities of the various formations 604 are shown graphically in key 621. This resistivity estimates the resistivity of the rock formations 604 based on the well log data. The vertical electric field is measured by the downhole receiver 612, and the horizontal electric field is measured by the surface receivers 614. The rock formations 604 of Model 600 adjacent to the reservoir 606 have a uniform resistivity set to a value derived from the interpretation of the well logs. The near-surface galvanic distortion corrections are determined for two of the 601 dipole transmitter arrays for radially oriented sources, as shown in Fig. 10 as Tx1 and Tx2, for example.<h2 style=";text-align:left;direction:ltr">Corrections for these two transmitters, Tx1 and Tx2, are made using horizontal reference electric field measurements. The horizontal reference electric field measurements are made by the 614 surface receivers, shown in Figure 10 as R1 and R2 (also referred to as the reference stations). Since distortion causes the equivalent of a gain factor, horizontal electric fields measured at the surface are shifted by the same factor as the vertical electric fields measured downhole. Therefore, for each transmitter Tx1 and Tx2, one of the diagonally oriented reference electric field measurements is made by R1, while the other reference measurement is made by R2. It is assumed that all electric field measurements and transmissions have near-surface distortion, including those made by the 614 surface receivers (i.e., R1 and R2).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this example, the electric fields generated by transmitters Tx1 and Tx2, which are influenced by formations, are simultaneously recorded in borehole 610 by the downhole receiver 612 as part of the STB survey and by surface receivers 614, R1 and R2, to correct for near-surface galvanic distortion. In the example shown, surface transmitters Tx1 and Tx2 are radially oriented dipole sources, and each of the reference stations, R1 and R2, records two horizontal components of the electric field, i.e., the eradial and azimuthal, and one component of the magnetic field, i.e., the vertical component of the magnetic field, Hvertical, for each transmitter Tx1 and Tx2. The correction for transmitters Tx1 and Tx2 is obtained using the eradial field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The system of equations resulting from the two axial or equatorial reference measurements for each transmitter Tx1 and Tx2 is as follows:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> E1 = 𝑆𝑇𝑥1 𝑆𝑅1 𝐸1𝑢𝑛𝑑𝑖𝑠𝑡ortEd (Equation 4)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 𝐸2 = 𝑆𝑇𝑥1 𝑆𝑅2 𝐸2𝑢𝑛𝑑𝑖𝑠𝑡ortEd (Equation 5)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> E3 = 𝑆𝑇𝑥2 𝑆𝑅1 𝐸3𝑢𝑛𝑑𝑖𝑠𝑡ortEd (Equation 6)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">𝐸4 = 𝑆𝑇𝑥2 𝑆𝑅2 𝐸4𝑢𝑛𝑑𝑖𝑠𝑡ortEd (Equation 6)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This set of equations gives the electric fields (E1 and E2) observed at R1 and R2 due to the transmissions from Tx1 and the electric fields (E3 and E4) observed at R1 and R2 due to Tx2. STx1, STx1, SR1, and SR2 are gauge or distortion factors due to galvanic distortion near the surface, and these gauge factors are determined using the indicated system of equations. These gauge factors represent "D" in the equation 𝐸𝑚𝑒𝑎𝑠 = 𝐷𝐸 undistorted, described earlier. The gauge distortion factors STx1 and STx2 are "gains" that are or can be generated by the structures near Tx1 and Tx2, respectively, and by the potential structures at R1 and R2, respectively. E1 and E2 are the diagonal electric fields measured at R1 and R2 resulting from Tx1 and Tx2, while E3 and E4 are the diagonal electric fields measured at R1 and R2 resulting from Tx2. E1, E2, E3, and E4 are radial electric fields.<h2 style=";text-align:left;direction:ltr">The equations also show the electric fields E1, E2, E3, and E4 as a product of the galvanic distortion-free electric fields near the surface, i.e., E1undistorted, E2undistorted, E3undistorted, and E4undistorted, respectively. E1undistorted, E2undistorted, E3undistorted, and E4undistorted are the radial electric fields predicted by R1 and R2 using the resistivity model 600. The inversion process is used to compensate for the four distortion factors, STx1, STx1, SR1, and SR2. The inversion process also simultaneously adjusts the initial resistivity model 600 to fit the measured data, i.e., the electric field data recorded by the surface receivers 614 and generated by the transmitters 601.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this example, the system of equations contains four equations with four unknowns: STx1, STx1, SR1, and SR2. In some applications, these unknowns are determined using least-squares minimization. For example, the STB analysis software previously mentioned can be used to perform least-squares minimization to determine unknown distortion factors. Furthermore, as more transmitters 601 are added, the number of equations increases more rapidly than the number of unknowns. Although the number of surface receivers 614 may also increase as the number of transmitters 601 increases, the number of surface receivers 614 increases more slowly. Therefore, scaling factors are determinable. For example, in some applications, scaling factors can be determined by least-squares minimization added to the 3D inversion of the STB survey measurement data. The 3D inversion calculates the electric fields measured at the reference stations and iteratively changes the starting resistivity model so that the electric fields predicted by the resistivity model match the electric fields measured by the surface receivers.<h2 style=";text-align:left;direction:ltr">Distortion factors are found simultaneously, and introducing distortion factors prevents the introduction of unnecessary resistive structures. By determining distortion factors for each transmitter, the distortion factors are applied to the STB scan data to correct for galvanic distortions caused by near-surface inhomogeneities.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each of the STB survey measurements is multiplied by the deformation tensor of the transmitter, which generates the vertical electric field measured by the borehole receiver. Thus, there is a tensor for each transmitter, and this tensor is multiplied by the vertical electric field generated by the transmitter and measured by the borehole receiver. In the proposed acquisition geometry, where all measurements are made in an axial or equatorial configuration parallel to the transmitters (such as the acquisition geometry shown in Figures 2 and 6), these tensors are reduced to a single odd number. Since each dipole transmitter 601 has at least two axial or equatorial reference measurements (again obtained by R1 and R2, respectively), the resulting system of equations has an equal number of equations and fields and can be solved by incorporating the inversion of the STB data into an analysis.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 11 shows the amplitude of the electric field measurements for the simulated STB scan shown in Figure 8, corrected using the distortion tensor determined via 3D inversion. The distortion factors allow the STB data to be inverted without bias due to small variations in shallow resistivity. As previously explained, points 802 indicate the electric field with distortion associated with near-surface resistivity anomalies 602. The solid curve 1000 represents the model response calculated with the electric field corrections described previously. Specifically, the solid curve 1000 is the vertical magnetic field measurements with the addition of near-surface galvanic distortions. As can be seen, the solid curve 1000 follows points 802 as a result of the correction. The dashed line 1010 illustrates the curve 800 previously shown in Figure 8 and represents the response of the model 600 without near-surface distortion. Therefore, as shown, the deformation tensor and STB inversion produce an inversion of the resistivity within the reservoir and, therefore, provide a representation of the reservoir and how the water interface within the reservoir moves over time which is improved compared to existing methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 13 is an example of method 1300 for removing galvanic distortions associated with near-surface inhomogeneities using a deformation tensor and reflection for STB reference measurements. At step 1302, the STB survey is initiated. At step 1304, a first electric field and a first magnetic field are generated at a first location on the ground surface. The first electric field may have a radial component, Eradial1, and an azimuthal component, Eazimuthal1, and the first magnetic field may have a vertical component, Hvertical1. At step 1306, a second electric field and a second magnetic field are generated at a second location on the ground surface. The second electric field may have a radial component, Eradial2, and an azimuthal2, and the second magnetic field may have a vertical component, Hvertical2. At step 1308, the first electric field, the second electric field, the first magnetic field, and the second magnetic field are measured at the depth of the reservoir. In step 1310, the first electric field and the second electric field were measured at two locations on the Earth's surface. The two locations on the Earth's surface may differ from the first and second locations on the Earth's surface.<h2 style=";text-align:left;direction:ltr">For example, as shown in Figure 10, the two locations at which the first and second electric fields are measured on a surface may be two surface receiver locations 614. One location may be located outside the array of dipole transmitters and aligned with the array. The second location may be located outside the second array of dipole transmitters and aligned with the second array. The first and second arrays may be aligned. In step 1312, the deformation tensor is determined from a system of equations similar to the one described previously, using the electric field measurements measured at the two locations on the ground surface. In step 1314, the deformation tensor is applied as an inversion of the measured Eradial1 and Eradial2 at the depth of the reservoir to remove galvanic distortion associated with near-surface inhomogeneities and to provide a representation of the reservoir resistivity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 14 is a block diagram of an example of a computer system 1400 used to provide computational functions associated with the algorithms, methods, functions, processes, flows, and procedures described in the present invention, according to certain implementations of the present invention. The computer 1402 is designed to include any computing device such as a server, desktop computer, laptop / notebook computer, wireless data port, smartphone, personal data assistant (PDA), tablet computer, or one or more processors within such devices, including physical, virtual, or both. The computer 1402 may include input devices such as keys, keyboards, and touchscreens that can accept user information. The computer 1402 may also include output devices that can transmit information related to the operation of the computer 1402. The information may include numeric data, visual data, audio information, or a combination of these information. The information may be displayed in a graphical user interface (UI) (or GUI).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer 1402 may act as a client, network component, server, database, or fixed component, or as a component of a computer system to perform the subject matter described in the present invention. The computer 1402 is connected via communications to the network 1430. In some implementations, one or more components of the computer 1402 may be configured to operate in various environments, including cloud-based environments, local environments, global environments, and a combination thereof.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> At a high level, computer 1402 is an electronic computing device that can be operated to receive, transmit, process, store, and manage data and information related to the subject matter described. Depending on some implementations, computer 1402 may also include, or be connected to, an application server, email server, web server, caching server, streaming data server, or a combination of servers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Computer 1402 may receive requests over the network 1430 from a client application (e.g., executing on another computer 1402). Computer 1402 may respond to incoming requests by processing the received requests using software applications. Requests may also be sent to computer 1402 from internal users (e.g., from a command console), third parties (or third parties), automated applications, entities, individuals, systems, and computers.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Each component of the computer 1402 can communicate using a system bus 1403. In some implementations, any or all of the computer components 1402, including hardware or software components, can interact with each other or with the interface 1404 (or a combination thereof), via the system bus 1403. Interfaces can use an application programming interface (API) 1412, a service layer 1413, or a combination of API 1412 and a service layer 1413. API 1412 can include specifications for procedures, data structures, and object classes. API 1412 can be either language-independent or language-dependent. API 1412 can refer to an entire interface, a single function, or a set of APIs.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The service layer 1413 may provide software services to computer 1402 and other components (whether or not shown) that are connected via communications to computer 1402. The functionality of computer 1402 is accessible to all service consumers using this service layer. Software services, such as those provided by service layer 1413, may provide reusable functionality defined through a specific interface. For example, the interface may be a program written in JAVA, C++, or a language that provides data in Extensible Markup Language (XML) format. While illustrated as an integrated component of the computer 1402, in alternative implementations, the API 1412 or the service layer 1413 may be independent components of the rest of the computer 1402 and other components connected via communications to the computer 1402. Furthermore, any or all parts of the API 1412 or the service layer 1413 may be implemented as a sub-module or child of another software module, enterprise application, or hardware module without departing from the scope of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Computer 1402 includes an interface 1404. Although illustrated as a single interface 1404 in Figure 14, two or more interfaces 1404 may be used depending on the particular needs, desires, or applications of computer 1402 and the functions described. Interface 1404 may be used by computer 1402 to communicate with other systems connected to the network 1430 (whether or not shown) in a distributed environment. In general, interface 1404 may include, or be implemented using, logic coded in software or hardware (or a combination of software and hardware) operable for communication with the network 1430. More specifically, interface 1404 may include software that supports one or more communication protocols associated with the communications. Thus, the network 1430 or the interface devices may be operated to communicate physical signals into and out of the computer shown 1402.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer 1402 includes a processor 1405. Although illustrated as a single processor 1405 in Figure 14, two or more processors 1405 may be used depending on the particular needs, desires, or applications of the computer 1402 and the functions described. In general, the processor 1405 can execute instructions and process data to perform computer operations 1402, such as operations using the algorithms, methods, functions, processes, flows, and procedures described in the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer 1402 also includes a database 1406 that can hold data from the computer 1402 and other networked components 1430 (whether or not shown). For example, the database 1406 may be an internal or conventional memory database or a database that stores data consistent with the present invention. In some implementations, the database 1406 may be a combination of two or more different database types (e.g., a hybrid of an internal memory and a conventional database) depending on the particular needs, demands, or applications of the computer 1402 and the described function. Although illustrated as a single database 1406 in Figure 14A, two or more databases (of the same or different types or a combination of types) may be used depending on the particular needs, demands, or applications of the computer 1402 and the described function. Although the database 1406 is presented as an internal component of the computer 1402, in alternative implementations, the database 1406 may be external to the computer 1402.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer 1402 also includes a memory 1407 that can hold data for the computer 1402 or a set of networked components 1430 (whether or not shown). The memory 1407 can store any data consistent with the present invention. In some implementations, the memory 1407 may be a combination of two or more different types of memory (e.g., a combination of semiconductor and magnetic storage media) depending on the particular needs, demands, or applications of the computer 1402 and the described function. Although depicted as a single memory 1407 in Figure 14A, two or more memories 1407 (of the same, different types, or a combination of types) may be used depending on the particular needs, demands, or applications of the computer 1402 and the described functions. Although the memory 1407 is intended as a component internal to the computer 1402, in alternative implementations, the memory 1407 may be external to the computer 1402.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The application 1408 may be an algorithmic software engine that provides functionality tailored to the particular needs, requirements, or applications of the computer 1402 and the functions described. For example, the application 1408 may operate as one or more components, modules, or applications. Furthermore, although presented as a single application 1408, the application 1408 may be executed as multiple applications 1408 on the computer 1402. Furthermore, although presented as internal to the computer 1402, in alternative implementations, the application 1408 may be external to the computer 1402.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The computer 1402 may also include a power supply 1414. The power supply 1414 may include a rechargeable or non-rechargeable battery that can be configured to be either user-replaceable or non-user-replaceable. In some implementations, the power supply 1414 may include circuitry for power conversion and management, including recharging, standby, and power management functions. In some implementations, the power supply 1414 may include a power plug to allow the computer 1402 to be connected to a wall outlet or power source, for example, to power the computer 1402 or recharge a rechargeable battery.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Any number of computers 1402 may be connected to or external to a computer system containing computer 1402, each computer 1402 being connected via network 1430. Furthermore, the terms "client," "user," and other appropriate terms may be used interchangeably, as needed, without departing from the scope of the present invention. Furthermore, the present invention assumes that multiple users may use a single computer 1402 and that a single user may use multiple computers 1402.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The described applications of the invention may include one or more of the features, either alone or in combination.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, in a first application, a computer-implemented method is provided for removing galvanic distortion associated with near-surface heterogeneity images from surface-to-borehole (STB) survey measurements to provide resistivity information for an oil-bearing reservoir, wherein the method comprises: generating a horizontal electric field and a vertical magnetic field at the ground surface using a dipole transmitter; measuring the vertical electric field and the vertical magnetic field at the reservoir depth; measuring a vertical magnetic field; determining the DC value of the dipole transmitter; equating the magnetic field measurements to a DC value determined according to the equation; substituting I dl into the equation to determine a static offset correction factor; and applying the static offset correction factor to the vertical magnetic field measurements, the vertical electric field measurements, and the vertical magnetic field measurements to remove galvanic distortion associated with near-surface heterogeneity images and provide a reservoir resistivity representation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each of the above and other described applications may optionally include one or more of the following features:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The first feature, which may be combined with any of the following features, whereby the generation of a vertical magnetic field at the Earth's surface using a dipole transmitter comprises the generation of a magnetic field using each device an array of dipole transmitters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A second feature, which may be combined with any of the previous or following features, is where the array of dipole transmitters is placed in a set of radii extending outward from the drill hole, each radius being aligned with another radius on an opposite side of the drill hole.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A third feature, which can be combined with any of the previous or subsequent features, involves measuring the low-frequency magnetic field generated by the dipoles of STB transmitters. Specifically, the frequency is reduced to a value close to that of a direct current vertical magnetic field.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A fourth feature, which can be combined with any of the previous or following features, whereby determining the DC value of a bipolar transmitter includes determining the DC value of each bipolar transmitter in the group of bipolar transmitters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A fifth feature, which can be combined with any of the previous or following features, is measuring the vertical magnetic field at the depth of the tank. This involves measuring the vertical magnetic field with an STB receiver placed in the drill hole at the depth of the tank.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In a second implementation, a computer-readable, non-transmissive medium is provided that stores one or more instructions executable by a computer system to perform operations comprising: generating a first electric field and a first magnetic field at a first location on the Earth's surface, wherein the first electric field includes a radial component, Eradial1, and an azimuthal component, Eazimuthal1, and a first magnetic field includes a vertical component, Hvertical1; generating a second electric field and a second magnetic field at a second location on the Earth's surface, wherein the second electric field includes a radial component, Eradial2, and an azimuthal component, Eazimuthal2, wherein the second magnetic field includes a vertical component, Hvertical2; measuring Eradial1, Eradial2, Eazimuthal1, Eazimuthal2, Hvertical1, and Hvertical2 at the depth of the reservoir; and measuring Eradial1, Eradial2, Eazimuthal1, Eazimuthal2, Hvertical1, and Hvertical2 at the first and second measuring locations on the Earth's surface; Determine the deformation tensor from the scaling factors STx1, STx2, SR1, and SR2 according to the following set of equations:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 𝐸1 = 𝑆𝑇𝑥1 𝑆𝑅1 𝐸1𝑢𝑛𝑑𝑖𝑠𝑡ortEd;<h2 style=";text-align:left;direction:ltr"> 𝐸2 = 𝑆𝑇𝑥1 𝑆𝑅2 𝐸2𝑢𝑛𝑑𝑖𝑠𝑡ortEd؛ 𝐸3 = 𝑆𝑇𝑥2 𝑆𝑅1 𝐸3𝑢𝑛𝑑𝑖𝑠𝑡ortEd؛ 𝐸4 = 𝑆𝑇𝑥2 𝑆𝑅2 𝐸4𝑢𝑛𝑑𝑖𝑠𝑡ortEd؛ <h2 style=";text-align:left;direction:ltr">where E1 corresponds to Eradial1 measured at the first measurement location, where E2 corresponds to Eradial1 measured at the second measurement location, where E3 corresponds to Eradial2 measured at the first measurement location, where E4 corresponds to Eradial2 measured at the second measurement location, where E1undistorted corresponds to a radial electric field at the first location without near-surface inhomogeneities, where E2undistorted corresponds to a radial electric field at the second location without near-surface inhomogeneities, where E3undistorted corresponds to a radial electric field at the first location without near-surface inhomogeneities, and where E4undistorted corresponds to a radial electric field at the second location without near-surface inhomogeneities, where E1undistorted, E2undistorted, E3undistorted, and E4undistorted are the expected values ​​obtained from the initial resistivity model, and determine the deformation tensor by applying inversion to the set of equations; The deformation tensor is applied during the inversion of Eradial1 and Eradial2 measured at the first and second measurement locations to remove the galvanic distortion associated with near-surface inhomogeneities and provide a representation of the reservoir resistivity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Each of the foregoing and other described applications may, optionally, include one or more of the following features:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The first feature, which may be combined with any of the following features, wherein generating a first electric field and a first magnetic field at a first location on the Earth's surface comprises generating a first electric field and a first magnetic field using a dipole transmitter, and wherein generating a second electric field and a second magnetic field at a second location on the Earth's surface comprises generating the second electric field and a second magnetic field using a dipole transmitter.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A second feature, which may be combined with any of the preceding or following features, wherein the first location is on a first side of a drill hole extending from the surface to the reservoir and wherein the second location is on a second side of a drill hole opposite the first side.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A third characteristic, which may be combined with any of the preceding or following characteristics, wherein the first dipole transmitter is placed at a first radius of a set of dipole transmitters, wherein the second dipole transmitter is placed at a second radius of a set of dipole transmitters, and wherein the first radius is aligned with the second radius.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A fourth feature, which may be combined with any of the preceding or following features, wherein the first dipole transmitter and the second dipole transmitter form an array of dipole transmitters, the array of dipole transmitters being placed at a set of radii extending outward from the drill hole.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A fifth feature, which can be combined with any of the previous or following features, is where the radii are aligned on opposite sides of the drill hole.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A sixth characteristic, which may be combined with any of the preceding or following characteristics, wherein measurements obtained at the first measurement site and the second measurement site are obtained by a first reference station located at the first measurement site and a second reference station located at the second measurement site, wherein the first reference station and the second reference station form part of a plurality of measuring stations, and wherein each station of the plurality of measuring stations is aligned with one of the radii of the plurality of radii and is positioned diagonally outward from the dipole transmitters positioned in the radius in which the measuring station is located.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The implementations of the invention and the functional operations described in this specification may be implemented in digital electronic circuits, in tangible computer software or firmware, or in computer devices, including the architectures disclosed in this specification and their structural equivalents, or in combinations of one or more of these. The software implementations of the subject matter of the invention may be implemented as one or more computer programs. Each computer program may include one or more units of computer program instructions encoded on a physical, non-transitable, computer-readable computer storage medium to execute or control the operation of a data processing device. Alternatively, or in addition, the program instructions may be encoded in / on an artificially generated signal. For example, the signal may be a machine-generated electrical, optical, or electromagnetic signal created to encode information for transmission to a suitable receiver for execution by the data processing device.<h2 style=";text-align:left;direction:ltr">Computer storage media may be a machine-readable storage medium, a machine-readable storage substrate, a random access memory or serial memory medium, or a combination of computer storage media.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The terms "data processing device," "computer," and "electronic computing device" (or their equivalents as understood by a person of ordinary skill in the art) refer to hardware and software for processing data. For example, a data processing device may include any type of device, facility, or machine used for data processing, including, for example, a programmable processor, a computer, or multiple processors or computers. A device may also include special-purpose logic circuits, including, for example, a central processing unit (CPU), a field-programmable gate array (FPGA), or an application-specific integrated circuit (ASIC). In some implementations, the data processing device or special-purpose logic circuits (or a combination of data processing devices or special-purpose logic circuits) may be hardware-based or software-based (or a combination of hardware and software).<h2 style=";text-align:left;direction:ltr">The device may optionally include code that creates an execution environment for computer programs, e.g., code that constitutes the processor firmware, protocol stack, database management system, operating system, or a combination of execution environments. The present invention includes the use of data processing devices with or without conventional operating systems, e.g., LINUX, UNIX, WINDOWS, MAC OS, ANDROID, or IOS.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A computer program, which may be referred to or described as a program, software, software application, module, software unit, text, or code, may be written in any form of programming language. Programming languages ​​may include, for example, compiled languages, interpreted languages, declarative languages, or procedural languages. Programs may be deployed in any form, including stand-alone programs, modules, components, subroutines, or units used in a computing environment. A computer program may, but need not, correspond to a file in a file system. Programming may be stored in a portion of a file containing other programs or data, for example, one or more pieces of text stored in a markup language document, in a single file dedicated to the program in question, or in multiple formatted files storing one or more modules, subroutines, or pieces of code. A computer program may be deployed for execution on a single computer or on multiple computers located, for example, at a single location or distributed across multiple locations interconnected by a communications network.<h2 style=";text-align:left;direction:ltr">Although the software components shown in the various figures are presented as individual modules that implement different features and functionality through different objects, methods, or operations, the software can alternatively include a number of submodules, third-party services, components, and libraries. Conversely, the features and functionality of different components can be combined into individual components as needed. Threshold values ​​used to make computational decisions can be defined statically, dynamically, or both statically and dynamically.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The methods, operations, or logic flows described in this specification may be implemented by one or more programmable computing devices that execute one or more computer programs to perform functions by operating on input data and generating outputs. The methods, operations, or logic flows may also be implemented by, and the device may also be implemented as, a special-purpose logic circuit, for example, a CPU, FPGA, or ASIC.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Computer hardware suitable for executing a computer program may rely on one or more general-purpose and special-purpose microprocessors and other types of central processing units. The components of a computer are a central processing unit (CPU) to perform or execute instructions and one or more means of storing instructions and data. Generally, the CPU can receive instructions and data from memory (and write data to it). A computer may also include, or be practically coupled with, one or more mass storage media to store data. In some implementations, a computer can receive and send data to mass storage media, including, for example, magnetic or magneto-optical disks or optical discs. Furthermore, a computer may be integrated into another device, such as a mobile phone, personal digital assistant (PDA), portable audio or video player, game console, GPS receiver, or portable storage media such as a universal serial bus (USB) flash drive.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Computer-readable media (temporary or non-temporary, as appropriate) suitable for storing computer program instructions and data may include all forms of permanent / non-permanent and volatile / non-volatile memory, media, and storage devices. Computer-readable media may include, for example, semiconductor memory devices such as random-access memory (RAM), read-only memory (ROM), phase-change memory (PRAM), static random-access memory (SRAM), dynamic random-access memory (DRAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory. Computer-readable media may include, for example, magnetic devices such as tape, cartridges, cassettes, and internal / removable disks.<h2 style=";text-align:left;direction:ltr">Computer-readable media can also include magnetic-optical discs and optical memory media and technologies, including, for example, digital video disc (DVD), CD-ROM, DVD+ / -R, DVD-RAM, DVD-ROM, HD-DVD, and BLURAY. Memory can store various objects or data, including caches, classes, frameworks, applications, modules, backup data, functions, web pages, web page templates, data structures, database tables, registers, and dynamic information. The types of objects and data stored in memory can include operators, variables, algorithms, instructions, rules, constraints, and references. In addition, memory can include register data, policies, security or access data, and report files. The processor and memory can be equipped with or integrated with special-purpose logic circuits.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Applications of the subject matter described in the present invention may be implemented on a computer with a display device to provide user interaction, such as displaying information to (and receiving input from) the user. Types of display devices may include, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), a light-emitting diode (LED), and a plasma display. Display devices may include a keyboard and pointing devices, including, for example, a mouse, a trackball, or a trackpad. User input to the computer may also be provided through the use of a touchscreen, such as a pressure-sensitive tablet surface or a multi-touch display using capacitive or electrical sensing. Other types of devices may be used to provide user interaction, such as receiving user feedback, which may include, for example, sensory responses, including visual, auditory, or tactile feedback. User input may be received in the form of audio, speech, or touch input.<h2 style=";text-align:left;direction:ltr">In addition, the computer can interact with the user by sending documents to and receiving documents from the device the user is using. For example, the computer can send web pages to the web browser on the user's client device in response to requests from the web browser.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The term "graphical user interface" or "GUI" can be used, in either the singular or plural, to describe one or more graphical user interfaces (GUIs) and any display of a given GUI. Therefore, a GUI can represent any graphical user interface (GUI), including, but not limited to, a web browser, a touch screen, or a command-line interface (CLI), that efficiently processes information and displays information results to the user. In general, a GUI can include a large number of user interface (UI) elements, some or all of which are associated with a web browser, such as interactive fields, drop-down menus, and buttons. These and other UI elements may relate to or represent the functionality of a web browser.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Applications of the subject matter described in this specification may be implemented in a computing system that includes a back-end component, for example, a data server, or includes an intermediate component, for example, an application server. Furthermore, the computing system may include a front-end component, for example, a client computer with one or both of a graphical user interface or a web browser through which a user can interact with the computer. The system components may be interconnected by any form or means of wired or wireless digital data communication (or a combination of data communications) in a communications network. Examples of communications networks include a local area network (LAN), a wireless access network (RAN), a metropolitan area network (MAN), a wide area network (WAN), a worldwide interoperability for microwave access (WIMAX), a wireless local area network (WLAN) (for example, using the 802.11 a / b / g / n or 802.20 protocols or a combination of protocols), all or part of the Internet, or any other communications system or systems at one or more locations (or a combination of communications networks).<h2 style=";text-align:left;direction:ltr">A network can communicate, for example, with Internet Protocol (IP) packets, frame relay frames, asynchronous transfer mode (ATM) cells, voice or video data, or a combination of communication types between network addresses.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A computing system may include clients and servers. The client and server may be remote from each other and typically interact over a communications network. The client-server relationship may be established by computer programs running on the respective computers and is characterized by a client-server relationship.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Clustered file systems can be any type of file system that can be accessed from multiple servers for reading and updating. Lock tracking or consistency may not be necessary because locking for an exchange file system can be implemented at the application layer. Furthermore, Unicode data files may be different from non-Unicode data files.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Although this specification contains many specific implementation details, they should not be construed as limitations on the scope of what can be protected, but rather as descriptions of features that may be specific to particular applications. Some of the features described in this specification can also be implemented in the context of separate applications, together in a single application. Conversely, many of the features described in the context of a single implementation can also be implemented in multiple applications, separately, or in any suitable subcombination. Furthermore, although the features described above may be described as operating in certain combinations and even initially claimed to be protected in that form, in some cases one or more of the features may be removed from the combination to be protected, and the combination to be protected may relate to a subcombination or an image of a subcombination.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Certain applications of the invention are described. Other applications, modifications, and permutations of the described applications fall within the scope of the following claims, as will be apparent to those skilled in the art. Although the operations described in the drawings or claims are described in a particular order, this should not be understood to require that these operations be performed in the specified order or sequential order, or that all of the described operations be performed (some operations may be considered optional), to achieve the desired results. In certain cases, multitasking or parallel processing (or a combination of multitasking and parallel processing) may be beneficial and is performed as most appropriate.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Furthermore, the separation or integration of the various system modules and components in the applications described above should not be understood to entail such separation or integration in all applications, and it should be understood that the software components and systems described can generally be integrated together in a single software product or combined in multiple software products.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Therefore, the exemplary applications described above do not limit or restrict the present invention. Other changes, substitutions, and modifications are possible without departing from the intent and scope of the present invention.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Furthermore, any application claimed to be protected is deemed to be at least applicable to a computer-executable method; a non-transitory computer-readable medium storing computer-readable instructions for performing the computer-executable method; and a computer system comprising computer memory mutually coupled to a processor configured to perform the computer-executable method or instructions stored on the non-transitory computer-readable medium.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Several embodiments of the invention have been described. However, it should be understood that various modifications may be made without departing from the intent and scope of the invention. For example, the STB scanning design may contain more or fewer radial members than those shown in the example in Figure 2. Therefore, there are other embodiments that fall within the scope of the following claims.

Claims

Protection Elements 1- A method for removing galvanic distortion associated with near-surface heterogeneity images from surface-to-borehole (STB) survey measurements to provide information on the resistivity of an oil-bearing reservoir, wherein the method comprises: generating a horizontal electric field and a vertical magnetic field at the ground surface using a dipole transmitter; measuring the vertical electric field and the vertical magnetic field at the reservoir depth; measuring a vertical magnetic field at a reference station; determining the direct current (DC) value of the dipole transmitter by means of a low-frequency transmission; equalizing the vertical magnetic field recorded at the reference station with a DC value determined according to the equation H_z = (I dl cosƟ) / (4πR^2); substituting I dl into the equation to determine a static displacement correction factor; and applying a static displacement correction factor to the vertical magnetic field measurements measured at the reservoir depth and the vertical electric field measurements measured at the reservoir depth, wherein the static displacement correction factor is applied to remove galvanic distortion associated with near-surface heterogeneity images and to provide a representation of the reservoir resistivity.

2. The method according to claim 1, wherein generating a vertical magnetic field at the ground surface using a dipole transmitter comprises generating a magnetic field using each of a plurality of dipole transmitters.

3. The method according to claim 2, wherein the plurality of dipole transmitters is positioned in a plurality of radii extending outward from the borehole, each radius being aligned with another radius on an opposite side of the borehole.

4. The method according to claim 3, wherein measuring a vertical magnetic field comprises measuring the low-frequency magnetic field generated by the dipoles of the surface-to-borehole (STB) transmitters.

5. The method according to claim 2, wherein determining the DC value of the dipole transmitter comprises determining the DC value of each dipole transmitter from the plurality of dipole transmitters.6- The method according to protection element 1, wherein the measurement of the vertical magnetic field at the depth of the tank includes measuring the vertical magnetic field with the surface-to-borehole (STB) receiver positioned in the drill hole at the depth of the tank.