XMM-Newton Science Analysis System: Users' Guide


next up previous contents
Next: 2.3.2 Telling SAS where to find the ODF and CCF files Up: 2.3 Starting a SAS session Previous: 2.3 Starting a SAS session


2.3.1 Seting up the basic SAS environment

To start a new SAS session the SAS environment has to be initialized by means of one of the shell scripts created during the SAS software installation process (see section § 1.3). The way this is done depends on the shell used. Assuming the working directory is /my_work, and that SAS software installation was done at:

/top_dir/xmmsas_YYYYMMDD_HHMM

the script can be executed as follows:

. /top_dir/xmmsas_YYYYMMDD_HHMM/setsas.sh  [sh, bash, ksh]

or 

source /top_dir/xmmsas_YYYYMMDD_HHMM/setsas.csh [csh, tcsh]

We recommend not to work in the directory where SAS is installed, i.e. not to mix the working directory, /my_work, with the SAS installation directory, /top_dir/xmmsas_YYYYMMDD_HHMM.

The setsas.[c]sh script takes care of all necessary environment setup required to work with SAS. However, to start working, SAS has to be told where are the observation data files(ODFs) and the calibration files (CCFs).



European Space Agency - XMM-Newton Science Operations Centre