In reference to the examples below, see also the CAL documentation on how to specify a CIF.
Note: in the following examples we use the Bourne shell syntax to specify environment variables. C shell users should convert that to setenv VARIABLE value.
This creates the file ccf.cif (the default value of calindexset) in the current directory. The CCF constituents are searched among the files in the two directories specified in the environment variable SAS_CCFPATH. The observation date is taken from the active ODF as indicated by the variable SAS_ODF. The analysis date defaults to now (the default value of analysisdate).
If the usecanonicalname had been set to true, the name of the CIF would have been of the form rrrr_ppppppooll.cif, where rrrr is the revolution number, and ppppppooll is the observation identifier.
cifbuild –withmasterindexset=yes –masterindexset=XMM_CALINDEX_0123.CCF
The CIF is built from the list of CCF constituents specified in XMM_CALINDEX_0123.CCF.
This creates the file ccf.cif (the default value of calindexset) in the current directory. The CCF constituents are searched among the files in the two directories specified with ccfpath. The observation date is taken from the active ODF as indicated by the variable SAS_ODF. The analysis date defaults to now (the default value of analysisdate). The CIF contains the full path to the CCF constituents.
To use the CIF set the environemnt variable SAS_CCF to be ccf.cif. If you set SAS_CCF to be the absolute path to the CIF, then the latter can be used from any other directory.
The CIF ccf.cif contains the base name of the CCF constituents found in /path/to/ccfstore.
To use the CIF place it in /path/to/ccfstore and set the environemnt variable SAS_CCF to be /path/to/ccfstore.
As in 4, but now the CIF is called myobservation.cif and is written directly to the directory /path/to/ccfstore.
To use the CIF set the environment variable SAS_CCF to be /path/to/ccfstore/myobservation.cif.
As in 3, but now the observation date is specified to be Midnight January 13, 2000.
As in 3, but the observation date is taken from the active ODF, but the CIF is built as if the analysis was being performed on March 19, 2000.
cifbuild –calindexset=ccf.cif –withccfpath=yes –ccfpath=/path/to/ccfstore/ –append=yes
This builds a CIF that contains constituents of category SCISIMCCF if they exist, otherwise constituents of category XMMCCF are used.
XMM-Newton SOC -- 2023-04-16