Description:
Pointsum goes through all the sdf files in the current directory and, optionally, DATADIR (defined in
an environment variable) and summarizes files containing pointing observations.
In the absence of the all
flag, a numeric range is requested. This range only has an effect on raw data or
reduced files which have the run number embedded into the file name. Filenames
with no numbers are treated as scan 0.
Usage:
pointsum [-h] [-demod] [-reduced]
[-all[-begin nn -end nn]]
Parameters:
h[elp]
Return a help message only. More help can be obtained by using ‘showme sun216’ or ‘scuhelp pointsum’.
all
List all pointing files in the current directory and $DATADIR
demod
Only list demodulated data files (signified by _dem_ file name)
reduced
Only list reduced data files (signified by _red_ file name)
begin nn
First scan number to be
considered (same as begin==nn)
end nn
Final scan number to be
considered (same as end=nn)
Examples:
pointsum
Ask for a range of scan numbers and then give a summary of every
pointing file matching this criterion in DATADIR and the current directory. pointsum
all
Generate a summary of all pointing files in the current and DATADIR directory. pointsum
begin=5
end=100
Generate a summary of all pointing data from scans 5 to 100 inclusive. pointsum
all
reduced
Produce a one line summary of all reduced pointing (_red_) files. pointsum
all
reduced
log.txt
Produce a one line summary of all the reduced pointing files and store
the output in the text file log.txt (note this example is shell specific). pointsum
all
reduced
demod
Produce a summary of all reduced (_red_) and demodulated (_dem_) pointing files (ie not files
produced during off-line data reduction). Notes:
-
pointsum only displays pointing data.
-
Files are drawn from the current working directory and the directory indicated by the $DATADIR
environment variable.
-
Data reduced by the off-line system will all be treated as run 0 for the purposes of listing unless
numbers are present in the filename.
-
The output can be stored in a file by using unix redirection as long as the search range is fully specified (either
as ‘all’ or
with ‘begin’
and ‘end’).
-
Command line options can be abbreviated.
-
Options that take values can be used either as
‘flag option’ or
as ‘flag=option’
Related Applications
Copyright © 1997-2000,2003 Particle Physics and Astronomy Research Council