PURPOSE:
This script is intended as a general tool for users
of the SAX-WFC analysis software package.
It can also serve as a template for user dedicated
processing.
USE:
w_run OPnum [FOT data topdir] [FITS data topdir] [camers]
parameter 1: OP number
parameter 2: FOT data topdir. (def: /saxdat1/tmp)
(data-dir will be /saxdat1/tmp/wop_xxx)
parameter 3: fits data topdir (def: /saxdat1/tmp/)
(fits-dir will be /saxdat1/tmp/username/wop_xxx)
any parameter: 'w1' or 'w2' only processes specified camera
This script can be used if certain assumptions about the
directory naming is valid.
It is required that the FOT data has been stored in a
subdirectory of a general top directory, say /fottop.
Further it is assumed that the the name of the subdirectory
is of the form 'op_####' or 'wop_####' where '####' represents
the Observation Period number (OP_num).
Additionally the resulting files after stageI are stored in
subdirectory of a username dedicated top directory.
For barolo this would mean that for
username = user
OP = 777
fottop = /fot3/wfc
fitstop = /arch2/wfc
after
w_run 777 /fot3/wfc /home
the FOT data is taken to resid in
/fot3/wfc/op_777
the fitsfiles of stage-1 are stores in directory
/home/user/wop_777
the result files from stage-2 in directory where you
currently invoked w_run