last update: Jun 30, 1998.
Vicky Kaspi
CHECK_S_FILES
check_s_files is a script for use on .s. files produced by
pmbirdie_hunter. Its
job is to examine a directory of .s. files and identify missing
beams and pointings. An option is to touch dummy beams
to replace missing ones, to allow
pmbirdie_summary to keep
proper count of files it reads in. If an entire pointing is
missing it does not replace it. The script
pmbird uses check_s_files for
this purpose prior to running
pmbirdie_summary .
Usage: check_s_files tape start_pointing end_pointing a/c
tape is the tape name (e.g. PM0017)
start_pointing is the first pointing number to consider
end_pointing is the last pointing number to consider
a = announce missing beams and pointings, take no action
c = create dummy .s. files for missing beams
The script runs on either pm survey data or other target search data.
If it finds a missing .s. file, it looks for the corresponding .ascu
file to decide on the dummy .s. file name format. If the .ascu file
is missing, then if the tape name begins with "PM", it assumes
this is pm survey data, and inserts a % and grid number. If not,
it assumes it is not pm survey data, and omits the % and grid number.
Note that this script could easily be modified for use on files
other than .s. files.