XMM-Newton Science Analysis System: Users' Guide


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


2.3.3 cifbuild

A detailed description of the way to access the calibration data files appropriated for a certain data set, and the parameters that need to be specified, can be found in the section 3.11. The SAS command cifbuild reads the observation date from the observation start date of the observation to be analyzed, as reported by the ODF Access Layer (OAL), to select the default calibration files. Alternatively, the user can specify the observation date of the calibration to be used by modifing the cifbuild task parameters.

All calibration files are kept in a repository accessible to the SAS user for building the calibration database.

Calling cifbuild with no parameters assumes the following default parameters:

cifbuild calindexset = 'ccf.cif' withccfpath = no usecanonicalname = no \
         ccfpath = '.' recurse = no fileglob = '*.ccf|*.CCF' fullpath = no \
         withobservationdate = no observationdate = 'now' analysisdate = 'now'\
         category = 'XMMCCF' ignorecategory = no masterindex = no \
         withmasterindexset = no masterindexset = 'ccf.mif' append = no

The output of cifbuild is the calibration index set (ccf.cif in the example above).

Once this command ends successfully, SAS has to be pointed to the ccf.cif file by means of the $SAS_CCF environment variable, as follows:

export SAS_CCF=/path/to/ccf.cif [sh, bash, ksh]

setenv SAS_CCF /path/to/ccf.cif [csh, tcsh]



European Space Agency - XMM-Newton Science Operations Centre