XMM-Newton Science Analysis System
testprods (testprods-1.6) [xmmsas_20050815_1803-6.5.0]
Meta Index / Home Page
Description
This package contains FITS datasets (mostly images or event lists) for use in test harnesses for a number of sas tasks.
To make use of this facility for your own task, do the following:
- Make a new subdirectory `mytask_data', or what you will, under testprods.
- Move the data files you need to run the test harness of mytask to testprods/mytask_data/.
- Add `mytask_data' to the DATADIRS line of testprods/Makefile.
- Check that testprods compiles ok, then upload testprods with an increment to the minor version number.
- Add lines
my $data_dir = `saslocate lib/data/mytask_data`;
chomp($data_dir);
to your perl test harness. (Shell-script preferers can, I am sure, translate.) Your files can now be found in the subdirectory name stored in the variable $data_dir. Alter command lines in the test harness to read the files from there.
- Check that this all works then upload your new version of mytask.
XMM-Newton SOC/SSC -- 2005-08-15