Modul Res2dinv
Modul Res2dinv
53
for Windows 98/Me/2000/NT/XP
The 2-D model used by the inversion program, which consists of a number of
rectangular blocks, is shown in Figure 2. The arrangement of the blocks is
loosely tied to the distribution of the data points in the pseudosection. The
distribution and size of the blocks is automatically generated by the program
using the distribution of the data points as a rough guide. The depth of the
bottom row of blocks is set to be approximately equal to the equivalent depth
of investigation (Edwards 1977) of the data points with the largest electrode
spacing. The survey is usually carried out with a system where the electrodes
are arranged along a line with a constant spacing between adjacent electrodes.
However, the program can also handle data sets with a non-uniform electrode
spacing.
Besides normal surveys carried out with the electrodes on the ground surface,
the program also supports underwater and cross-borehole surveys!
2
Figure 2. Arrangement of the blocks used in a model together with the data
points in the pseudosection.
3
2 Computer system requirements and installation
This program is designed to run on IBM PC compatible microcomputers using
the Windows 95/98/Me/2000/NT/XP operating systems. Due to the
computational power required for the 2-D forward modelling and least-squares
subroutines, it is written for 32-bit computer systems with at least 32
megabytes of RAM. On a Pentium computer, it will take a few minutes to
invert the data set obtained from a survey with about 50 electrodes.
Minimum requirements : Hard disc with at least 64 megabytes free space, and
motherboard with at least 32 megabytes RAM. SVGA colour graphics system
with screen resolution of at least 800 by 600 pixels and 256 colours. Windows
95/98/2000/NT/XP operating system. Pentium, Pentium Pro, Pentium II,
Pentium III or Pentium 4 CPU (or compatible CPUs).
It is also recommended that you use the 800 by 600 (for 14 and 15 inch
monitors) or the 1024 by 768 (for 17 and 19 inch monitors) or the 1280 by
1024 (for 21 inch monitors) with 256 colours SVGA graphics mode. You can
change the graphics mode by clicking 'Start', and then 'Settings' followed by
'Control Panel' and then 'Display'. If you are using SVGA modes with 16-bit or
24-bit colours, please switch the display mode to 256 (i.e. 8-bit) colours if you
encounter problems. Graphics operations with the 256 colours mode can be
significantly faster, and more memory will be available to your programs.
There should preferably not be too many background programs running before
executing this program. The active background programs are usually shown on
the 'Start' bar at the bottom of the screen. By shutting down the other programs,
more memory will be available to this program. This will reduce memory to
hard disc swapping that slows down the program.
Practically all computers have an in-built power management system that slows
down and eventually shuts down the computer system if the keyboard/mouse
or hard disc is not accessed after a certain time limit. This can interfere with the
operation of the RES2DINV program if you are inverting a large data set since
this program spends most of the time calculating using the CPU and
coprocessor only. Windows also has an in-built screen saver functions which
replaces the contents of the screen with a screen saver program. Before running
the RES2DINV program, you will need to disable both the power management
and screen saver programs. To disable them, you need to take the following
steps.
1). Shortly after the computer is switched on, it usually runs a memory check.
During this time, you need to go to the CMOS Setup program in the computer
BIOS. For most computers, this is done by pressing the "Del" key. The CMOS
setup screen will next be shown. Go to the section which concerns power
management, and disable the power management options for the computer.
2). After Windows starts up, go to the Control Panel. Click the Power
Management icon. Here it will probably show the number of minutes after
which Windows will automatically shut down the computer if the mouse or
keyboard is not used. Disable this feature.
3). Next, still within the Control Panel, click the Display icon. In the Display
program, click the Screen Saver option and disable the screen saver. This will
ensure that Windows does not automatically run a screen saver.
After disabling the power management and screen saver options, you can
physically switch off the monitor if the computer is left running overnight.
Before carrying out the inversion of a large data set with more than a thousand
data points, please close down other active programs to free the system
resources to RES2DINV alone. Also, using the Set program priority sub-
option in the File option of the main menu, set the program priority to High
or Highest to ensure that it is not interrupted by other programs while inverting
the data set.
If you are using the Keylok USB key, the system driver must be installed for
all versions of Windows (98/Me/2000/NT4/XP).
5
a). For users with the Rainbow Technologies Sentinel SuperPro key
Run the RainbowSSD5.39.2.exe file in the RAINBOW_SYSTEM_DRIVER
subdirectory in the CDROM. This program will automatically install the
system driver for the dongle. If you are using a Toshiba Laptop with the Win
XP operating system, there are special instructions together with a patch file
Sentinel.sys in the Toshiba_XP.zip file. After installing the driver, restart the
computer for the driver to take effect. If you are using Windows 95/98/Me, it is
normally not necessary to install the system driver. However, if the program is
unable to detect the dongle, installing the appropriate driver might help in
situations with a non-standard configuration for the printer port. In case of
problems, use the SuperProMedic.exe program to check the condition of the
dongle. More information about the system drivers can be obtained at the
following web site : www.rainbow.com.
b). For users with the Keylok key (parallel port or USB)
Please run the INSTALL.EXE program in the KEYLOK_SYSTEM_DRIVER
subdirectory for the Keylok drivers. This program will install the appropriate
driver for your operating system into your computer hard-disk. For the parallel
port key, it is usually not necessary to run the INSTALL.EXE program for Win
95/98/Me, but if the RES2DINV consistently fails to detect the dongle, try
running the INSTALL.EXE program to install the driver for Win 95/98/Me.
If you are using the Keylok USB key, please follow the step below.
1). If the RES2DINV and RES3DINV software are already installed in your
computer, you will need to replace the RES2DINV.EXE and RES3DINV.EXE
files with the latest USB versions in the CD. You need to copy the
RES2DINV.EXE and RES3DINV.EXE files from the Win_USB subdirectory
to the appropriate folders in you computer (usually C:\RES2DINV and
C:\RES3DINV).
2). If the RES2DINV and RES3DINV software have not yet been installed, run
the SETUP.EXE files found in the RES2DINV_USB and RES3DINV_USB
folders in the CD.
3). First, make sure that the USB dongle is not attached to the computer. You
will now need to install the software driver for the Keylok dongle by running
the INSTALL.EXE program in the KEYLOK_SYSTEM_DRIVER folder in
the CD. Please note that in Windows NT/2000/XP you must have
Administrator privileges in order to install the driver.
4). After installing the driver, switch off the computer and attach the USB
dongle. It is recommended that you attach the USB dongle to the first USB port
on the computer. Some older computer systems have trouble detecting it on the
second USB port. Now switch on the computer. Windows will display a
message saying that it has found a new hardware and it should then
automatically copy the driver for the dongle.
6
5). Try running the RES2DINV and RES3DINV program, and they should be
able to detect the dongle. If the programs still cannot detect the dongle, you
will need to install the driver manually. Click the Control Panel under Settings,
and then select the Add New Hardware option. Windows then searches for
new Plug and Play devices. Click the No the device isnt in the list and then
the No I want to select the hardware from a list options. Near the near bottom
of hardware list, the USB Dongle will probably be displayed. Click it, and
then the Have Disk option in the next dialog box. Then click Browse and
change the folder to the KEYLOK_SYSTEM_DRIVER folder in the CD. A
list of files with the inf extension will then be displayed. For Windows
98/Me select the usbkey98.inf file, for Windows NT/2000/XP select the
Usbkey2K.inf file. After that click OK, and a Copying files dialog box
should be shown, and Windows should copy the drivers.
After copying the drivers, you need to restart the computer, and the
RES2DINV/RES3DINV programs should then be able to detect the dongle.
More information about the system drivers can be obtained at the following
web site : www.keylok.com
For both operating systems it is recommended that you remove the CD-
ROM disc, if present, from the CD-ROM drive when using this program. Due
to the multi-tasking nature of these systems, sometimes the program on the disc
might be launched while RES2DINV is busy inverting a large data set! For all
versions of Windows, it is recommended that you run the SCANDISK program
occasionally to check the condition of the hard disc, and also the DEFRAG
program to reduce file fragmentation.
3 Copy protection
A hardware key (dongle) is supplied with the registered version of the
program. Attach this key to the parallel printer port of your computer. You can
attach the 25-pin connector of the printer to the other end of the key. The
7
demonstration version of the program does not require a hardware key but
some important features of the program cannot be used.
The program should be able to detect the dongle if the parallel printer port
follows the IBM PC specifications. If it is unable to find the dongle, the printer
port might not completely IBM PC compatible. In this case, after connecting
the dongle to the computer, connect a printer to the other end of the dongle.
Turn on the printer and print out something to confirm that the printer port is
working. Leave the printer on, and then try to run the RES2DINV.EXE
program again. If the program is not able to detect the dongle, you will need a
special adapter from Rainbow Technologies to use the dongle without a printer
(particularly for older laptop computers). If the computer is a desktop model,
you could change the adapter card with the printer port, or set up a second
printer port with another card. If you are using Windows NT, it is necessary to
install a system driver for the dongle (please refer to previous section). If you
are still not able to solve the problem, please contact the Rainbow
Technologies or Keylok company by email.
A more common problem is that the printer port was assigned to another
device, such as a scanner port, and not as LPT1 which is the default printer
port. In this case, you will need to reassign the parallel port as a printer port. In
Windows 95/98/Me/2000/NT, you have to select the Settings option on the
Start menu bar to access the Control Panel or the Printers folder.
4 Theory
The inversion routine used by the program is based on the smoothness-
constrained least-squares method (deGroot-Hedlin and Constable 1990, Sasaki
1992). The smoothness-constrained least-squares method is based on the
following equation
One advantage of this method is that the damping factor and flatness filters can
be adjusted to suit different types of data. A detailed description of the different
8
variations of the smoothness-constrained least-squares method can be found in
the free tutorial notes by Loke (2001).
The 2-D model used by this program divides the subsurface into a number of
rectangular blocks (Figure 2). The purpose of this program is to determine the
resistivity of the rectangular blocks that will produce an apparent resistivity
pseudosection that agrees with the actual measurements. For the Wenner and
Schlumberger arrays, the thickness of the first layer of blocks is set at 0.5 times
the electrode spacing. For the pole-pole, dipole-dipole and pole-dipole arrays,
the thickness is set to about 0.9, 0.3 and 0.6 times the electrode spacing
respectively. The thickness of each subsequent deeper layer is normally
increased by 10% (or 25%). The depths of the layers can also be changed
manually by the user.
The optimisation method basically tries to reduce the difference between the
calculated and measured apparent resistivity values by adjusting the resistivity
of the model blocks. A measure of this difference is given by the root-mean-
squared (RMS) error. However the model with the lowest possible RMS error
can sometimes show large and unrealistic variations in the model resistivity
values and might not always be the "best" model from a geological perspective.
In general the most prudent approach is to choose the model at the iteration
after which the RMS error does not change significantly. This usually occurs
between the 3rd and 5th iterations.
More information about the inversion method can be found in the free
Tutorial Notes on electrical imaging (Tutorial : 2-D and 3-D electrical
imaging surveys) that is available on the www.geoelectrical.com web site.
9
5 Disc contents
The diskette contains the main setup file SETUP.EXE. After installing this
setup file, you should have the following files in the subdirectory containing
the RES2DINV program.
To run the resistivity inversion program, click the RES2DINV icon. The
program will first check the computer system to ensure that it has the necessary
resources that this program requires. It will check for the available memory and
hard disc space. If the program displays a warning, you should quit from the
program and make the necessary changes. After checking the computer
configuration, the program will then display the following Main Menu bar near
the top of the screen.
11
You can select an option by clicking it with the mouse cursor. If this is the first
time you are using the program, try reading in the resistivity data file
LANDFILL.DAT provided with the program. Then select the inversion option
to carry out an inversion of the data set. Figure 3 shows an example of the
results from the inversion of this data set. After reading a data set, you should
generally check for bad data points using the Edit data option. In the
following sections, a more detailed description of each item in the above menu
is given.
Read data file - When you select this option, the list of files in the current
directory that has an extension of .DAT will be displayed. You can use the
mouse or keyboard to select the appropriate file, or to change the subdirectory.
12
The apparent resistivity values must first be typed into a text file. You can use
any general purpose text editor, such as the Windows NOTEPAD program.
The data are arranged in an ASCII delimited manner where a comma or blank
space or a LF/CR is used to separate different numerical data items. The
program requires the data to be arranged in a certain format. If there is a
problem in running this program, one possible cause is that the input data was
arranged in a wrong format. An example of an input data set is given in the file
LANDFILL.DAT. The initial section of this file with a description of the data
format is given in the 'Comments' section below.
LANDFILL.DAT file Comments
LANDFILL SURVEY | Line 1- Name of survey line
3.0 | Line 2 - Smallest electrode spacing
1 | Line 3 - Array type (Wenner = 1, Pole-pole = 2,
| Dipole-dipole = 3, Pole-dipole = 6, Schlumberger = 7
| Equatorial dipole- dipole - 8 )
334 | Line 4 - Total number of data points
1 | Line 5 - Type of x-location for data points.
| Enter 0 if location of first electrode in array used to
| indicate the x-location. Enter 1 if mid-point of the
| array (i.e. location of data point in pseudosection)
| is used.
0 | Line 6 - Flag for IP data (enter 0 for resistivity data
| only)
4.50 3.0 84.9 | Line 7 - The x-location, electrode spacing and
| measured apparent resistivity value for the first
| data point.
7.50 3.0 62.8 |Line 8 - The x-location, electrode spacing and
| measured apparent resistivity value for the second
| data point.
Subsequent lines give similar information for the other data points. This is
followed by four 0's that are reserved flags for other features.
Subsequent lines give similar information for the other data points. This is
followed by four 0's that are reserved flags for other features.
Note that the program assumes that the x-location of the data points increases
from the left to the right side of the pseudosection. If the x-locations in your
data set are arranged in the other way, the pseudosection will appear to have
undergone a left-to-right reversal when displayed on the screen!
Note that the topography data is placed immediately after the apparent
resistivity data points. The first item is a flag to indicate whether the file
contains topography data. If there is no topography data, its value is 0. Enter 1
or 2 if topographical data is present. In the case where the actual horizontal and
vertical coordinates of points along the survey line are given, enter 1. Even if
the actual horizontal distances are given in the topography data section, you
must still use the x-distance along the ground surface in the apparent resistivity
data section. In most surveys the distances of the points along the ground
surface, and not true horizontal distances, are actually measured with a tape. In
this case, enter a value of 2 for the topography data flag. This is followed by
the number of topographical data points.
It is not necessary to measure the elevation for each electrode. For example, the
data in the GLADOE2.DAT file involves 161 electrodes but only the
15
elevations at 26 points are given. The maximum number of topographical data
points you can have is 500. For each data point, the horizontal location and the
elevation is entered into the data file. After the last topographical data point,
the number of the topographical data point where the first electrode is located
is given. In the above example, the first electrode was located at -40 metres,
which corresponds to the 2nd topographical data point. Note that the elevation
of the first electrode is required. If this was not measured in the field, you can
estimate it from the elevations of the neighbouring data points. For data sets
with IP measurements as well, please refer to Appendix F.
Import data in ..... format : This program also allows you to run other
programs to convert data arranged in a propriety format into the format
required by this program. This program is usually supplied by the manufacturer
of the multielectrode resistivity meter system you are using.
Collate data into RES3DINV format Please refer to Appendix P for the
details.
Change buffer drive - The program will automatically use the hard disc drive
with the largest amount of free disc space as the buffer drive to store temporary
files which it uses while inverting a data set. This option allows you to change
the buffer drive used by the program.
16
8 Editing the data
This option enables you to make some changes to the data you have read from
the input data file described in the previous option. It will enable you to
remove bad data points, and to select a portion of the data set to invert for very
large data sets. When you select this option, the following submenu will be
displayed:
Exterminate bad datum points - In this option, the apparent resistivity data
values are displayed in the form of profiles for each data level. You can use the
mouse to remove any bad data point. The main purpose of this option is to
remove data points that have resistivity values which are clearly wrong. Such
bad data points could be due to the failure of the relays at one of the electrodes,
poor electrode ground contact due to dry soil, or shorting across the cables due
to very wet ground conditions. These bad data points usually have apparent
resistivity values that are obviously too large or too small compared to the
neighboring data points. The best way to handle such bad points is to drop
them so that they do not influence the model obtained. Figure 4 shows an
example of a data set with a few bad points. To remove a bad data point, move
the cross-shaped cursor with the mouse to the data point and click the left
mouse button. The colour of the data point should change from black to purple.
If you click the same data point again, it will not be removed from the data set.
To quit from this option, just press the Q key or click the Exit option.
Splice large data set - This option enables you to choose a section of the full
data set (which is too large to be processed at a single time) to invert. After
choosing this option, the distribution of the data points in a pseudosection will
be displayed. You can select a section of the data set to invert by using the
arrow keys. Full instructions on the keys to use are displayed on the screen.
The data points selected will be marked by purple crosses or dots, whereas the
remaining data points are black. At the top of the display, the left and right
limits of the section selected are marked by yellow vertical lines. If there are
17
too many data points in the lower levels, you can reduce the number of data
points by selecting only odd or even points in a level. To do this, move the
horizontal yellow marker on the left side of the display up or down to the level
you want to decimate using the up and down arrow keys. Then press D to
decimate the data points in that level. The program allows you to read in a file
which involves up to 15000 electrodes. Using this option, you can select a
section of the data set (which covers up to a maximum of 500 electrodes and
8000 data points for a system with 64 megabytes RAM) to invert. The entire
data set can then be inverted by inverting successive subsections of the data set.
After selecting the data set subsection you want invert, you should select the
"Exterminate bad data points" option to check for bad data points. In general, it
is recommended that you try to invert the entire data set at one go. In most
cases, this can be easily done by adding more RAM and free hard disc space to
your computer.
Figure 4 : Example of a data set with a few bad data points. The data is
displayed using the "Exterminate bad data points" option.
Change location of first electrode - This allows you to change the location of
the first electrode in the survey line. It is basically intended for plotting
18
purposes, so that overlapping survey lines have the same x-locations for
electrodes which coincide.
Edit data file - When you select this option, the text editor (by default
NOTEPAD) will start up. To return to the RES2DINV program, you must first
exit from the text editor program.
Run another program - This option enables you to run another program. It is
mainly intended for cases where the program had not been installed and thus
not in the list of programs recorded in the Windows Start and Program option.
Choose font - In this option, you can choose the type of font used by the
program when it draws the pseudosections. The default font is an Arial font.
The other choice is the system font. With the default Arial font the program
should be able to fit everything into the screen when drawing the
pseudosections, even with the 800x600 graphics mode. The system font usually
has bolder characters when might be better when making printouts of the
images. It is recommended that you use the 1024x768 or higher resolution
graphics mode when you use the system font.
Restore colours - This option restores the default colour scheme used by the
program.
19
9. Changing the program settings
The program has a set of predefined settings for the damping factors and other
variables that generally give satisfactory results for most data sets. However, in
some situations, you might get better results by modifying the parameters that
control the inversion process. When you select the "Change Settings" option,
the following list of menu options is displayed.
To change a particular setting, move the mouse cursor to the appropriate line
and then just click it. A message will then appear which gives some
information about the values you can use, and the type of information you need
to enter.
20
INVERSION DAMPING PARAMETERS
The following options modify the use of the damping factor u in equation (1).
Damping factors - In this option, you can set the initial value for the damping
factor in equation (1), as well as the minimum damping factor. If the data set is
very noisy, you should use a relatively larger damping factor (for example 0.3).
If the data set is less noisy, use a smaller initial damping factor (for example
0.1). The inversion subroutine will generally reduce the damping factor in
equation (1) after each iteration. However, a minimum limit for the damping
factor must be set to stabilise the inversion process. The minimum value should
usually set to about one-fifth the value of the initial damping factor.
Change of damping factor with depth - Since the resolution of the resistivity
method decreases exponentially with depth, the damping factor used in the
inversion least-squares method is normally also increased with each deeper
layer. This in done in order to stabilise the inversion process. Normally, the
damping factor is increased by 1.05 times with each deeper layer, but you can
change it. Use a larger value if the model shows unnatural oscillations in the
resistivity values in the lower sections. This will help to suppress the
oscillations. You can also select the choice to allow the program to determine
the value to increase the damping factor with depth automatically. This might
be a good choice if the thickness of the layers is much thinner than the default
values, for example if you had reduced the unit electrode spacing by half in the
data file in order to produce a model with smaller model blocks.
Optimise damping factor - If you select this option, the program will attempt to
find the optimum damping factor u in equation (1) that gives the lowest RMS
error in each iteration. By optimising the damping factor, the number of
iterations the program requires to converge can be significantly reduced.
However, the time taken per iteration will be increased. For small to medium
size data sets, this can significantly reduce the overall computer time needed to
invert the data set. For very large data sets with more than 1000 data points, the
time taken in each iteration could be significantly increased as it is necessary to
solve the least-squares equation more than once per iteration. Use this option
with care as the model with the lowest RMS error is not always the best
model, particularly for very noisy data sets (see the Theory section). In
practice, the improvement in the results by optimising the damping factor for
most data sets is rather small.
21
Limit range of model resistivity - When you select this option, the following
dialog box will be shown.
This option allows you to limit the range of resistivity values that the inversion
subroutine will give. In the above example, the upper limit for is 20 times the
average model resistivity value for the previous iteration while the lower limit
is 0.05 times (i.e. 1/20 times). The program uses soft limits that allow the
actual resistivity model values to exceed the limits to a certain degree.
However, this option will avoid extremely small or large model resistivity
values that are physically unrealistic. The user can also choose to use the
inversion model obtained at the first iteration as the reference model.
Vertical to horizontal flatness filter ratio - You can select the ratio of the
damping factor for the vertical flatness filter (fz) to the horizontal flatness filter
(fx). By default, the same damping factor is used for both. However, if the
anomalies in the pseudosection are elongated vertically, you can force the
program to produce models that are also elongated vertically by selecting a
higher value (for example 2.0) for the ratio of the vertical to horizontal flatness
filter. For anomalies that are elongated horizontally, choose a smaller value
(e.g. 0.5).
MESH PARAMETERS
These set of options change the finite-difference or finite-element mesh used in
the forward modelling subroutine.
Finite mesh grid size - You can choose a mesh grid used by the forward
modelling program to have 2 or 4 nodes between adjacent electrodes. With 4
nodes per electrode spacing, the calculated apparent resistivity values would be
more accurate (particularly for large resistivity contrasts). However, the
computer time and memory required are correspondingly larger. By default, the
22
program will use the 2 nodes option if the data set involves more than 90
electrodes.
Use finite-element method - This program allows you to use either the finite-
difference or finite-element method to calculate the apparent resistivity values.
By default, the program will use the finite-difference method, which is faster, if
the data set does not contain topography. If the data set contains topography,
the default choice is the finite-element method.
Mesh refinement - This option allows you to use a finer mesh (in the vertical
direction) for the finite-difference or finite-element method. The apparent
resistivity values calculated by either method will be more accurate with a finer
mesh, but the computer time and memory required will be greater. The use of a
finer mesh can give better results for cases where subsurface resistivity
contrasts of greater than 20:1 is expected. This is particularly useful in areas
where a low resistivity layer lies below a high resistivity layer.
INVERSION PROGRESS
The following set of options control the path the inversion subroutine takes
during the inversion of a data set.
Line search - The inversion routine determines the change in the model
parameters by solving equation (1). Normally the parameter change vector d
will result in a model with a lower RMS error. In the event that the RMS error
increases, you have two options. One option is to perform a line search using
quartic interpolation to find the optimum step size for the change in the
resistivity of the model blocks. The program will attempt to reduce the RMS
error, but it can also be trapped in a local minimum. The alternative is to ignore
the increase in the RMS error, and hope that the next iteration will lead to a
smaller RMS error. This might enable you to jump out of a local minimum, but
it could also lead a further increase in the RMS error. A third alternative is to
perform a line search at each iteration. This will usually give the optimum step
size, but will require at least one forward computation per iteration. In some
cases, the extra forward computations could be worthwhile if it reduces the
number of iterations needed to bring the RMS error down to an acceptable
level. To select a particular setting, just click the appropriate button. This
setting will only affect the inversion process for the third iteration onwards. For
the first two iterations, where the largest changes in the RMS error usually
occurs, the program will always carry out a line search to find the optimum
step size to further reduce the RMS error.
Percentage change for line search - The line search method used can estimate
the expected change in the apparent resistivity RMS error. If the expected
change in the RMS error is too small, it might not be worthwhile to proceed
23
with the line search to determine the optimum step size for the model
parameter change vector. Normally a value between 0.1 and 1.0 % is used.
Convergence limit - This sets the lower limit for the relative change in the
RMS error between 2 iterations. By default, a value of 5% is used. In this
program the relative change in the RMS error, rather than an absolute RMS
value, is used to accommodate different data sets with different degrees of
noise present.
RMS convergence limit This sets the percentage RMS error in the inversion
of the apparent resistivity data where the program will stop after the model
produce has an RMS error less than this limit. Normally a value of between 2%
and 5% should be used, depending on the quality of the data.
Number of iterations - This allows the user to set the maximum number of
iterations for the inversion routine. By default the maximum number of
iterations is set to 5. For most data sets, this is probably sufficient. When the
inversion routine reaches this maximum limit, it will ask the user for the
number of additional iterations if you wish to continue with the inversion
process. It is usually not necessary to use more than 10 iterations.
Model resistivity values check - The program will display a warning if after an
iteration in the inversion of the data set, a model resistivity value becomes too
large (more than 20 times the maximum apparent resistivity value) or too small
(less than 1/20 the minimum apparent resistivity value). This option allows you
to disable the warning.
DATA/DISPLAY SELECTION
Minor options for pre-processing of data files and display of the sections
during the inversion.
Option for contour intervals - By default, the program will use logarithmic
contour intervals for the pseudosections and model sections when displaying
the results in the Inversion option in the Main Menu. This is usually the best
choice for most data sets. However, you can choose to use the linear or the user
defined contour intervals options if you wish.
Save inversion parameters This option saves the inversion parameters into a
file RES2DINV.IVP.
Read inversion parameters This option reads back the parameters stored in the
RES2DINV.IVP files and uses them in the program. RES2DINV_NEW.IVP is
an example file that contains more inversion parameters. These files can also
be used by the Batch mode option. Please refer to Appendix G for the new
format for the Batch mode script file.
25
10. Inversion options
This option enables you to carry out the inversion of the data set that you had
read in using the "File" option. You can also display the arrangement of the
blocks used by the inversion model, as well as to change some of the
parameters that control the inversion process. On selecting this option the
following menu will be displayed.
INVERSION METHODS
These set of options allow you to select the type of regularised inversion
method to use.
26
Include smoothing of model resistivity values - The least-squares formulation
used in equation (1) applies a smoothness constraint on the model perturbation
vector d only, and not directly on the model resistivity values. In most cases, it
will produce a model with a reasonably smooth variation in the resistivity
values. In some cases, particularly for very noisy data sets, better results might
be obtained by applying a smoothness constraint on the model resistivity
values as well. The resulting least-squares equation is given by
(JTJ + uF)d = JTg - uFr (2)
where r is a vector containing the logarithm of the model resistivity values.
While for the same damping factors this will usually produce a model with a
larger apparent resistivity RMS error, this modification will ensure that the
resulting model shows a smooth variation in the resistivity values.
Use combined inversion method - This option is intended for use in unusual
situations where the data sensitivity values of the model blocks are
significantly distorted by large resistivity variations. In some situations, such as
a survey over a very low resistivity body, the current paths could be distorted
such that parts of the subsurface are not well mapped and have very low data
sensitivity values in the inversion model. This could lead to large distortions
just below the low resistivity body. By combining the Marquardt (or ridge
regression) and Occam (or smoothness-constrained) inversion methods, the
distortions in some cases might be reduced. This option should be used as a last
resort if everything else fails! It seems to give better results in resolving
compact structures where the width and thickness are slightly smaller than the
depth, such as a cave or ore-body whose size is just slightly less than its depth.
In theory, it is possible to just use the Marquardt (or ridge regression) method
alone. However, it has been found that this method is unstable when the data
contains noise if a model with a relatively large number of model parameters is
used.
Select robust inversion This allows you to select the robust or blocky
inversion method. It should be used when sharp boundaries are expected to be
present. Please refer to Appendix K for further details.
Choose logarithm of apparent resistivity - By default, the program will use the
logarithm of the apparent resistivity values as the data parameter when carrying
out the inversion. For most cases, this gives the best results. In some cases, for
example with negative or zero apparent resistivity, this is not possible. This
option enables the apparent resistivity value by itself to be used for such
situations.
Jacobian matrix calculation - In this program you have three options in the
calculation of the Jacobian matrix J in equation (1). The fastest method is to
use the quasi-Newton method to estimate the Jacobian matrix (Loke and
Barker 1996a). This might be a good alternative to use in the field where a
27
slower laptop computer with more limited memory is frequently used. The
most accurate and slowest method is to recalculate the Jacobian matrix for all
iterations. This requires a fast computer with preferably at least 32 megabytes
of RAM, and about 64 megabytes free hard disc space for very large data sets.
A third alternative is to recalculate the Jacobian matrix for the first 2 iterations
only, and use the quasi-Newton updating method for subsequent iterations. The
largest changes in the Jacobian matrix usually occurs in the first few iterations.
So in many cases, a limited recalculation of the Jacobian matrix gives the best
compromise between speed and accuracy. By default, the program will choose
the limited recalculation option for the Jacobian matrix. However, the default
settings can be changed by the user in this menu option. The quasi-Newton
option is useful to get a quick look at the results, particularly in the field during
the course of a survey using a laptop computer. For the final model, it is best to
use the limited recalculation option on a faster desktop computer with more
RAM and free hard disc space. In areas with large resistivity contrasts, where
the largest apparent resistivity value is more than 10 times the smallest value,
recalculating the Jacobian matrix for all iterations produces models with
boundaries which are a shade sharper than those produced by the quasi-Newton
method.
Type of optimisation method This option allows you to choose two different
methods to solve the least-squares equation (1). On selecting this menu option,
the following dialog box will be shown.
For data sets from very long survey lines (over 2000 electrode positions), a
sparse inversion option is provided that can greatly reduce the computer time
and memory required. For example, the inversion of an underwater survey data
set with nearly 7500 electrode positions was reduced by a factor of 10 (to about
101 minutes hours on a 3.2GHz P4 computer) with the sparse inversion option.
This method inverts the entire data set and model at a single time to produce a
continuous and seamless model.
MODEL DISCRETIZATION
These option allows you to modify the way the program subdivides the
subsurface into cells that is used as the inversion model.
Display model blocks - This option will display the distribution of the model
blocks and data points. The data points will be plotted at the median depth of
investigation (Edwards 1977) for the array used. The program has a maximum
limit of 24 model layers. If you had chosen the 10% option for the increase in
the layers thickness, and the bottom layer is above the bottom row of data
points, you should change to the 25% option.
Change thickness of layers - In this option you can choose a model where the
thickness of the layers increase by 10% or by 25% with each deeper layer.
Choose the 10% option if there are only a small number (8 or less) of data
levels. If there are a large number of sparse data levels, the 25% option might
be better. Within this option, you can also allow the number of model blocks to
exceed the number of data points. The program normally uses a model where
the depth to the deepest layer does not exceed the maximum pseudodepth in
the data set. To use a model that spans a deeper depth range, you can change
the factor to increase model depth range, for eg. from 1.0 to 1.30 to increase
the model depth range by 30%.
29
Modify depths to layers - This option allows you to change the depth of the
layers used by the inversion model. You can adjust the depths so that some of
the boundaries coincide with known depths from borehole and other data.
Use extended model This option extends the model cells to the edges of the
survey line (Figure 5c).
Make sure model blocks have same widths The model shown in Figure 5b
have model cells that are wider at the edges. This option will ensure that all the
cells have the same width that is equal to the unit electrode spacing.
Reduce effect of side blocks This option affects the calculation of the
Jacobian matrix values for the model blocks located at the sides and bottom of
the model section. Normally, for a block located at the side, the contributions
by all the mesh elements associated with the model block are added up right to
the edge of the mesh. This gives a greater weight to the side block compared to
the interior blocks. In some cases, particularly when the robust inversion option
is used, this can result in unusually a high or low resistivity value for the side
block. This option leaves out the contribution of the mesh elements outside the
limits of the survey line to the Jacobian matrix values for the side blocks.
Change width of blocks This option allows the user to force the program to
use model cells which are wider than one unit electrode spacing for all the
layers.
Type of cross-borehole model - There are two choices for the type of model
you can use for the inversion of cross-borehole data. You can choose to use the
Standard Model where the dimensions of the model blocks are the same as the
spacing between the electrodes on the ground surface and in the boreholes.
Alternatively, you can use a model with smaller blocks where the size of the
blocks is half that of the Standard Model (see Figure 20 in Appendix I).
30
Display blocks sensitivity - This will show a plot of the sensitivity of the
blocks used in the inversion model. The sensitivity value is a measure of the
amount of information about the resistivity of a model block contained in the
measured data set. The higher the sensitivity value, the more reliable is the
model resistivity value. In general, the blocks near the surface usually have
higher sensitivity values because the sensitivity function has very large values
near the electrodes. The blocks at the sides and bottom also have high
sensitivity values due to the much larger size of these blocks that are extended
to the edges of the finite-difference or finite-element mesh. If you had carried
out an inversion of the data set before calling this option, the program will
make use of the Jacobian matrix of the last iteration. Otherwise, it will
calculate the Jacobian matrix for a homogenous earth model.
Generate model blocks This option generates the model cells by making use
of the model sensitivity values. Please refer to Appendix L for a description of
this option.
IP OPTIONS
Batch mode - In this option, you can invert a number of data sets automatically.
The name of the input data files, and other information, is provided through a
file. It must be emphasised that before inverting the data sets, you should check
the data for bad data points using the Edit Data option discussed earlier. When
32
you select the batch mode suboption, you will first be asked for the name of the
data file containing the information required. An example file provided is
RESIS.BTH which enables the inversion of 3 data sets using the batch mode.
The format of this file is as follows :-
If you do not wish to carry out the topographical corrections, just enter No at
the appropriate line. To remove a linear least-squares or average trend, enter
Linear or Average in the file. Even if the data set does not contain
topographical data, you still must enter the topographical processing
information. Although in this case the topographical processing information
will be ignored by the program, you must still type in something at the
appropriate lines or else the program cannot read in the parameters for the
following data files in the correct sequence. The other options for the type of
Jacobian matrix calculation are Quasi-Newton and Recalculate. The
information for the other data files to be processed follow the same format.
Please refer to the example file RESIS.BTH. An example of an extended batch
file that includes more inversion parameters is the file RESIS_NEW.BTH.
A new Batch mode script file format is also described in Appendix G which
makes use of the IVP files that are created by the RES2DINV program. It is
easier to use since the user does not need to deal with the details about the
format of file containing the inversion parameters.
33
11. Topographical modelling
If there is significant topographical relief along the survey line, the effect of the
topographical effects can be accounted for if the horizontal and vertical
coordinates of a number of points along the survey line are known. When the
program reads in a data file with topography data (please refer to section 7 for
the data format), it will automatically select the finite-element method that
incorporates the topography into the modelling mesh used. In this case, the
topographic modelling will be automatically carried out by the program when
you invert the data set. When you select the Topography Option menu, the
following submenu will be displayed:
Select type of trend removal - You can choose to remove the average elevation,
a least-squares linear trend, or a straight line joining the first and last
topography data points. If the ground surface along the survey line is generally
flat except for a few points, use the option to subtract a constant value from the
heights of the electrodes locations. If the survey points are on a slope, choose
either a least-squares or an end-to-end straight line for the linear trend. Figure 6
shows an example with topography where the end-to-end straight line trend
was removed.
Type of topographic modelling - Selecting this option will show the following
dialog box where you can choose 3 different topographic modelling methods.
Distorted finite-element grid with uniform distortion : This method, and the
next two methods, use a distorted finite-element grid such that the surface
34
nodes of the mesh match the actual topography. This gives more accurate
results than the older method of using the correction factors for a homogeneous
earth model calculated with the finite-element method (Fox et al. 1980) which
can cause distortions in cases where large resistivity variations occur near the
surface (Tong and Yang 1990, Loke 2000). In this particular option, the nodes
below the surface (and thus also the model layers) are shifted to the same
extent as the surface nodes.
S-C transformation with distorted finite-element grid : This method uses the
Schwarz-Christoffel transformation method to calculate the distortion in the
subsurface layers. It is probably the best method that produces a more natural
looking model section in cases with a comparatively large topography
curvature. In such cases, the damped topography approach might produce
unusually thick model layers under areas where the topography curves
upwards. In some unusual cases where the topography has very sharp acute
peaks and sparse topography data points, the Schwarz-Christoffel
transformation method might not work. If this happens, add a few extra
topography data points near the peak.
Figure 6. Topography linear trend removal for the Rathcroghan mound data
set.
35
Read data file with inversion results - You can read in the output data file
produced by the inversion subroutine or an input data file.
Save data in XYZ format - You can save the inversion results into a disc file
with a format used by many contouring programs, such as Geosoft. This is a
separate program sold by GEOSOFT Inc. which enables you to use more
sophisticated contouring techniques than those used by the RES2DINV
program.
Save data in SURFER format This saves the data and model sections in
SURFER format. Please refer to Appendix N for the details.
Model output in LUND format - This is a data format used by the LUND
Imaging System produced by ABEM. You can save the model resistivity
values in the .RHO and .RMS files used by the MODSEC program.
Save contour values - This option saves the values used to draw the contours in
the pseudo and model sections.
37
Clicking the Display sections option on the top menu bar will bring up the
following submenu.
Display data and model sections - Select this option to plot the model and
apparent resistivity pseudosections on the screen.
For both display options, you will be asked to enter the iteration number and
the contour intervals. After the section is displayed, you can display the results
for the next iteration by pressing the PgDn key. Similarly, pressing the PgUp
key will display the results for the previous iteration.
Choose resistivity or IP display - If the data set has IP data as well, this option
allows you to choose to display the resistivity or IP sections. You can also
display both the resistivity and IP model sections at the same time.
Type of pole-dipole display - This option is only relevant for pole-dipole data
sets with measurements with the forward and reverse pole-dipole arrays
(see Appendix A). Here you can choose to display the apparent resistivity
values measured with the array in the forward or reverse configuration.
The Change display settings option enables you to change the parameters
that control the way the apparent resistivity pseudosections and the model
section are displayed. The following submenu will be displayed when you click
this option.
Default colour scheme - This will reset the colour scheme used for colouring
the sections to a default system used by the program.
39
Customise colour scheme - This enables the user to change the colours used for
the sections.
Read customise colour scheme - You can change the colour scheme to a set of
customise colours that was earlier saved in a disk file.
Vertical display scaling factor - This option allows you to specify the ratio of
the vertical scale to the horizontal scale, i.e. the vertical exaggeration factor, in
the display. Convenient values to use are 2.0, 1.5 and 1.0. If you enter a value
of 0.0, the program will use a default scaling factor so that the display can fit
into the display screen.
Horizontal plotting scale - This allows you to change the horizontal scale, in
terms of number of pixels per unit electrode spacing. This option is useful
when you want to plot the results from different survey lines with different
numbers of electrodes, with the same scale.
Show locations of datum points - By default, the location of the data points
(and centres of the model blocks) will be shown by white dots in the colour
pseudosection display. You can choose not to display the dots with this option.
When the Edit data option is selected, the following RMS error statistics
submenu is displayed. This option provides another means of removing bad
data points from the data set. In fact, for cross-borehole or certain types of non-
conventional arrays data where the apparent resistivity values cannot be
conveniently displayed in the form of a pseudosection or profiles, this is the
primary method to remove the bad data points.
RMS error statistics - This suboption just displays the distribution of the
percentage difference between the logarithms of the observed and calculated
apparent resistivity values. It can only be used after carrying out a trial
inversion of the data set. To save some time, you could use the quasi-Newton
method to carry out the trial inversion (see section 10). On selecting this
suboption, the distribution of the RMS errors will be displayed in the form of a
bar chart. It is expected the bad data points will have relatively large
errors, for example above 100 percent. To remove the points with large
errors, just move the green cursor line to set the cut-off error limit to remove
the bad data points.
The Print option on the main menu bar enables you to save the screen image
as a BMP or PCX graphics file, or to make a direct printout with a printer by
using the Windows Paintbrush program. On selecting this option, the following
submenu will be displayed.
41
Saving the screen image into the form of a BMP or PCX graphics file allows
you to edit the picture with a bit-mapped graphics program, such as the
Windows PaintBrush program, before printing it (see section 15).
[programs]
paint=c:\psp\psp.exe
editor=c:\gwd\gwd.exe
[files]
extension=*.lok
input=c:\res2dinv\
output=c:\res2dinv\
will use the Paint Shop Pro graphics program (located in the subdirectory
C:\PSP) and the GWD text editor (in the C:\GWD subdirectory). It will also
look for files with the extension LOK when you choose the option to read in a
data file. The default subdirectory with the data files is C:\RES2DINV, and the
same subdirectory is used for the output files.
14. Help
If you click the Help option, the Windows help file for the program will be
displayed. Clicking the Info option will display the copyright notice.
Another method is to save the information into a XYZ file (see File section),
which is a general format supported by a number of dedicated graphics
contouring/plotting program. With such a program, you can redraw the model
sections and print them. This is particularly useful if you want to combine the
results from different survey lines within the same area to make a pseudo 3-D
plot of the structures. If you want to include topography in the model values
saved in the XYZ file, you will need to first run the Include topography in
model section option before saving the XYZ file. In this case, the XYZ file
will contain the model values without the topography, followed by a section
with the model after incorporating the topography.
The third method is to save the model information into SURFER format, and
use the SURFER for Windows program to draw and print the sections. Please
refer to Appendix N for details about this option.
There are also a number of fine shareware paint programs and text editors
which you can download directly from Internet shareware sites. Besides Paint
Shop Pro, the paint programs I have tested are Lview Pro, VuePrint and
Graphics Workshop for Windows. All of these programs allow you to change
the BMP and PCX files to the GIF format which can dramatically reduce the
size of the graphics files. You can download these shareware programs from
most Internet shareware sites, such as www.softseek.com.
Garbage In - Garbage Out : One common problem is bad data points. Check
for unusually low or high apparent resistivity values. These anomalous values
can be caused by instrumentation errors during the field survey, poor electrode
contact in dry, sandy or stony ground, shorting of electrodes due to very wet
conditions or metal objects (such as fences, pipes etc.) or mistakes such as
attaching electrodes to the wrong connectors. You can easily pick out these
anomalous values using the "Edit data" option described earlier. Remember, a
good model requires good data.
Unusual ground conditions : If the top ground layer is very dry, you might not
be able to pump enough current into the ground. In this case, the resistivity
technique itself might not be suitable and you should consider alternative
geophysical methods (such as EM). Another similar situation is a very
conductive top layer. In this case, the voltage difference measured by the
potential electrodes might be too small (perhaps even below the background
noise level). In this situation, try to get more current into the ground and check
the actual voltage difference measured. If you are using the dipole-dipole array,
try again with another array such as the Wenner-Schlumberger that gives larger
potential values. If this still does not work, try using another geophysical
method such as seismic refraction!
3-D geology : It should be noted that a basic limitation of this program is the
assumption of a 2-D subsurface model. For surveys carried out across the strike
of elongated geological structures, this assumption is reasonably accurate.
However, if there are significant variations in the subsurface resistivity in a
44
direction perpendicular to the survey line (i.e. the geology is 3-D), this could
cause distortions in the lower sections of the model obtained. Measurements
made with larger electrode spacings are not only affected by the deeper
sections of the subsurface, they are also affected by structures at a larger
horizontal distance from the survey line. This effect is most pronounced when
the survey line is placed near a steep contact with the line parallel to the
contact.
Grundfor Line 2 - This survey was carried out by the Department of Earth
Sciences, University of Aarhus, Denmark to map the lithology of the near-
surface unconsolidated sediments and aquifers in the Grundfor area
(Christensen and Sorensen 1994). The low resistivity zones in the inversion
model (Figure 9) consist of more clayey Quaternary glacial deposits while the
high resistivity areas consist of more sandy deposits. The model obtained was
confirmed by a number of boreholes along this line. This is a moderately large
data set with 447 data points and 141 electrodes. On a 90 MHz Pentium it took
about 1033 seconds (17.2 minutes) to invert this data set, while on a 266 MHz
Pentium II it took about 158 seconds (2.6 minutes).
Odarslov Dyke - The dyke causes a prominent high apparent resistivity zone
near the middle of the pseudosection (Dahlin 1996) in the upper part of Figure
10. This is a particularly difficult data set to invert as the width of the high
resistivity dyke is smaller than the depth to the lower section of the dyke. Thus
the lower part of the dyke is not well resolved. If the damping factor used is too
small, this will result in oscillations in the resistivity values in the model
section. To invert this data set, the weight of the vertical flatness filter was set
at twice that of the horizontal filter since the dyke has a predominantly vertical
direction. The robust data inversion option (see Appendix K) was used to
reduce the effect of a few data points that might be more noisy on the inversion
results. Since there is a sharp and distinct contrast between the resistivity of
igneous dyke and the surrounding sedimentary rocks, the robust model
inversion option (Appendix K) was also used. In the model section, the dyke
shows up as a prominent high resistivity body with vertical sides. This data set
has 701 data points and 181 electrodes. The Grundfor and Odarslov dyke
surveys were carried out using the LUND Automatic Resistivity Imaging
System produced by ABEM Instrument AB.
46
Figure 10: The observed apparent resistivity pseudosection for the Odarslov
dyke survey together with an inversion model.
47
Figure 11. Mapping of holes in a clay layer, U.S.A. (a) Apparent resistivity
pseudosection for the survey to map holes in the lower clay layer. (b) Inversion
model and (c) sensitivity values of the model cells used by the inversion
program.
Figure 12. Bauchi Wenner Gamma array survey. (a). Apparent resistivity
pseudosection. (b) The inversion model with topography.
49
19 Trouble shooting
A brief compilation of possible problems and their possible causes and
solutions is given in this section.
Program crashes when it tries to invert the data set : This could be due to
data arranged in the wrong format or other errors in the data set. When the
program reads the data file, it will check for some common errors such as zero
or negative apparent resistivity values. However, there might be some new
unexpected errors. One preliminary check you could make is to view the data
using the "Edit data" option described in section 8. If you still cannot find the
error, please send a copy of the data set to the company who sold you this
program (or the author of this program) by email.
Program cannot find dongle : If the program cannot find the hardware key, it
will run as a demonstration program. If you had securely attached the dongle
provided to the printer port and the program still cannot detect it, please refer
to section 3 for a method to check for the source of the problem. The two most
likely causes are a faulty printer port, or one which is not completely IBM PC
compatible (this problem is more common in older laptop computers). Another
possibility is that the parallel port has been reconfigured by a program as
another port instead of as a printer port. If you are using Windows NT, it is
necessary to install a system driver for the dongle (please refer to sections 2
and 3). The system driver file provided (SYSDRVR.EXE for the Rainbow
Technologies dongle and INSTALL.EXE for the Keylok dongle) also contains
the drivers for Windows 95/98. Install this driver if the program is unable to
detect the dongle with 95/98.
50
If you are using the USB dongle, the Keylok system driver must be installed.
During the installation of the driver, the program will copy the necessary
system (SYS) files needed by Windows to detect the USB dongle. Please refer
to the installation note provided with the USB dongle for further details.
Acknowledgements
Dr. Torleif Dahlin of Lund University in Sweden provided the interesting and
challenging Odarslov Dyke, Gladkvarn and Knivsas data sets. The Grundfor
data set was kindly provided by Dr. Niels B. Christensen of the University of
Aarhus in Denmark and Dr. Torleif Dahlin. The Rathcroghan data set was
kindly provided by Dr. Kevin Barton and Dr. Colin Brown from data collected
by the Applied Geophysics Unit of University College Galway, Ireland. Dr.
Andrew Binley of Lancaster University kindly provided the cross-borehole
field data set. Mr. Ernst Neiderleithinger of Buro Fur Geophysik Lorenz
(Germany) supplied the Landfill data set that provided the initial motivation to
write this program to handle large 2-D data sets. I am also grateful to Prof.
Douglas Oldenburg of the University of British Columbia in Canada for
pointing out the some of the possible advantages of using equation (2). The
Bauchi data was provided by Dr. Ian Acworth of School of Civil and
Environmental Engineering, The Un. of New South Wales, Australia. Many
thanks to Richard Cromwell and Rory Retzlaff of Golder Assoc. (Seattle) for
the survey example to map holes in a clay layer. Bill Seaton of ATS, Virginia
kindly provided the BLUERIDGE.DAT data set. Dr. Fabrizio Cara of the
Instituto Nazionale di Geofisica e Vulcanologia, Italy generously supplied the
ITALY_CAVE.DAT data set. I would also like to thank Ron Kaufman of
Technos Inc. for his permission to use the Lake Lelia underwater field survey
example. Finally, I would like to acknowledge Michel Ritz of IRD, France for
kindly providing the BOREHOLE_TOPO.DAT example data set.
51
References
Acworth, R. I., 1987. The development of crystalline basement aquifers in a
tropical environment: Quarterly Journal Engineering
Geology, 20, 265-272.
Barker, R. and Moore, J., 1998. The application of time-lapse electrical
tomography in groundwater studies. The Leading Edge, 17, 1454-
1458.
Christensen N.B. and Sorensen K.I., 1994. Integrated use of electromagnetic
methods for hydrogeological investigations. Proceedings of the
Symposium on the Application of Geophysics to Engineering and
Environmental Problems, March 1994, Boston, Massachusetts, 163-
176.
Claerbout, J.F. and Muir, F., 1973. Robust modeling with erratic data.
Geophysics, 38, 826-844.
Dahlin, T., 1996. 2D resistivity surveying for environmental and engineering
applications. First Break, 14, 275-284.
deGroot-Hedlin, C. and Constable, S., 1990, Occam's inversion to generate
smooth, two-dimensional models form magnetotelluric data.
Geophysics, 55, 1613-1624.
Edwards, L.S., 1977, A modified pseudosection for resistivity and induced-
polarization. Geophysics, 42, 1020-1036.
Fox, R.C., Hohmann, G.W., Killpack,T.J. and Rijo, L., 1980, Topographic
effects in resistivity and induced polarization surveys. Geophysics, 45,
75-93.
Griffiths D.H. and Barker R.D. 1993, Two-dimensional resistivity imaging and
modelling in areas of complex geology. Journal of Applied
Geophysics, 29, 211-226.
Griffiths, D.H., Turnbull, J. and Olayinka, A.I., 1990, Two-dimensional
resistivity mapping with a computer-controlled array. First Break, 8,
121-129.
Hallof, P.G., 1990, Reconnaissance and detailed geophysical results, Granite
Mountain Area Pershing County, Nevada. in Fink, J.B., McAlister,
E.O., Sternberg, B.K., Wieduwilt, W.G. and Ward, S.H. (Eds), 1990,
Induced polarization : Applications and case histories : Investigations
in Geophysics No. 4, Soc. Expl. Geophys.
Keller G.V. and Frischknecht F.C.,1966. Electrical methods in geophysical
prospecting. Pergamon Press Inc., Oxford.
Loke, M.H., 1999. Time-lapse resistivity imaging inversion. 5th Meeting of the
Environmental and Engineering Geophysical Society European
Section Proceedings. Em1.
Loke, M.H., 2000. Topographic modelling in resistivity imaging inversion.
62nd EAGE Conference & Technical Exhibition Extended Abstracts,
D-2.
52
Loke, M.H., 2001. Tutorial : 2-D and 3-D electrical imaging surveys. Geotomo
Software, Malaysia.
Loke, M.H. and Barker, R.D., 1996a, Rapid least-squares inversion of apparent
resistivity pseudosections by a quasi-Newton method. Geophysical
Prospecting, 44, 131-152 .
Loke, M.H. and Barker, R.D., 1996b, Practical techniques for 3D resistivity
surveys and data inversion. Geophysical Prospecting, 44, 499-523.
Loke, M.H. and Dahlin, T., 2002. A comparison of the Gauss-Newton and
quasi-Newton methods in resistivity imaging inversion. Journal of
Applied Geophysics, 49, 149-162.
Nelson, G.D. and Van Voorhis, 1973, Letter to the editor regarding the paper
Complex resistivity spectra of porphyry copper mineralization.
Geophysics, 38, 984.
Niederleithinger, E., 1994, Use of high resolution geomagnetics, 2D-DC-
geoelectrics and induced polarisation in environmental investigations.
Paper presented at SAGEEP '94, Boston, USA.
Olivar, A., de Lime, L. and Sharma, M.M., 1990. A grain conductivity
approach to shaly sandstones. Geophysics, 55, 1347-1356.
Robain, H., Albouy, Y., Dabas, M., Descloitres, M., Camerlynck, C.,
Menchler, P. and Tabbagh, A., 1997, The location of infinite
electrodes in pole-pole electrical surveys: consequences for 2D
imaging. Journal of Applied Geophysics, 41, 313-333.
Sasaki, Y., 1992, Resolution of resistivity tomography inferred from numerical
simulation. Geophysical Prospecting, 40, 453-464.
Seaton, W.J. and Burbey, T.J., 2000. Aquifer characterization in the Blue
Ridge physiographic province using resistivity profiling and borehole
geophysics : Geologic analysis. Journal of Environmental &
Engineering Geophysics, 5, no. 3, 45-58.
Silvester P.P. and Ferrari R.L., 1990, Finite elements for electrical engineers
(2nd. ed.) . Cambridge University Press.
Slater, L., Binley, A.M., Zaidman, M.D. and West, L.J., 1997, Investigation of
vadose zone flow mechanisms in unsaturated chalk using cross-
borehole ERT. Proceedings of the EEGS European Section 3rd
Meeting, Aarhus, Denmark, 17-20.
Summer, J.S., 1976, Principles of induced polarization for geophysical
exploration. Elsevier Scientific Publishing Company.
Tong, L. and Yang, C., 1990, Incorporation of topography into two-
dimensional resistivity inversion. Geophysics, 55, 354-361.
Turnbull, J., 1986. A field and interpretation technique for resistivity surveying
over two dimensional structures. Unpubl. PhD thesis, Un. of
Birmingham, U.K.
Van Voorhis, G.D. Nelson, P.H. and Drake, T.L., 1973, Complex resistivity
spectra of porphyry copper mineralization. Geophysics, 38, 49-60.
53
Witherly, K.E. and Vyselaar, J, 1990, A geophysical case history of the Poplar
Lake Copper-Molybdenum deposit, Houston Area, British Columbia.
in Fink, J.B., McAlister, E.O., Sternberg, B.K., Wieduwilt, W.G. and
Ward, S.H. (Eds), 1990, Induced polarization : Applications and case
histories : Investigations in Geophysics No. 4, Soc. Expl. Geophys.
54
Appendix A : Dipole-dipole and pole-dipole surveys
The format for the data points for a dipole-dipole survey is slightly different
from that used for the Wenner and pole-pole surveys. The arrangement of the
electrodes for the dipole-dipole survey is shown in the following figure.
Figure 13 : (a) Arrangement of the electrodes for the dipole-dipole array. (b)
Example of dipole-dipole array with non-integer n value. Arrangement of the
electrodes for (c) the forward and (d) reverse pole-dipole arrays.
The distance, a, between the two current electrodes, C1 and C2, is the same as
that between the potential electrodes. The distance between the current
electrode C1 and the potential electrode P1 (the dipole separation factor) is
usually an integer multiple, n, of the distance between the current or potential
electrode pair. Initially, the dipole separation factor (n) is set to 1. Then it is
increased to 2, 3 and so on until a maximum value of between 4 and 6. When
the dipole separation factor is increased, the potential measured between P1
and P2 decreases rapidly with increasing n. For this reason, it is not advisable
to use a value of n greater than 6. Using larger values of n could result in rather
noisy data. In some surveys, the distance (a) between the current and potential
55
electrode pairs is doubled or tripled (Edwards 1977) to increase the signal
strength. Thus both the dipole separation factor (n) and the spacing between the
current electrode pair (a) has to be recorded. Using the BLOCKDIP.DAT file
as an example, the data file format for the dipole-dipole array is as follows :-
The first value (in each line with the data point values) gives the x-location of
the data point. The second value gives the separation between the potential
electrode pair P1 and P2. This value is usually an integer multiple (of between
1 to 5 times) the unit electrode spacing. In some 2-D resistivity surveys, the
separation between the current electrode pair is fixed. In this case, this factor
will have a constant value (as in the file BLOCKDIP.DAT). The third value is
the dipole separation factor (n) with a maximum value of 8. The fourth value is
the measured apparent resistivity value.
The data filed BLUERIGDE.DAT is an example field data set where different
a and n combinations (Seaton and Burbey 2000) in order to increase the
depth of penetration without greatly reducing the signal strength.
The pole-dipole array has an array number of 6. The format of the data points
is similar to that for the dipole-dipole array. The file BLOCKPDI.DAT gives
an example of a pole-dipole data set. Compared to the dipole-dipole array, the
signal strength measured with the pole-dipole array decreases less rapidly when
thedipole separation factor (n) is increased. Unlike the other common arrays,
the pole-dipole is a non-symmetrical array which gives rise to somewhat more
complicated anomalies in the pseudosection. The centre point of this array is
defined as the mid-point between the C1 and P2 electrodes. This program
56
assumes that the x-location of C1 electrode is less than that of the P1 and P2
potential electrode pair (on the left side in Figure 13c). If the location of the
first electrode is given in the input data file, then the location of the C1
electrode is used.
Figure 14 : The steps used by the (a) Wenner and the (b) Wenner-
Schlumberger arrays to increase the depth of investigation.
= pi n (n+1) a R
While the n factor usually has integer values, the program can also accept non-
integer values for this factor. The data file, WENSCHN5.DAT, is an example
with non-integer values for the n factor.
One advantage of the normal Wenner array is that it has the highest signal-to-
noise ratio among the conventional arrays. To be on the safe side, you should
include all the normal Wenner array measurements when carrying out a survey
with the Wenner-Schlumberger array. The resulting pseudosection might look
a little messy with overlapping data measurement levels, but RES2DINV can
handle such a data set. In very noisy areas, the Wenner array measurements
should be the most reliable.
59
Appendix C : Fixing Resistivities
In some cases, the true resistivity of a section of the subsurface might be
known, for example from borehole resistivity measurements. This program
allows you to fix the resistivity of up to 256 sections of the subsurface. The
shape of the section to be fixed must be rectangular or triangular. The data to
fix the model resistivity values are entered into the input data file after section
with the topography information. As an example, part of the example data file
MODELFIX.DAT is listed below.
0 | Topography flag
2 | Number if regions to fix, put 0 if none
R | Type of first region, R for rectangular
24,0.7 | X and Z coordinates of top-left corner of rectangle
28,2.3 | X and Z coordinates of bottom-right corner of rectangle
2.0 | Resistivity value of rectangular region
2.0 | Damping factor weight
T | Type of second region, T for triangular
30,0.0 | X and Z coordinates of first corner of triangle
30,3.0 | X and Z coordinates of second corner of triangle
45,3.0 | Coordinates of third corner of triangle
10.0 | Resistivity value of triangular region
2.0 | Damping factor weight
The first item after the topography data section is the number of regions where
the resistivity is to be specified. In the example above, 2 regions are specified.
If a value of 0 is given (default value), then there are no regions where the
resistivity is specified by the user. Next, the shape of the region is given, R for
rectangular or T for triangular. If a rectangular region is specified, then the X
and Z coordinates of the top-left and bottom-right corners of the rectangle are
given, as shown in Figure 16.
Note that for this array, it is necessary to include the spacing b between the C1-
C2 electrodes pair after the array number.
62
Appendix E : Underwater surveys
The possible situations for underwater surveys are shown in the following
figure.
Figure 18 : Three possible situations for underwater surveys, and a survey with
floating electrodes.
In the first situation, there is a water layer with a constant thickness over a flat
sediment surface (i.e. there is no topography). An example of such a data set is
given in the file WATER.DAT. The bottom section of this file with comments
is as follows :-
While the left and right limits of the water layer are included in the data format,
this is at present not used by the program. It is included for future use for
surveys with some of the electrodes above the water layer, for example a
survey across a river. Note that a flag is included to indicate that the normal
geometric factor (as used for a surface survey) is used to calculate the apparent
resistivity values. If a value of 0 is used for this flag, the exact geometric factor
(which includes the thickness of the water layer) must be used to calculate the
apparent resistivity values. For actual field surveys, it is expected that the
normal surface geometric factor will be used.
The program will automatically calculate the thickness of the water layer from
the elevation of the sea or river bottom and the elevation of the water surface.
Note that is format also allows for the where some of the electrodes are above
the water surface (i.e. on normal dry land) and some of the electrodes
64
underwater. In the example above, the electrodes between 0 and 10 meters are
above the water surface. A common situation where this occurs is a survey that
crosses a river. In this case, the program will assume that an electrode with an
elevation that is less than the elevation of the water surface is underwater.
There is a fourth possible situation with a confined body of water that is so far
not supported. One possible situation is a river or lake with dykes. In this case,
some points with elevations below the water surface level are not underwater.
Support will probably be added in the future when such situations are more
frequently encountered.
Figure 19 shows the apparent resistivity pseudosection and inversion model for
this data set. Mobile surveying systems typically produce survey lines that are
very long compared to the depth of investigation of the cable array system
used.
While the above example gives the data in the general array format (Appendix
L), the program can also accept data in the index based format. For example,
the above data set is for the dipole-dipole array. An index based format (see
Appendix A) will give the location of the data point, the a dipole length and
the n dipole separation factor.
67
68
Appendix F : IP data inversion
The data collected from IP (Induced Polarization) surveys consists of two sets,
the normal apparent resistivity measurements and an apparent IP data set. So,
the number of data points is twice the number for a normal resistivity survey.
One possible method to invert such a joint data set is to treat the two data sets
as completely separate data sets. The inversion of the resistivity data is
completed before starting on the inversion of the IP data set. In this case, the
resistivity model obtained at the last iteration of the inversion of the resistivity
data set (which usually has the lowest RMS error) is used in the inversion of
the IP data set. This is probably the most efficient method if the resistivity
model is a good representation of the true subsurface resistivity. However, it
has been found that even in the inversion of computer generated data sets, the
model obtained can contain distortions particularly if a large number (more
than 5) of iterations is used in the inversion of the resistivity data set. This is
because the inversion is based on a finite number of data points. The distortion
becomes worse when the data contains noise. Many users tend to use a large
number of iterations together with small damping factors in an effort to reduce
the RMS error to the lowest possible value. If a resistivity model with
distortions is used in the inversion of the IP data, then the distortions will affect
the IP models for all iterations of the IP inversion.
The program provides two methods to invert the IP data. In the first method the
inversion of the resistivity and IP data are carried out concurrently.
Immediately after an iteration of the inversion of the resistivity data, an
iteration of the IP inversion is carried out. In the second method, the inversion
of the IP data is carried out only after the completion of the resistivity
inversion. In this case, only the resistivity of the model obtained at the last
resistivity iteration is saved.
IP values that are given in other units are converted into chargeability values
internally by the program during the inversion process. The relevant
conversion equations may be found in the papers by Van Voorhis et al. (1973)
and Nelson and Van Voorhis (1973).
IP data is sometimes given as a metal factor (MF) value. The MF value can be
calculated from either time domain or frequency domain measurements. In the
time domain, the metal factor is value is given by
MF = 1000 M / DC
The file IPMAGUSI.DAT is from a survey over the Magusi River ore body
(Edwards 1977) where the survey was conducted with 30.5 metres (100 feet),
61.0 metres (200 feet) and 91.4 metres (300 feet) dipoles. Again the resulting
pseudosection has a very complex distribution of the data points. The measured
apparent resistivity and IP pseudosections, together with the model sections
obtained are shown in Figure 20. The ore body shows up as a distinct low
resistivity body with high IP values near the middle of the survey line in the
model sections. In the inversion of this data set, the robust inversion method
was used (see Appendix K) to sharpen the boundary between ore body and the
surrounding rocks.
71
The inversion program tries to minimise the difference between the observed
and calculated equivalent apparent chargeability values. IP values in percent
frequency effect and phase angles are directly proportional to the equivalent
chargeability values. However, the metal factor value also involves a resistivity
value. The model that gives a minimum RMS error for the chargeability values
sometimes does not give a minimum RMS error for the metal factor values.
However, the actual effect on the inversion model is usually very small.
Figure 20. Magusi River ore body (a) Apparent resistivity pseudosection, (b)
resistivity model section, (c) apparent metal factor pseudosection and (d) metal
factor model section.
72
Appendix G : New batch mode options
This option is intended for users who might wish to invert a large number of
data sets at one go by remote control. It allows you to launch the batch mode
from another Windows program, or from a command line. In the batch mode
option a script file, for example RESIS.BTH, is used to inform the program of
the data files which need to be processed and the various inversion options
used. In Windows, you can access the command line option by clicking the
Start button, followed by the Run option. If the RES2DINV program is
located in the C:\R2DINV subdirectory, and the batch script file RESIS.BTH is
located in the D:\DATA subdirectory, the following command is typed into the
Run dialog box.
C:\R2DINV\RES2DINV D:\DATA\RESIS.BTH
This command will launch the RES2DINV program that will automatically
process the list of data files in the RESIS.BTH. In the RESIS.BTH file, it is
recommended that you type in the full drive and path for all the files. After the
program has processed all the data files, it will automatically shut down. You
can process up to 40 data files using a single batch script file.
Starting with version 3.53, a new and simpler file format for the batch mode
option which makes use of the inversion parameters files (IVP) that are created
by the RES2DINV program itself. The file RESIS_IVP.BTH is an example,
with the following format.
RESIS_IVP.BTH file | Comments
-----------------------------------------------------------------------------------------------
3 | Number of files to invert
INVERSION PARAMETERS FILES USED | Header to indicate new batch mode
DATA FILE 1 | Header for first file
C:\RES2DINV\RATHCRO.DAT | Data file to invert
C:\RES2DINV\RATHCRO_L2.INV | Output file with inversion results
C:\RES2DINV\RES2DINV_L2.IVP | File containing the inversion settings
DATA FILE 2 | Header for second file
C:\RES2DINV\RATHCRO.DAT | Data file to invert
C:\RES2DINV\RATHCRO_L1.INV | Output file with inversion results
C:\RES2DINV\RES2DINV_L1.IVP | File with different inversion settings
DATA FILE 3 | Header for third file
C:\RES2DINV\LANDFILL.DAT | Third data file to invert
C:\RES2DINV\LANDFILL_L2.INV | Output file with inversion results
C:\RES2DINV\RES2DINV_L2.IVP | File containing the inversion settings
Since the IVP files are created by the RES2DINV program, it is not necessary
for the user to deal with the details about the file format. To create them, the
user just needs to click the appropriate inversion options within the
RES2DINV program, and then select the Save inversion parameters option
under the Change Settings menu to save the parameters into an IVP file.
73
Appendix H : Speed of graphics display
As RES2DINV is a Windows based program, graphics operations by the
program are handled via the Windows display driver for the computer graphics
card. Thus the program will work with any graphics card as long as it has a
Windows driver. This is different from DOS based programs where
compatibility problems with the high resolution Super VGA graphics modes
are common. One big advantage of this program is that high resolution
graphics modes, such as the 1024 by 768 pixels with 256 colours graphics
mode, can be easily used by this program. This is important for data collected
from surveys with more than several hundred electrodes (a survey with about
650 electrodes and nearly 5200 data points now holds the record for land
surveys) where the standard VGA 640 by 480 pixels graphics mode is clearly
inadequate.
Since graphics operations are carried out via the display driver, the speed of the
graphics display is dependent on the efficiency of the display driver. For some
graphics cards, the earlier versions of the drivers are relatively inefficient
which results in painfully slow graphics operations such as in drawing the
pseudosections. If this happens on your computer, the cause is almost certainly
due to an early version graphics driver for the display card. The best way to
overcome this problem is to replace the Windows graphics card driver with a
newer version that should be more efficient. The drivers can be downloaded
via the Internet from many shareware sites or from the manufacturers web
site. Using the latest version of the display driver can result in significant
improvements in the speed of the graphics operations. This will affect not only
the speed of the graphics display in the RES2DINV program, but will also
improve the response of practically all graphics intensive Windows programs
(such as CAD and animation programs).
74
Appendix I : Cross-borehole data inversion
The resolution of electrical surveys carried out with electrodes on the ground
surface decreases exponentially with depth. One method to obtain reasonably
good resolution at depth is by making measurements with the electrodes in
boreholes. Cross-borehole surveys are much less frequently carried out
compared to surface based surveys, so unlike surface surveys, there are at
present no common standards with regards to the arrangement of the
electrodes. The cross-borehole option in this program is intended for shallow
surveys with the arrangement of the electrodes placed in a certain general
pattern (Sasaki 1992). The basic arrangement of the electrodes is shown in the
Figure 21.
The electrodes are divided into 3 sets with (i) the surface electrodes, (ii)
electrodes in borehole 1 and (ii) electrodes in borehole 2. It is assumed that the
boreholes do not have a metal casing which would severely alter the pattern of
the current flow. The program divides the subsurface into a number of
quadrilateral blocks (Figure 21). Note that the positions of the surface and
borehole electrodes control the manner in which the subsurface is divided into
the model blocks. The file BOREDIFF.DAT is an example data file with cross-
borehole measurements. A description of the format used is given below in the
comments section. Note that in this example, the measurements are made with
the pole-dipole array where only the C1, P1 and P2 electrodes are used.
The array number is 12 for cross-borehole survey data with the measurements
given as apparent resistivity values. You can also enter the data as resistance
measurements, in which case the array number is 13. This might be more
convenient as most resistivity meters give the readings as a resistance value in
ohm, and furthermore the geometric factor for arrays with subsurface
electrodes is different from the geometric factor for conventional surface
arrays. The file BORERES.DAT gives an example where the measurements
are given as resistance values. An interesting field data set where the pole-pole
array was used, and the measurements are also given as resistance values, is
BORELUND.DAT from Lund University, Sweden.
76
If only two electrodes are used in a measurement, only the x- and z-locations of
the C1 and P1 electrodes are given in the data file (see the file BOREHIP.DAT
77
which also contains IP measurements). However, if all four electrodes are used,
the x- and z-locations of the C1, C2, P1 and P2 electrodes must be given in this
order. You can combine measurements made with different numbers of
electrodes in the same data file.
When the programs reads in a file with resistance values, you have a choice of
inverting the data set using apparent resistivity values, or directly use the
resistance values. Using resistance values directly in the inversion has the
advantage of allowing you to use readings where the apparent resistivity value
does not exist, or is negative. After reading in a data file, the program will
attempt to filter out suspicious readings with potentially high noise levels if the
measurements are given as apparent resistivity values, or if you had chosen the
option to use apparent resistivity values in the inversion. If you choose to carry
out the inversion using resistance values, the readings are not filtered.
The geometric factor for subsurface electrodes is different from that used for
surface electrodes. As an example, the geometric factor for a measurement
where only two electrodes is used is as follows. If the C1 and P1 electrodes are
located at (x1,z1) and (x2,z2) respectively, the geometric factor k is then given by
k = 4 pi /(1/r1 + 1/r1')
where
r1 = sqrt (dx2 + dz2) r1' = sqrt (dx2 + Dz2)
dx = x1 - x2 dz = z1 - z2
Dz = z1 + z2
This program requires that the number of electrodes in both boreholes must be
the same. In practice, this restriction is not a significant problem. You can be
easily overcome this restriction by inserting dummy electrodes into the data set
if the number of electrodes in one borehole is less (in the section where the x-
and z-location of the electrodes in the borehole are given).
The program also requires that a surface electrode is located at the top of both
boreholes. If they do not physically exist, just insert dummy electrodes at the
appropriate locations in the data file. Also there should be at least a few surface
electrodes between the two boreholes, as well as at least two surface electrodes
to the left of borehole 1, and another two to the right of borehole 2. Again, if
78
the such electrodes were not used in the field survey, just insert dummy
electrodes into the data file to satisfy the requirements of this program. One
significant restriction of the present version of the program is that the boreholes
must be vertical, i.e. inclined boreholes are not allowed. If there is a significant
number of actual field surveys with inclined boreholes, this restriction might be
removed in future versions of the program.
By default, the program will subdivide the subsurface into quadrilateral blocks
such that the dimensions of the blocks are equal to the spacing between the
electrodes (Figure 21a). However, you can also choose to use a model where
the dimensions of the blocks is about half the spacing between the electrodes
(Figure 21b). Using the model with a finer discretisation could significantly
improve the inversion results in some cases (Sasaki 1992). To select the type of
model to use, click the Change Settings options on the Main Menu top bar,
followed by Type of cross-borehole model. In theory, it is possible to further
subdivide the subsurface into even smaller blocks. However, since the
resolution of electrical measurements decreases rapidly with distance from the
measuring electrodes, this is unlikely to significantly improve the results. In
fact, it could result in unnatural oscillations in the model resistivity values,
particularly near the electrodes. This is as a result of the well known trade-off
between model resolution and model variance in geophysical inversion.
Figure 23 shows the inversion results from an interesting field data set. This
data set is one from a number that were collected by a survey to study the flow
of fluids through the UK Chalk aquifer in east Yorkshire by using a saline
tracer (Slater et al 1997). There is a low resistivity zone near the surface where
the saline solution was irrigated onto the ground, and also prominent low
resistivity zones below a depth of 7 metres due to the saline tracer that had
flowed downwards. Another interesting feature of this data set is that no
surface electrodes were used. So all the surface electrodes given in the
BORELANC.DAT data file are dummy electrodes. The inversion of this data
set took about 15 minutes on a 200 Mhz Pentium Pro computer. the left of
borehole 1, and another two to the right of borehole 2. Again, if the such
electrodes were not used in the field survey, just insert dummy electrodes into
the data file to satisfy the requirements of this program. One significant
restriction of the present version of the program is that the boreholes must be
vertical, i.e. inclined boreholes are not allowed. If there is a significant number
79
of actual field surveys with inclined boreholes, this restriction might be
removed in future versions of the program.
If IP measurements were also made, you need to enter a value of 1 at the 6th
line in the data file, and two more data lines after that which gives the type of
IP measurement used and the two parameters associated with it (see Appendix
F). Next, enter the IP value after the apparent resistivity value for each data
point. The file BOREHIP.DAT is an example cross-borehole data file with IP
measurements.
Figure 22. The model obtained after the inversion of the BOREHOLE.DAT
data set. The option to use finer blocks with half the size of the spacing
between the electrodes was used.
80
Figure 23. Model obtained from the inversion of data from a cross-borehole
survey to map the flow of a saline tracer in between two boreholes. Note the
low resistivity zones near the surface (where the tracer was injected) and below
a depth of 7 metres. The locations of the borehole electrodes are shown by
small black dots.
81
Note that the format is essentially the same as that used earlier for two
boreholes, except for the header after the list of surface electrodes and the
value for the number of boreholes.
To calculate the apparent resistivity value measured with the non-ideal pole-
pole array, two possible geometric factors can be used. One method is to use
the same equation as the ideal pole-pole array. This gives an approximate
geometric factor since the resulting apparent resistivity value is not the same as
the true resistivity for a homogeneous half-space. Alternatively, the exact
85
geometric factor that takes into account the positions of the C2 and P2
electrodes can be used.
The data format is the same as that for normal pole-pole surveys except for the
section (after the array number) which contains information about the location
of the second current and potential electrodes. The data line Exact Geometric
factor used is used to indicate that the apparent resistivity values in the data
file were calculated used the exact geometric factor. If the approximate
geometric factor was used, this data line should be given as Approximate
Geometric factor used. The file POLDPLFA.DAT is an example data file for
a pole-dipole survey where the approximate geometric factor was used in
calculating the apparent resistivity values. Note that in this file, only the
location of the second current electrode C2 is given.
If the robust model constrain inversion method is used on the model resistivity
values, the program will attempt to minimise the absolute changes in the
resistivity values. This constrain tends to produce models with sharp interfaces
between different regions with different resistivity values, but within each
region the resistivity value is almost constant. This might be more suitable for
areas where such a geological situation exists, such as the soil-bedrock
interface over certain types of bedrock. As an example, Figure 26 shows the
inversion results for a synthetic model with a faulted block (with a resistivity of
50 ohm.m) and a small rectangular block (1 ohm.m) within a surrounding
medium with a resistivity of 10 ohm.m. The model produced by the standard
least-squares method has a gradational boundary for the faulted block. In
comparison, the model produced by the robust model inversion method has
sharper and straighter boundaries.
89
A field example with sharp boundaries was shown earlier in Figure 20 for the
Magusi River resistivity and IP data set. The main structure, the massive
sulphide ore body, by nature has a distinct and sharp resistivity/IP contrast with
the surrounding igneous/metamorphic country rocks.
While the program gives the user greater latitude in the electrode arrangement,
some arrays that are technically possible but would have very low potential
signals should be avoided.
The sub-array type indicator is used when the electrode configuration follows
one of the conventional arrays, for example the Wenner-Schlumberger array.
As an example, the file MIXEDWS.DAT has the data for a Wenner-
Schlumberger array only but the information is arranged in a general array
format. In this case the sub-array number is 7. The file RATHCMIX.DAT has
the data for the Rathcrogan mound (described earlier in Figure 8) for the
Wenner array but in a general array format (thus it has sub-array number of 1).
For these data sets, the apparent resistivity vales can be displayed in the form
of a pseudosection. The file MIXED.DAT is a combined data set with a
mixture of measurements with the Wenner-Schlumberger and dipole-dipole
array. In this case, there is no consistent array type, so the sub-array number is
given as 0.
Concerning the indicator for the type of x-location, there are two possible
values. A value of 1 is used if the x-location values are the true horizontal
distances, while a value of 2 is used if it is the distance along the ground
surface. This is similar to the convention used for topography data (Section 7).
Note the addition of a header line Topography in separate list that indicates
the topography information is in a separate list after the apparent resistivity
data lines. Note also in the data lines, the elevation for each electrode is given
as 0.00. The program will calculate the elevation for the electrodes from the
topography information.
If the x-locations are true horizontal distances, the true distance between two
electrodes is used in the calculation of the geometric factor. For example, if the
C1 and P1 electrodes are located at (x1,z1) and (x2,z2) respectively, then
In the case where the ground surface has a constant slope, both conventions
will give the same geometric factor.
Note that in the general array data format, the z-location is the elevation of the
electrode which is positive in the upwards direction. This unfortunately is
different from the format for the borehole data set where the z-values are
positive in the downwards direction.
Figure 28. Arrangement of the electrodes along a survey line such that the true
horizontal distance between adjacent electrodes is constant regardless of the
slope of the ground surface. Note that the distance between adjacent electrodes
along the ground surface is greater at the steeper part of the slope.
In some cases, the 2-D data set is generated from a series of collinear 1-D
sounding lines. In such a situation, the distance between adjacent electrodes is
not constant, whether as measured along the surface or in the true horizontal
direction. For such a case, the general array format (with a sub-array type of 0)
can be used.
For data sets with a sub-array type of 0, the data cannot be displayed in the
form of a pseudosection, nor can it edited with the "Exterminate bad data
points" option. To remove bad data points from the data set, you need to first
carry out an inversion of the entire data set. However, you need to use the
"Robust data constrain" (see Appendix K) to ensure that bad data points do not
have a large effect on the inversion results. Next, go to the "Display" window
and read in the file with the inversion results. Select the "RMS error statistics"
sub-option under the "Edit data" menu. This will display a histogram where the
data points are grouped according to the difference between the measured and
calculated apparent resistivity values. This allows you to remove the data
points where a large difference occurs, for example more than 100 percent.
After removing the more noisy data points, save the trimmed data set in a file
and carry out the inversion again with the trimmed data set.
The suboption "Generate model blocks" under the "Inversion" option on the
main menu allocates the arrangement of the blocks in the model using the
sensitivity values as a guide. Figure 29 shows the sensitivity values of the
MIXEDWS.DAT data set using the default extended model, and for the
"Generate model blocks" option. Note that this option increases the width of
the blocks near the sides in the deeper parts of the model section in order to
increase the sensitivity values of the blocks. This option can also be used for
95
normal data sets with the standard arrays. By default, the program uses a
heuristic algorithm partly based on the position of the data points to generate
the size and position of the model blocks. The "Generate model blocks" uses a
more quantitative approach based the sensitivity values of the model blocks.
However, in practice, the simpler and faster heuristic algorithm gives
reasonably good results for most data sets.
Figure 29. The arrangement of the model blocks used by the program for the
inversion of the MIXEDWS.DAT data set using (a) the default extended model
and (b) a model generated so that any single block the does not have a relative
sensitivity value that is too small.
96
Appendix M : Array types in RES2DINV
A list of the arrays supported by the RES2DINV program together with their
number codes are given below.
Note that the Wenner array has three different variations (Figure 30). The
"normal" Wenner array is actually the Wenner alpha array.
Figure 30. Arrangement of the electrodes for the Wenner alpha, beta and
gamma arrays.
97
The Wenner beta array is a special case of the dipole-dipole array where the
"n" factor is always 1. The RES2DINV program will automatically convert a
Wenner beta array data file into a dipole-dipole array data set.
The Wenner gamma array is not frequently used but it has direct support in
RES2DINV. The file GAMMA.DAT is an example data file for this array. A
case history of a field survey in Africa using this array is given in section 18 of
this manual.
98
Appendix N Saving results in SURFER format
This option allows the user to save the apparent resistivity pseudosections and
model sections in the XYZ format used by the SURFER graphics 2-D plotting
program. After reading in an INV file containing the in inversion results in the
'Display' window, it is recommended that you display the pseudosections at
least once before using the option to save the results in SURFER format. If the
inversion file contains topographical data, such as the example
RATCHRO.INV file provided with this software package, you will need to use
select option 'Include topography in model display' to display the model section
with the topography. After that, you can click 'Save data in SURFER format'
option under the File menu. For the RATCHRO.INV file, the following dialog
box will be displayed.
In this dialog box, you can select the iteration number for which you want to
save the inversion results. Also, you can choose to save the resistivity values
directly, or the logarithm of the resistivity values which might be more suitable
if the resistivity values have a large range. SURFER will plot the sections as a
rectangular section. In many cases, especially a model section with topography,
this might not be appropriate. To remove the sections outside of the model
section, SURFER provides two methods of blanking part of the displayed
contoured section. The default and normally better method is to use the Base
99
Map Overlay feature in SURFER. In the bottom half of the dialog box, all the
various possible data or model sections are displayed. For a particular inversion
file, not all the possible sections are available. For example, the
RATHCRO.INV file does not have IP data, so the circles to the right of the
dialog box are not checked. As an exercise, click the 'Model resistivity with
topography' option for the RATHCRO.INV file. After clicking the OK button,
the program will then save the various sections. For a particular section, the
program will save 5 different files that are used for different functions in
SURFER. As an example, follow the following steps to plot the resistivity
(logarithm) model section with topography for the RATHCRO.INV file. The
different files are provided in the RES2DINV software package.
1). Create contour file. Click 'Grid' on the top menu bar, and then 'Data' to read
in the RATCHRO_TOPRESLOG.DAT file. After reading in the data file,
SURFER will show the 'Scattered Data Interpolation' dialog box. In the 'Grid
Line Geometry' section, the number of lines that SURFER uses to interpolate
the data values into a rectangular grid is shown. For this data set, the default
values are probably 50 lines in the X direction and 6 lines in the Y direction. In
most cases, you should increase the default values by a factor of 4 to 10 times
to improve the accuracy of the interpolation. For this example, try changing the
number of lines in the X and Y directions to 250 and 30 respectively (i.e.
increase the default values by a factor of 5). The SURFER program will create
a corresponding RATCHRO_TOPRESLOG.GRD file. Next click 'Map' on the
top menu bar and then 'Contour'. In the 'Contour' option, read in the
RATCHRO_TOPRESLOG.GRD file. Next the 'Contour Map' dialog box will
be shown. In this dialog box, click the 'Fill Contours' option. Next click the
'Load' button, and then read in the RATCHRO_TOPRESLOG.LVL file to set
the contour values and colours. If you wish to display the colour scale and
smooth the contours, click the 'Color Scale' and 'Smooth Contours' options.
Next click OK.
2). Next you need to mask out sections of the contour display. In the 'Map'
menu, click 'Load Base Map'. Choose the RATCHRO_TOPRESLOG.BLN as
the base map file. In the 'GS Blanking Import Options', just click OK. Do not
use the 'Areas to Curves' option. Next press F2, and then click the 'Overlap
Maps' option in the 'Map' menu. This will combine the contour map and the
base blanking map into a single map. Select the overlay by clicking near one of
the corners of the rectangle containing the contour map, and then select the
'Edit Overlays' command from the 'Map' menu. In the 'Edit Components' dialog
box, click the 'Base' and then click 'Move to Front' button. Next hold down the
CTRL key on the keyboard and click the overlay until the base map is
selected (as shown by the status indicator 'Map:Base' near the bottom left
corner of the screen). Next click the 'Draw' menu, and then choose the 'Fill
Attributes' option. Select the blank or white colour as the colour for the fill
100
attributes. Next click the 'Line Attributes', and also select the white colour so
that the overlay lines are not visible in the display.
3). Click the 'Post' command in the 'Map' menu, and then read in the
RATCHRO_TOPRESLOG_POST.DAT file (which contains the location of
the electrodes) in the 'Open Data' dialog box. After reading in this file, the 'Post
Map' dialog box will be shown. In this dialog box, select the symbol shape and
size and other options you want to use, and then click OK. After that, press F2,
and then click the 'Overlay Maps' command in the 'Map' menu. Next click the
figure and then the 'Edit Overlays' command in the 'Map' menu. Click 'Post'
and the 'Move to Front' , and the electrodes will be drawn on top of the model
section.
After drawing the section in the SURFER window, you can use other options
within SURFER to improve the model section, such as changing the font,
labels, titles etc., before printing the results or exporting it to another format.
SURFER supports a large variety of formats, including bit-mapped graphics
formats such as PCX, BMP, GIF etc.; and well as vector-based formats such as
the AUTOCAD DXF format.
For model sections without topography, step (3) where the post data map is
read is probably not necessary. However, you might need to adjust the tick
marks on the vertical scale on the left side of the contour plot. The depths are
given as negative values so that SURFER will plot the figure in the correct
orientation with the ground surface on top. As an example, draw the model
section for the Sting Cave example using the CAVE_MODRESLOG.DAT,
CAVE_MODRESLOG.LVL and CAVE_MODRESLOG.BLN files provided.
After you have drawn the model section, it is likely that you will only see the
0.0 mark on the left vertical axis for the depth scale. Click the left axis with the
right mouse button and the 'Left Axis' dialog box will be shown. Next click the
'Scaling' button in the dialog box. In the 'Axis Scaling' dialog box, change the
'Major Interval' value to 10 and the 'First Major Tick' to -40. Click OK to save
the values, and the left axis model section should then show ticks at depth
intervals of 10.
There will be slight differences in the contour sections drawn by SURFER and
RES2DINV due to the differences in the interpolation methods used. SURFER
does not use the original data points, but an interpolated rectangular grid of
points to draw the contours. The differences will probably be more obvious in
areas with very rapid changes in the resistivity. One way to reduce the
differences is to increase the number of grid lines used by SURFER for the
interpolation grid.
101
Appendix O : Model refinement
The RES2DINV program by default uses a model where the width of the
interior model cells is the same as the unit electrode spacing (for example as in
Figure 2). This works well in most cases. In some situations, particularly where
there are large resistivity variations near the ground surface, better results can
be obtained by using narrower model cells. There are two possible ways to
reduce the width of the model cells.
The first is by using the Use model refinement option on the Inversion
menu. Clicking this option will show the following dialog box.
This allows you to choose model cells with widths of half the unit electrode
spacing. In almost all cases, this gives the optimum results. After selecting this
option, you must read in the data file. The program will then automatically
reduce the unit electrode spacing it uses by half of that given in the data file.
The second method is to modify the data file directly using a text editor. The
unit electrode spacing is given in the second line of the apparent resistivity data
file. For example, the first few lines of the PIPESCHL.DAT file are reproduced
below.
In the second data line, the unit electrode spacing is given as 1.0 metre that is
the actual spacing used in this survey. When the RES2DINV reads in this data
file, it will set the width of the model cells to 1.0 metre. The file
PIPESCHL_HALF.DAT has the same data except that the unit electrode
spacing is now defined as 0.5 metre. The upper part of this file is shown below.
When the RES2DINV program reads this file, it will set the model cells to a
0.5 metre width. Figure 31 shows the inversion models for this data set using
cells with widths of 1.0 and 0.5 metre. The model with the 0.5 metre cell width
is able to more accurately model the high resistivity anomalies near the surface
between the 3 and 12 metres marks above the low resistivity pipe, and thus has
a slightly lower apparent resistivity RMS error. The Wenner-Schlumberger
array was used for this survey.
In most cases with large resistivity variations near the surface, using a model
with a cell width of half the actual unit electrode spacing is sufficient. In some
cases, using a narrower cell width of one-third or one-quarter the unit might be
justified, particularly if the survey was carried out using a pole-dipole or
dipole-dipole array with very high n factors. If the cell width is one-quarter
the true unit electrode spacing, or less, oscillations in the model resistivity
values in the first few layers can occur. Thus the use of a cell width of less than
one-quarter the true unit electrode spacing is not advisable.
It is recommended that you refer to section 4.7j of the free notes Tutorial : 2-
D and 3-D electrical imaging surveys that can be downloaded from the
www.geoelectrical.com web site. This section has a discussion on the effect of
using high n factors with the pole-dipole array on the sensitivity of the array
to near-surface anomalies.
103
Figure 31. (a) The apparent resistivity pseudosection for the PIPESCHL.DAT
data set. The inversion models using (b) cells with a width of 1.0 metre that is
the same as the actual unit electrode, and (c) using narrower cells with a width
of 0.5 metre. The pipe is marked by the low resistivity anomaly below the 12
metres mark. Note the near-surface high resistivity anomalies between the 3
and 12 metres marks. The Wenner-Schlumberger array was used for this
survey.
104
Appendix P : Combining 2-D files
The RES2DINV program has 2 options for combining 2-D data files. In one
option, intended for a series of parallel survey lines, you can combine a number
of 2-D data files into a single 3-D data file. This is the Collate data into
RES3DINV format option under the File menu. In the second option,
intended for several roll-along survey lines, you can combine them into a
single 2-D data file. This is the Concatenate 2-D data files option under the
File menu.
A script file is used to combine the 2-D files. The file COLLATE_2D_3D.TXT
is an example script file. The contents of this file together with a description of
the format used is given below.
The format used allows for the possibility that the survey had lines in 2
perpendicular directions.
A 2-D survey line has only one horizontal direction, and the coordinate of an
electrode along the survey line is given as the distance along the line, starting
from the first electrode. To determine the coordinate of the electrode in the X-
Y plane for a 3-D survey, we need to determine the coordinate of the first
electrode in the 2-D survey line within the X-Y survey grid. This gives a
reference point for which the coordinates of the other electrodes along the same
survey line can be calculated.
106
In a 2-D survey line, it is always assumed that the coordinate of the electrode
always increases starting from the first electrode (i.e. from left to right in a
typical pseudosection). However, the direction of increasing coordinate value
along the 2-D survey line might not always be the same as the positive X or Y
direction in the 3-D survey X-Y grid. The Line sign parameters allows for the
possibility that the direction of the 2-D survey line is opposite to the direction
of the positive X or Y axis in the X-Y grid.
While it is possible to combine a number of 2-D lines into a 3-D data set, it
might not always be worthwhile to do so. Firstly, it is recommended that there
should be at least 5 parallel lines. Furthermore, the separation between the lines
should not be more than twice the unit electrode spacing along the lines. For
further details, please refer to Chapter 8 of the free Tutorial : 2-D and 3-D
electrical imaging surveys by M.H.Loke. If you do not have a copy, it can be
downloaded from the www.geoelectrical.com web site.
In some resistivity meter multi-electrode systems, each new record starts with a
zero location for the first data electrodes. In order to combine different data
files, the x-locations of the data points in some of the files will have to shifted
so that all of them have a common origin. In the above script file format, this is
done by entering the coordinate of the first electrode for the survey line. In
most cases, the direction of the lines are the same, for example the x-locations
increases from the left to the right. However, an option is provided where the
survey lines were measured in different directions.
108
Appendix Q : Bedrock edge detection
In this option, the program attempts to pick the bedrock interface from the
model section and saves the x and y coordinates in an ASCII file. This method
is most successful where the bedrock has a sharp interface with the overlying
soil. One typical situation is shown in Figure 32. This survey was conducted to
map the a diorite bedrock with an intention of extending an existing quarry
(Turnbull 1986). The overburden has resistivities of less than 100 ohm.m while
the diorite has a resistivity of up to several hundred ohm.m.
The bedrock edge detection function is available within the Display window,
as shown below.
On clicking this menu option, the model section will first be drawn, and then
the following dialog box is shown. On clicking the Edge detection dialog is
shown.
There are 3 main parameters that the user need to select. The first is to set
upper and lower limits for the location of the boundary. By default, the
program will set them from 0 m. (on the ground surface) until the maximum
depth extent of the inversion model. In most cases, the upper limit is
commonly changed, particularly where there are large resistivity anomalies
near the surface (for example boulders). In this particular example, the
minimum depth is set at 15 m. for the bedrock interface.
The second important parameter is a minimum value for the bedrock. In this
example, a value of 150 ohm.m was chosen that probably corresponds to
partially weathered diorite. The third parameter is the maximum change in the
bedrock depth between adjacent electrodes. This is to prevent spikes in the
bedrock profile.
109
In most cases, the default values for the other parameters should work well. By
default, it is assumed that the bedrock has a higher resistivity than the
overburden. However, a provision is made for cases where the bedrock or a
subsurface layer of interest has a lower resistivity.
For most situations, the robust model inversion option should be used
(Appendix K). This normally produces a sharper bedrock boundary in the
inversion model. Also, a model where cells have widths of half the actual unit
electrode spacing (Appendix O) is recommended. For example the Stud Farm
survey was conducted with a unit electrode spacing of 25 m., but inversion
model below uses smaller cell widths.
110
Figure 32. Apparent resistivity pseudosection from the Stud Farm survey
together with the inversion model. The interpreted bedrock profile is also
shown. Note that the bedrock on the right end of the line is below the
maximum depth of investigation of the survey line.
111
Appendix R : Time-lapse resistivity inversion
In studying the changes of the subsurface resistivity with time, two-
dimensional resistivity imaging surveys are often repeated over the same line at
different times. Such studies include the flow of water through the vadose
zone, changes in the water table due to water extraction (Barker and Moore
1998), flow of chemical pollutants and leakage from dams.
The data format is largely similar to the normal data set with only one set of
readings. For a time-lapse data file, the main difference is the extra section just
112
before the data block with the apparent resistivity values. Here the header
"Time sequence data" is used to indicate the presence of the extra data sets
corresponding to the later time measurements. The following part of this extra
section contains information on the number of time series measurements (3 in
this example). The maximum number of time series data sets allowed is 12 if
the computer has at least 256 MB RAM, and 6 if the memory available is less.
For each data point, the format for the initial part is identical to that used for
the normal data sets. The only addition is that after the apparent resistivity
value for the first data set, the corresponding apparent resistivity values for the
later time data sets are given.
This program allows the use of joint inversion techniques using different types
of cross model constrains. When you select the "Select time-lapse inversion
method" under the "Change settings" menu, the follow dialog box is shown.
In the first set of options in the dialog box, several possible constrains which
guides the inversion process for multi-time data sets provided. Frequently, the
data from time-lapse surveys conducted at different times are inverted
independently. This method corresponds to the 'No constrains" option in the
above dialog box. The changes in the subsurface resistivity values are then
113
determined by comparing the model resistivity values obtained from the
inversions of an initial data set and the later time data sets. In many cases, such
an approach has given satisfactory results. However, in theory since the
inversion of each data set is carried out independently, there is no guarantee
that the differences in the resistivity values are only due to actual changes in
the subsurface resistivity with time.
In this program, a joint inversion technique that uses the model from the initial
data set to constrain the inversion of the later time data sets is used to minimise
possible distortions (Loke 1999). The initial data set inversion model is used as
a reference model in the inversion of the later time-lapse data sets. In the
"Minimise changes" option, a simple damped least-squares constrain to
minimise the differences in the model resistivity values between the initial
model and the time-lapse model is used. The "Least-squares smoothness
constrain" option uses a least-squares smoothness constrain to ensure that the
differences in the model resistivity values vary in a smooth manner. Finally, in
the "Robust smoothness constrain" option, a robust (Claerbout and Muir 1973)
smoothness constrain which minimises the absolute changes in the model
resistivity values is used.
In the second set of options, the user can choose to carry out the inversion of
all the time data sets simultaneously or sequentially. In the simultaneous
inversion option, the inversion of the first or reference data set is followed by
the inversion of the later time data sets in each iteration. Note that even if the
"No constrains" options is chosen earlier, the model obtained at the final
iteration for the first data set is still used as the starting model for the later time
data sets.
In the sequential inversion option, the full inversion of the first data set is first
carried out for about 5 iterations (or the selected number of iterations). The
model for the first data set for the final iteration is then used as the reference
model for the inversion of the later time data sets. The inversion of the later
time data sets starts only after the completion of the inversion of the first data
set. This sequential inversion is useful when the model section has very large
resistivity contrasts.
By default, the model obtained for the first data set is used as the reference
model for all the later time data sets, i.e. the same reference model is used for
all the other data sets. In case where there is a large change in the resistivity of
the models from the first to the last data set, an option is provided where the
model for the preceding data set is used as the reference model. In this case, the
model for the first data set is used as the reference model for the second data
set, while the model for the second data set is used as the reference model for
the third data set, and similarly for the other data sets.
114
The last option, the time-constrain weight, gives the relative importance given
to keeping the later time models as similar as possible to the reference model.
If a large weight is used, for example 10.0, the models for the later time data
sets will be kept very similar to the reference model. This effectively
minimises changes across the time models and reduces the possibility of noise
in the data sets causing spurious changes between the models. However, this is
at the expense of increasing the data misfit, i.e. the RMS difference between
the calculated and measured data. By default, a value of 3.0 is used for the
time-constrain weight. A value of 1.0 gives equal importance to minimising the
time changes in the model and minimising the RMS data error.
After carrying out the inversion of the time-lapse data set, please switch to the
Display window to read in the results in the inversion file. Several options
are provided to display the results from the time-lapse models. The options
designed specifically for time-lapse inversion models are given near the bottom
of the Display sections list in the Display window, as shown below.
The "Display percentage change in resistivity" option will display the change
in the model resistivity obtained from the inversion of a later time data set
compared with the reference model from the inversion of the first data set. The
"Display resistivity ratio" option will display the ratio of resistivities of the
later time model compared with the reference model.
After displaying the sections with the percentage change in the model
resistivity values, you can change the time-lapse data set selected by using the
'Home' and 'End' keys. By default the results for the last time-lapse data set will
115
be shown. You can show the results of an earlier data set by pressing the
'Home' key.
Just below the menu options to display the time-sections, there is a " Change
factor in Archie's Law" sub-option. Archie's Law which gives the relationship
between the resistivity of a porous rock and the fluid saturation factor is
applicable for certain types of rocks and sediments, particularly those that have
a low clay content. In the case, the electrical conduction is assumed to be
through the fluids filling the pores of the rock. Archie's Law is given by
= a w m
where is the rock resistivity, w is fluid resistivity, is the fraction of the
rock filled with the fluid, while a and m are two empirical parameters (Keller
and Frischknecht 1966). For most rocks, a is about 1 while m is about 2. Under
certain special conditions, the above equation can be used to determine the
change in the fluid saturation or fluid resistivity with time.
If initially the subsurface material is saturated with water, and the change in the
resistivity is caused by withdrawal of water (i.e. a reduction in the fraction per
unit volume of the rock which is filled with water), the desaturation factor
(Keller and Frischknecht 1966) can be calculated from the change in the
subsurface resistivity. To calculate the desaturation factor, the value of the m
parameter in Archie's Law is needed. By default it is set to 2.0 but this value
can be changed by the user.
On the other extreme, consider a case where the fluid saturation factor does not
change but the resistivity of the fluid changes (for example in tracer
experiments with a conductive salt below the water table). The ratio of the
resistivity of the fluid at the later time to the initial resistivity can be calculated
directly from the model resistivities.
It must be emphasised that the above two situations are ideal cases. The results
are only valid if Archie's Law holds for the subsurface medium. In many cases,
the relationship between the medium resistivity and water content is much
more complicated (Olivar et al. 1990).
Figure 33. (a) The apparent resistivity and (b) inversion model sections from
the survey conducted at the beginning of the Birmingham infiltration study.
This shows the results from the initial data set which forms the base model in
the joint inversion with the later time data sets. As a comparison, the model
obtained from the inversion of the data set collected after 10 hours of irrigation
is shown in (c).
The water distribution is more easily determined from a plot of the percentage
change in the subsurface resistivity in the inversion models for the data sets
taken at different times (Figure 34) when compared with the initial data set
model. The data set collected at 5 hours after the pumping began shows a
reduction in the resistivity (of up to over 50 percent) near the ground surface in
the vicinity of the24 metres mark. The near-surface low resistivity zone reaches
its maximum extent and maximum amplitude after about 10 hours when the
pumping was stopped (Figure 34b). Twelve hours after the pumping was
stopped, the low resistivity plume has spread downwards and slightly outwards
due to infiltration of the water through the unsaturated zone. There is a
117
decrease in the maximum percentage reduction in the resistivity values near the
surface due to migration of the water from the near surface zone. This effect of
the spreading of the plume becomes increasingly more pronounced after 24
hours, 36 hours and 52 hours (Figures 34d, 34d, 34f) due to further migration
of the water. Note that the bottom boundary of the zone with approximately 20
percent reduction in the resistivity values tends to flatten out at a depth of about
3 metres (Figure 28e) where the plume from the surface meets the water table.
Missing data :- If a measurement was missing from a time series, enter 0.0 as
the value of the apparent resistivity for that particular time series. The program
will assume that a zero value is an indication of a missing data point.
118
Figure 34. Sections showing the change in the subsurface resistivity values
with time obtained from the inversion of the data sets collected during the
infiltration and recovery phases of the study.
119
Appendix S : Incorporating data noise estimates
Some types of resistivity surveying instruments record an estimate of the
random noise for each measurement. This is usually made by repeating the
same measurement several times. The data error estimate is then calculated
from the standard deviation in the readings. This actually gives a measure of
the repeatability in the readings, i.e. the random noise. Note that this data error
estimate does not included sources of systematic errors such as coupling
between the cables.
To include the data error estimate in a data file, the error values are entered
after the apparent resistivity value. The file MODEL35_N.DAT is an example
of a data file from a surface survey with the error values. Part of the file is
shown below with an explanation of the changes needed.
MODEL35_N.DAT Comments
Block Model | Title
1.00 | Unit electrode spacing
7 | Wenner-Schlumberger array
230 | Number of data points
1 | Type of x-location (center)
0 | No IP
Error estimate for data present | Header to indicate error values
| present
Type of error estimate (0=same unit as data) | Header for type of error
0 | 0 to indicate it is same unit as data
| value
1.500 1.000 1.000 10.0145 0.1434 | x-loc., a value, n value, apparent
2.500 1.000 1.000 9.9706 0.1882 | resistivity, data point error value
3.500 1.000 1.000 10.3357 0.1761 |
Note there are two new additions in the data format. Firstly, just before the
section of the file with the measured apparent resistivity data points, there are 3
extra lines. The first line Error estimate for data present is a header to indicate
that the data file contains the data error estimates. The second new line is a
header to explain the use of the next line. The third line contains a flag to
indicate to the program the units used in the error estimate. At present, use a
value of 0 to indicate that the error value has the same units as the data value.
For example, if the measurements are given as ohm.m, then the error values
must also be in ohm.m The measurements in most instruments are given as
resistance values (i.e. ohm), or voltage plus current values which can be
converted to resistance values. To calculate the apparent resistivity value, the
resistance value is multiplied by a geometric factor. The error value recorded
by the instrument is probably in the form of a resistance (ohm) value. Thus the
error estimate recorded by the instrument must also be multiplied by the same
120
geometric factor before it is entered into the DAT file format used by this
program.
The use of the flag for the unit used by the error value makes it possible for
future versions of the program to allow the use of other units for the error
value, for example the data in ohm.m while the error in ohm. Another
possibility is the error given as a percentage value.
(J T
)
WdT Wd J + F d= J T WdT Wd g Fq k
where Wd is a diagonal weighting matrix that incorporates the effect of the
data errors. Data points with a smaller error are given a greater weight in the
inversion process.
The figure below shows an example of a data set collected by the OhmMapper
system together with the inversion model produced by the RES2DINV
program. The survey was conducted over an area with weathered granite. The
data set is given in the file OHMMAPPER.DAT. The measurements were
made using the dipole-dipole array with a dipole length "a" spacing of 10
metres and with n values of 0.5 to 3.5 (Appendix A). The data set has 732 data
points while the inversion model consist of 1240 cells. The inversion of this
data set it took about 15 minutes on a 300 MHz Pentium II computer.
DISCLAIMER
This software is provided "as is" without any express or implied warranties
including its suitability for a particular purpose. Neither the author nor the
subagent will assume responsibility for any damage or loss caused by the use
of this program. In the event of program bugs, every effort will be made to
correct the bugs and a replacement program will be provided for a nominal
charge to cover postage and handling. Faulty dongles or program disks will be
replaced free of charge within the first 6 months from the date of purchase to
registered users. Registered users are entitled to free updates within the first
year.
SUPPORT
Please contact your distributor if you have any questions concerning this
program. A frequent source of queries is when the results obtained are not what
you expect, or the program refuses to accept your data file. In such a case,
support will only be provided if a copy of the data file is sent together as an
attachment with your email, preferably compressed into a ZIP file. The most
common causes of problems are (a) the data in the DAT file is not given in the
correct RES2DINV format (b) excessive noise in the data set (particularly for
dipole-dipole surveys and/or IP data sets) (c) instrument malfunction or field
survey errors. It is only possible to trace the source of the problem if a copy of
the data file is provided.
Please note that support is only available for registered users of the full version
of the program. It is not possible to provide technical support for users of the
demo version of this software. For technical support, you can contact the
software provider by email at the following addresses. Please attach a copy of
your data file to your email.
[email protected]
[email protected]
1). Your dongle ID number. This ID number is displayed near the bottom of
the initial information box when the RES2DINV program starts up if the
dongle is attached to the computer.
2). The name of your company or institution.
3). Approximate date your company/institution purchased the software.
123
Whats New
Version 3.00 - Major upgrade to Windows 3.1 and 95. Maximum number of
electrodes increased to 500. Multi-tasking support for Windows 95. Support for
any Windows compatible graphics card and printer.
Version 3.11 - The time taken by the finite-element subroutine to calculate the
Jacobian matrix is reduced. An option to use a finer mesh for the finite-
difference or finite-element forward modelling method is added.
Version 3.12 - Non-integer values for the n factor for the dipole-dipole, pole-
dipole and Wenner-Schlumberger arrays supported (please refer to Appendix
A). The maximum limits for the number of data levels and model layers
increased to 52 and 17 respectively.
Version 3.13 - The ratio of the largest electrode spacing to unit electrode
spacing for the Wenner and pole-pole array was increased from 32 to 64. The
maximum number of data levels is now 64. The maximum number of model
layers was also increased to 18.
Version 3.31 - An option for a used defined model added. In this model, the
user specifies the thickness of the first layer and the factor to increase the
thickness for each subsequent deeper layer. The program will also
automatically update the directory used for the input data files and the output
inversion files listed in the RES2DINV.INI file.
Version 3.34 - A few bug fixes. The user can now scale the depths of the model
layers so that the depth to the last layer can be much greater than the default
limit allowed by the program. When the program saves the model values in the
XYZ format, it will now also save the coordinates of the corners of the blocks
in the model. An option to use a very fine mesh in the vertical direction for
resistivity contrasts of greater than 250:1 was added, as well as an option for 6
nodes in the horizontal direction between adjacent electrodes.
Version 3.35 - The user can now set the maximum number of electrodes, from
150 to 1500, via the JACOBWIN.EXE program. Drawing of colour contour
sections is now significantly faster on most computers.
Version 3.36 - A robust least-squares inversion option was added. For very
noisy data with outliers, the resulting model will be less sensitive to such
datum points when the robust data inversion method is selected. For areas
where the subsurface geology has sharp interfaces, the robust model inversion
method will give better results.
Version 3.41 Two new methods for topographic modelling using a damped
distorted grid and the inverse Schwartz-Christoffel transformation added.
Version 3.43 - Support for the Wenner Gamma array, and underwater surveys
with non-conventional arrays. Maximum number of electrodes increased to
2000. The program has also been optimised for data sets where the unit
125
electrode spacing has been reduced by half of the actual value so as to get a
model where the width of the blocks is half the usual size. This helps in cases
where there are very large lateral resistivity variations near the surface.
Version 3.45 - Option to save results in SURFER format added. Also support
for surveys with some electrodes underwater and some electrodes above the
water surface level added.
Version 3.46 - Minor additions for data in general array format. Option to use a
model with half the unit electrode spacing for data in general array format is
added (see the file RATCMIX2.DAT for an example). It is now possible to
carry out the inversion of data in the general array format with the demo
version, but the results will only be displayed temporarily on the screen during
the inversion. The damped distorted grid finite-element method is set as the
default method for topographic modelling.
Version 3.47 An option to carry out the inversion of IP data sequentially was
added. Slight changes in the menu structure.
Version 3.52 Option for surveys with floating electrodes added. Support for
topography in cross-borehole surveys included.
Version 3.53 Sparse inversion option for very long survey lines (2000 to
16000 electrode positions) added. This method inverts the entire data set and
model at a single time to produce a continuous and seamless model. New
format for batch mode option script file which makes use of the files
containing the inversion parameters produced by the RES2DINV program.