Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.5.0/doc/omslewchain.ps.gz
Дата изменения: Tue Aug 16 08:08:52 2005
Дата индексирования: Tue Oct 2 10:15:49 2012
Кодировка:

Поисковые слова: arp 220
XMM-Newton Science Analysis System Page: 1
omslewchain
August 16, 2005
Abstract
Chain script used to run slew pipeline tasks
1 Instruments/Modes
2 Use
pipeline processing /no
interactive analysis /no
3 Description
This package contains a PERL script which takes a set of image mode OM SDF les in a single directory
and processes them in a pipeline to produce OM image mode pipeline products see Fig. ?? . Given a
directory with a set of SDF les that conform to the lename speci cation given in the ODF ICD the
PERL script will process the image les and will crash out with an error should one of the tasks fail.
The test harness for omslewchain contains 4 simulated OM SDF dataset comprising of a single exposure
with 2 observation science windows. Modulo-8 noise and at elding are included. The test harness runs
omslewchain on the les, to produce the PPS products and populated the at eld index. If the PERL
script fails then the test harness fails.
xmmsas 20050815 1803-6.5.0

XMM-Newton Science Analysis System Page: 2
4 Parameters
This section documents the parameters recognized by this task (if any).
Parameter Mand Type Default Constraints
archive root no string ./archive Archive root directory
This defaults initially to the environment variable (ARCH ROOT).
5 Errors
This section documents warnings and errors generated by this task (if any). Note that warnings and
errors can also be generated in the SAS infrastructure libraries, in which case they would not be docu-
mented here. Refer to the index of all errors and warnings available in the HTML version of the SAS
documentation.
Cannot create directory (error)
archiveroot does not exist or does not have permission
omprepslew failed (error)
package omprepslew failed - see its documentation
cant make subdirectory observation key (error)
permissions wrong
omcomb failed (error)
package omcomb failed - see its documentation
omcos ag failed (error)
package omcos ag failed - see its documentation
ommattmodmap failed (error)
package ommattmodmap failed - see its documentation
om atindex failed (error)
package om atindex failed - see its documentation
6 Input Files
1. Any ts le in the current working directory which has a name of the form de ned in doc
ref.
7 Output Files
1. Files in the atindex structure with subdirectories and names as de ned in ref.
xmmsas\_20050815\_1803-6.5.0

XMM-Newton Science Analysis System Page: 3
8 Algorithm
get and create the archive root directory
get a list of file names in the current working directory.
sort the file names according to observation, exposure, window and file type.
run the pipeline.
for each orbit
print orbit being processed
for each slew observation
print Slew Observation being processed
construct a list of filenames for:
raw images
combined images
mod8 combined images
for each exposure
print exposure being processed
check to see if Window Data File is present
set pipeline variables.
for each window data file
prepare images for pipeline using omprepslew
add filenames for
raw images
exposure image
raw exposure images
to appropriate lists
end window data files
make archive subdirectory (if it does not exist)
construct file names
produce tracking history products using omcomb
copy combined image to archive
produce bad pixel map for ommodmap(see below) using omcosflag
xmmsas\_20050815\_1803-6.5.0

XMM-Newton Science Analysis System Page: 4
correct images for modulo-8 noise using ommodmap
remove fixed pattern noise using ommattmodmap
add mod8 combined file name to list
end exposure
update index using omflatindex
remove work files
end observation
end orbit
9 Comments
References
xmmsas 20050815 1803-6.5.0