A generic user interface exists to Madagascar, an open source seismic processing package that is very popular in seismic R&D communities. In the builder, seismic pre- and post-stack input and output files are either OpendTect or Madagascar formatted. The processing flow is constructed as a sequence of Madagascar programs, using their parameters. These programs are selected from a list of available programs (presently over 300), with a search field included to guide the user.
Madagascar processing results can be further analysed in OpendTect.
Notes:
1- The user first must install Madagascar in order to use this interface between OpendTect and Madagascar.
2- It's not possible to view Madagascar plots directly from the OpendTect user interface on Windows. If the user wants to see the plot, she/he has to make her/his own arrangements like starting the xserver etc ...
Madagascar is an open-source, standalone software. To be used with OpendTect, Madagascar must first be installed, if not the following situation will happen:
The user needs to install the Madagascar package (see install) and set the RSFROOT variable to the installation directory. In order to get the full UI, the user also needs to ensure that the text doc is installed. This can be done with:
Note that this is still the default path of the documentation. The documentation is now automatically generated at $RSFROOT/share/doc/madagascar/txt
Windows installation
Madagascar (v1.2) has been tested under window 7 (64 bits) with cygwin 1.7.9.1.
Create a folder called "cygwin" at the root of your C: drive
Create a folder called "setup" inside that cygwin folder. You should thus have C:\cygwin\setup
Download and copy both the cygwin setup package and the madagascar installation package inside the "setup" directory. Launch the cygwin installation:
The following packages must be installed in addition to the already selected packages (one can select the binaries only):
If the compilation fails: Exit the cygwin terminal, launch the executable C:\cygwin\bin\ash.exe from the windows explorer, and execute "/usr/bin/rebaseall", "exit". Re-start cygwin and go back to the sources folder "cd /usr/local/madagascar-1.2"
User setup, bash shell: execute 'echo "export RSFROOT=/usr/local/rsf" >> ~/.bashrc'
User setup, bash shell: execute 'echo "source $RSFROOT/share/madagascar/etc/env.sh" >> ~/.bashrc'
[temp] Copy the documentation to the old default location: "mkdir $RSFROOT/doc", followed by "cp -a $RSFROOT/share/doc/madagascar/txt $RSFROOT/doc"
Windows setup:
The following environment variables must be created in the USER space (in the system properties window, advanced tab):
Variable: Value
RSFROOT: C:\cygwin/usr/local/rsf
PYTHONPATH: %RSFROOT%/lib/python2.6/site-packages
DATAPATH: C:\cygwin/var/tmp/
The following values must be added to potentially existing variables:
PATH: %PATH%;%RSFROOT%/bin
The Madagascar processing window can be launched from the OpendTect toolbar by pressing the Madagascar icon. The new pop-up window will look like the figure below.
Select the input cube to be processed, and then choose a program or combination of programs. Programs are organized into groups of programs. Once one program is selected, a description of program's functions are shown in the neighbouring frame.
The different steps, as well as a synopsis, of the computation are provided. The descriptions of each program are available on the Madagascar site.