$Id$


NeSDaC

SAX-WFC Stage II environment variables, file names, formats and paths


File format, types

All stageII datafiles have the same FITS (Flexible Image Transport System) dataformat.

The different stageII filetypes in use are identified by the value of the "CONTENT" keyword. A default suffix, appended to a file's name, may provide a clue to its type.

File paths

By default, any file referenced by its simple name, ie. not containing any path information, must be located in the current working directory, otherwise it cannot be found. To use a file in an arbitrary location in the file system, specify an absolute or relative path. The default location for specific groups of files can be altered by defining an environment variable for this filegroup, however a filename containing an explicit path is never changed.

WFC_TOP=
unused.
WFC_CAL= directory
The default location of the instrument, mask and det definition files will be directory.
WFC_SOURCEDIR = indir
WFC_DESTDIR= outdir
The default location of any input file is indir, output files are created in outdir. When chaining some programs where the output from the one provides the input file for the next, this really does not make much sense. However, it can be applied when processing a lot of different datafiles with one proces.
WFC_CONFIG = path
path is the full pathname of the wfc configuration file used in the StageII processes to contruct the proper instrument data filename from the FITS keys INSTRUME and TELESCOP.

In the WFC software distribution, this file has the name wfc_config and is located in the $WFC_CAL directory.

WFC_CAT= catalogname
A SAX-WFC format specific catalog file with X-ray source position and spectral parameters.
WFC_CATALOG= catalog-dir
A WFC specific catalog is to be searched in directory catalog-dir. do not use, use WFC_CAT.

Other references

WFC_FITSORIG
Gives the default value for the "ORIGIN" keyword in every FITSfile created.


Back to: