next up previous contents
Next: Useful to know! Up: Cookbook for JEM-X analysis Previous: Downloading Your Data   Contents


Setting the environment

Before you run any OSA software, you must also set your environment correctly.

The commands below apply to the csh family of shells (i.e csh and tcsh) and should be adapted for other families of shells[*].

In all cases, you have to set the REP_BASE_PROD variable to the location where you perform your analysis (e.g the directory jmx_data_rep). Thus, type:

setenv REP_BASE_PROD $PWD

Then, if not already set by default by your system administrator, you should set some environment variables and type:

setenv ISDC_ENV directory_of_OSA_sw_installation
setenv ISDC_REF_CAT $REP_BASE_PROD/cat/hec/gnrl_refr_cat_0041.fits
source $ISDC_ENV/bin/isdc_init_env.csh
or
export ISDC_ENV=directory_of_OSA_sw_installation
export ISDC_REF_CAT=$REP_BASE_PROD/cat/hec/gnrl_refr_cat_0041.fits
source $ISDC_ENV/bin/isdc_init_env.sh
The user should take care of using an appropriate catalog. The latest one is available at the https://www.isdc.unige.ch/integral/science/catalogueISDC reference catalog page.

The idea is to:

Besides these mandatory settings, there are two optional environment variables (COMMONLOGFILE and COMMONSCRIPT) which are useful.


next up previous contents
Next: Useful to know! Up: Cookbook for JEM-X analysis Previous: Downloading Your Data   Contents
inthelp@sciops.esa.int