1
! @(#)make_red.prg 19.1 (ES0-DMD) 02/25/03 14:16:04
2
! @(#)make_red.prg 19.1 (ESO-SDAG) 02/25/03 14:16:04
3
! +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
!.COPYRIGHT (C) 1993 European Southern Observatory
5
!.IDENTIFICATION: make_red.prg
6
!.PURPOSE: Create the reduction table containing all science frames
7
!. to be reduced and the name of the master calibration frames
8
!.AUTHOR: Rein H. Warmels
10
!. where p1 = output table containing all columns for the
11
!. science and master calibration frames as defined
12
!. by the keyword setting SC_COL, "exp"_COL.
13
!.VERSION: 920410 RHW creation
14
!.VERSION: 930516 RHW Minor cosmetic changes
15
!.VERSION: 930516 RHW Improve speed and structure
16
!.VERSION: 950114 RHW New version based on the new DO output table
17
! +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18
DEFINE/PARAM P1 ? TBL "Name of output CCD Table:"
22
if sc_col(1:1) .ne. "?" .and. sc_col(1:1) .ne. " " then
23
crea/col {P1} :{SC_COL} A20 C*60
25
write/out " *** ERROR: Science column ill defined; no column created"
28
if bs_col(1:1) .ne. "?" .and. bs_col(1:1) .ne. " " then
29
crea/col {P1} :{BS_COL} A20 C*60
31
write/out " *** ERROR: Bias column ill defined; no column created"
34
if dk_col(1:1) .ne. "?" .and. dk_col(1:1) .ne. " " then
35
crea/col {P1} :{DK_COL} A20 C*60
37
write/out " *** ERROR: Dark column ill defined; no column created"
40
if ff_col(1:1) .ne. "?" .and. ff_col(1:1) .ne. " " then
41
crea/col {P1} :{FF_COL} A20 C*60
43
write/out " *** ERROR: Flat column ill defined; no column created"
46
if sk_col(1:1) .ne. "?" .and. sk_col(1:1) .ne. " " then
47
crea/col {P1} :{SK_COL} A20 C*60
49
write/out " *** ERROR: Sky column ill defined; no column created"