In order to set up a proper environment, you first have to create an analysis directory (e.g ibis_data_rep) and ``cd'' into it:
mkdir ibis_data_rep cd ibis_data_rep
This working directory ibis_data_rep will be referred to as the ``REP_BASE_PROD'' directory in the following. All the data required in your analysis should then be available from this ``top'' directory, and they should be organized as follows
The cat/, ic/ and idx/ directories are part of the OSA software distribution and should be installed following the ``INTEGRAL Off-line Scientific Analysis Installation Guide'' [5]. The actual data along with the auxiliary files (scw/ and aux/) are sent to the Principal Investigators of the observation. Alternatively, the public data can be downloaded from the archive (see Section 6.1.1). In case the data are already available on your system you can either copy these data to the relevant working directory, or better, create soft links as shown below. Alternatively, if you do not have any of the above data on your local system, or if you do not have a local archive with the scw/ and the aux/ branch available, follow the instructions in the next section to download data from the ISDC WWW site.
ln -s directory_of_ic_files_installation__/ic ic ln -s directory_of_ic_files_installation__/idx idx ln -s directory_of_cat_installation__/cat cat ln -s directory_of_local_archive__/scw scw ln -s directory_of_local_archive__/aux aux
Then, just create a file ``isgri_gc.lst'' containing the 5 lines:
scw/0051/005100410010.001/swg.fits scw/0051/005100420010.001/swg.fits scw/0051/005100430010.001/swg.fits scw/0051/005100440010.001/swg.fits scw/0051/005100450010.001/swg.fits
and a file ``picsit.lst'' containing:
scw/0039/003900020020.001/swg.fits scw/0039/003900020030.001/swg.fits scw/0039/003900020040.001/swg.fits scw/0039/003900020050.001/swg.fits scw/0039/003900020060.001/swg.fits
The created files contain the list of ScWs you want to analyze.
These file names `isgri_gc.lst' and `picsit.lst' will be used later as an argument for the og_create program (see Sections 7, 10).