OpendTect User Documentation version 4.2
Prev Next

7.3. Madagascar

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 ...

7.3.1. Madagascar Installation

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:

mkdir $RSFROOT/doc
$RSFROOT/bin/sfdoc -t $RSFROOT/doc/txt

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):

Install per section (for a full installation):
Post-cygwin installation:
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

7.3.2. Madagascar Processing window

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.

7.3.3. Toolbar

The toolbar is composed of the file option and three shortcut items.
The file option is as follows:



The toolbar contains three shortcuts to create, open, and save the flow:

This creates a new processing flow.
This will open a saved flow.
This will save a newly created flow.

7.3.4. Processing input

The first step is to select an input cube.



The input can be a 3D volume, a Prestack volume, a Madagascar volume, or None. It is possible to choose a volume sub-selection.

7.3.5. Madagascar processing output

The final step is to chose an output volume type.



Similar to the input selection, it can be a 3D volume, a Prestack volume, a Madagascar volume, or None.

Prev Home Next
Create Grid Output   Generic Mapping Tools (GMT)