aboutsummaryrefslogtreecommitdiff
path: root/noao/imred/ccdred/ccddb
diff options
context:
space:
mode:
Diffstat (limited to 'noao/imred/ccdred/ccddb')
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/ccd.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/cfccd.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/csccd.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/ech.dat19
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/epi5.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/epi5_badpix.dat22
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/fpccd.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/OLD/instruments.men5
-rw-r--r--noao/imred/ccdred/ccddb/ctio/cfccd_both.dat27
-rw-r--r--noao/imred/ccdred/ccddb/ctio/cfccd_f1.dat27
-rw-r--r--noao/imred/ccdred/ccddb/ctio/cfccd_f2.dat27
-rw-r--r--noao/imred/ccdred/ccddb/ctio/csccd.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/echccd.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/instruments.men9
-rw-r--r--noao/imred/ccdred/ccddb/ctio/nfccd.dat23
-rw-r--r--noao/imred/ccdred/ccddb/ctio/pfccd_both.dat27
-rw-r--r--noao/imred/ccdred/ccddb/ctio/pfccd_f1.dat27
-rw-r--r--noao/imred/ccdred/ccddb/ctio/pfccd_f2.dat27
-rw-r--r--noao/imred/ccdred/ccddb/kpno/Revisions35
-rw-r--r--noao/imred/ccdred/ccddb/kpno/camera.dat21
-rw-r--r--noao/imred/ccdred/ccddb/kpno/coude.cl4
-rw-r--r--noao/imred/ccdred/ccddb/kpno/coude.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/cryocam.cl3
-rw-r--r--noao/imred/ccdred/ccddb/kpno/cryocam.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/default.cl41
-rw-r--r--noao/imred/ccdred/ccddb/kpno/demo.cl72
-rw-r--r--noao/imred/ccdred/ccddb/kpno/demo.dat3
-rw-r--r--noao/imred/ccdred/ccddb/kpno/direct.cl4
-rw-r--r--noao/imred/ccdred/ccddb/kpno/direct.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/echelle.cl3
-rw-r--r--noao/imred/ccdred/ccddb/kpno/echelle.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/fibers.cl3
-rw-r--r--noao/imred/ccdred/ccddb/kpno/fibers.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/fits.dat21
-rw-r--r--noao/imred/ccdred/ccddb/kpno/foe.cl3
-rw-r--r--noao/imred/ccdred/ccddb/kpno/foe.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/hydra.cl12
-rw-r--r--noao/imred/ccdred/ccddb/kpno/hydra.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/instruments.men12
-rw-r--r--noao/imred/ccdred/ccddb/kpno/kpnoheaders.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/specphot.cl5
-rw-r--r--noao/imred/ccdred/ccddb/kpno/specphot.dat9
-rw-r--r--noao/imred/ccdred/ccddb/kpno/sunlink.cl4
-rw-r--r--noao/imred/ccdred/ccddb/kpno/sunlink.dat8
-rw-r--r--noao/imred/ccdred/ccddb/kpno/template.cl25
45 files changed, 761 insertions, 0 deletions
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/ccd.dat b/noao/imred/ccdred/ccddb/ctio/OLD/ccd.dat
new file mode 100644
index 00000000..45e38898
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/ccd.dat
@@ -0,0 +1,23 @@
+exptime itime
+darktime itime
+imagetyp data-typ
+subset none
+biassec biassec [405:425,7:572]
+datasec datasec [35:340,4:570]
+fixfile fixfile home$badpix
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
+
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" other
+COMPARISON other
+BIAS zero
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/cfccd.dat b/noao/imred/ccdred/ccddb/ctio/OLD/cfccd.dat
new file mode 100644
index 00000000..35af13e9
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/cfccd.dat
@@ -0,0 +1,23 @@
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+subset filters
+biassec biassec
+datasec datasec
+fixfile fixfile
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
+
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" other
+COMPARISON other
+BIAS zero
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/csccd.dat b/noao/imred/ccdred/ccddb/ctio/OLD/csccd.dat
new file mode 100644
index 00000000..d46f11c0
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/csccd.dat
@@ -0,0 +1,23 @@
+exptime exptime
+darktime darktime
+imagetyp data-typ
+subset none
+biassec biassec
+datasec datasec
+fixfile fixfile
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
+
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" other
+COMPARISON other
+BIAS zero
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/ech.dat b/noao/imred/ccdred/ccddb/ctio/OLD/ech.dat
new file mode 100644
index 00000000..32cf5ee1
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/ech.dat
@@ -0,0 +1,19 @@
+exptime exptime
+darktime darktime
+subset none
+biassec biassec
+trimsec datasec
+imagetyp imagetyp
+
+'OBJECT' object
+'COMPARISON' other
+'BIAS' zero
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/epi5.dat b/noao/imred/ccdred/ccddb/ctio/OLD/epi5.dat
new file mode 100644
index 00000000..7b7613de
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/epi5.dat
@@ -0,0 +1,23 @@
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+subset none
+biassec biassec [420:431,10:576]
+trimsec trimsec [15:393,10:576]
+fixfile fixfile home$ccds/epi5_badpix.dat
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
+
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" other
+COMPARISON other
+BIAS zero
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/epi5_badpix.dat b/noao/imred/ccdred/ccddb/ctio/OLD/epi5_badpix.dat
new file mode 100644
index 00000000..d4ccc345
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/epi5_badpix.dat
@@ -0,0 +1,22 @@
+# EPI5_BADPIX.DAT - GEC EPI5 Blue Air Schmidt untrimmed coordinates
+#
+# Map includes columns which bleed due to very poor charge transfer at low
+# light levels.
+#
+# SRH 8 December 87
+#
+ 37 37 396 313
+ 37 37 510 528
+ 46 46 482 307
+ 77 77 148 490
+129 129 21 48
+154 154 346 446
+262 262 199 450
+284 284 493 549
+307 308 196 210
+307 309 395 576
+312 312 480 496
+347 348 88 111
+347 347 112 468
+352 352 127 438
+378 378 515 529
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/fpccd.dat b/noao/imred/ccdred/ccddb/ctio/OLD/fpccd.dat
new file mode 100644
index 00000000..a56c56c0
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/fpccd.dat
@@ -0,0 +1,23 @@
+EXPTIME exptime
+DARKTIME darktime
+IMAGETYP imagetyp
+subset FPZ
+biassec biassec
+datasec datasec
+fixfile fixfile
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
+
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" other
+COMPARISON other
+BIAS zero
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/OLD/instruments.men b/noao/imred/ccdred/ccddb/ctio/OLD/instruments.men
new file mode 100644
index 00000000..8fe97635
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/OLD/instruments.men
@@ -0,0 +1,5 @@
+ccd CTIO genetic CCD
+ech CTIO generic Echelle/CCD
+cfccd CTIO generic CF/CCD
+csccd CTIO generic CS/CCD
+fpccd CTIO generic FP/CCD
diff --git a/noao/imred/ccdred/ccddb/ctio/cfccd_both.dat b/noao/imred/ccdred/ccddb/ctio/cfccd_both.dat
new file mode 100644
index 00000000..37991738
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/cfccd_both.dat
@@ -0,0 +1,27 @@
+# CFCCD.DAT -- Instrument file to be used with quad when reducing direct
+# imageing data obtained with ArCon.
+
+# Uncomment ONE of the following 3 lines to select the
+# header keyword to use when grouping images into subsets by filter.
+subset filters
+#subset filter1
+#subset filter2
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/cfccd_f1.dat b/noao/imred/ccdred/ccddb/ctio/cfccd_f1.dat
new file mode 100644
index 00000000..68cd2063
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/cfccd_f1.dat
@@ -0,0 +1,27 @@
+# CFCCD.DAT -- Instrument file to be used with quad when reducing direct
+# imageing data obtained with ArCon.
+
+# Uncomment ONE of the following 3 lines to select the
+# header keyword to use when grouping images into subsets by filter.
+#subset filters
+subset filter1
+#subset filter2
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/cfccd_f2.dat b/noao/imred/ccdred/ccddb/ctio/cfccd_f2.dat
new file mode 100644
index 00000000..c4d03cb8
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/cfccd_f2.dat
@@ -0,0 +1,27 @@
+# CFCCD.DAT -- Instrument file to be used with quad when reducing direct
+# imageing data obtained with ArCon.
+
+# Uncomment ONE of the following 3 lines to select the
+# header keyword to use when grouping images into subsets by filter.
+#subset filters
+#subset filter1
+subset filter2
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/csccd.dat b/noao/imred/ccdred/ccddb/ctio/csccd.dat
new file mode 100644
index 00000000..000f8c07
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/csccd.dat
@@ -0,0 +1,23 @@
+# CCD.DAT -- Instrument file to be used with ccdred when reducing spectroscopic
+# data obtained with ArCon.
+
+subset none
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON object
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/echccd.dat b/noao/imred/ccdred/ccddb/ctio/echccd.dat
new file mode 100644
index 00000000..90d08173
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/echccd.dat
@@ -0,0 +1,23 @@
+# ECHCCD.DAT -- Instrument file to be used with ccdred when reducing echelle
+# spectroscopic data obtained with ArCon.
+
+subset none
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
+FOCUS object
diff --git a/noao/imred/ccdred/ccddb/ctio/instruments.men b/noao/imred/ccdred/ccddb/ctio/instruments.men
new file mode 100644
index 00000000..144c41d5
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/instruments.men
@@ -0,0 +1,9 @@
+cfccd_f1 - Cassegrain focus CCD direct subset=filter1
+cfccd_f2 - Cassegrain focus CCD direct subset=filter2
+cfccd_both - Cassegrain focus CCD direct subset=filters
+csccd - Cassegrain focus spectroscopy
+echccd - Echelle spectroscopy
+nfccd - Newtonian focus CCD direct (Schmidt)
+pfccd_f1 - Prime focus CCD direct subset=filter1
+pfccd_f2 - Prime focus CCD direct subset=filter2
+pfccd_both - Prime focus CCD direct subset=filters
diff --git a/noao/imred/ccdred/ccddb/ctio/nfccd.dat b/noao/imred/ccdred/ccddb/ctio/nfccd.dat
new file mode 100644
index 00000000..06a173cf
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/nfccd.dat
@@ -0,0 +1,23 @@
+# NFCCD.DAT -- Instrument file to be used with ccdred when reducing direct
+# imageing data obtained with ArCon.
+
+subset filter1
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/pfccd_both.dat b/noao/imred/ccdred/ccddb/ctio/pfccd_both.dat
new file mode 100644
index 00000000..ac8e03a6
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/pfccd_both.dat
@@ -0,0 +1,27 @@
+# PFCCD.DAT -- Instrument file to be used with quad when reducing direct
+# imageing data obtained with ArCon.
+
+# Uncomment ONE of the following 3 lines to select the
+# header keyword to use when grouping images into subsets by filter.
+subset filters
+#subset filter1
+#subset filter2
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/pfccd_f1.dat b/noao/imred/ccdred/ccddb/ctio/pfccd_f1.dat
new file mode 100644
index 00000000..9893d7f1
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/pfccd_f1.dat
@@ -0,0 +1,27 @@
+# PFCCD.DAT -- Instrument file to be used with quad when reducing direct
+# imageing data obtained with ArCon.
+
+# Uncomment ONE of the following 3 lines to select the
+# header keyword to use when grouping images into subsets by filter.
+#subset filters
+subset filter1
+#subset filter2
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/ctio/pfccd_f2.dat b/noao/imred/ccdred/ccddb/ctio/pfccd_f2.dat
new file mode 100644
index 00000000..89028468
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/ctio/pfccd_f2.dat
@@ -0,0 +1,27 @@
+# PFCCD.DAT -- Instrument file to be used with quad when reducing direct
+# imageing data obtained with ArCon.
+
+# Uncomment ONE of the following 3 lines to select the
+# header keyword to use when grouping images into subsets by filter.
+#subset filters
+#subset filter1
+subset filter2
+
+exptime exptime
+darktime darktime
+imagetyp imagetyp
+biassec biassec
+datasec datasec
+trimsec trimsec
+fixfile fixfile
+
+FOCUS object
+OBJECT object
+DARK dark
+"PROJECTOR FLAT" flat
+"SKY FLAT" flat
+COMPARISON other
+ZERO zero # New software
+BIAS zero # Old software
+"DOME FLAT" flat
+MASK other
diff --git a/noao/imred/ccdred/ccddb/kpno/Revisions b/noao/imred/ccdred/ccddb/kpno/Revisions
new file mode 100644
index 00000000..47195a53
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/Revisions
@@ -0,0 +1,35 @@
+.help revisions Dec91 ccddb$kpno
+.nf
+hydra.dat +
+hydra.cl +
+direct.cl +
+coude.cl
+cryocam.cl
+default.cl
+echelle.cl
+fibers.cl
+foe.cl
+specphot.cl
+sunlink.cl
+instruments.men
+ 1. Added hydra entry.
+ 2. Linked all the entries to the new "default.cl" so that each
+ setup script only contains the differences from the default.
+ (9/8/97, Valdes)
+
+*.cl
+ 1. (all) ccdred.plotfile = "".
+ 2. (all) ccdred.pixeltype = "real real".
+ 3. (direct,fibers) ccdproc.interactive = yes
+ 4. (coude, specphot) ccdproc.ccdtype = ""
+ ccdproc.flatcor = no
+ ccdproc.trimsec = ""
+ (12/12/91, Valdes)
+
+instruments.men
+ Removed sunlink from the instrument menu. (12/12/91, Valdes)
+
+coude.dat
+ Changed the subset parameter from FILTER to GRATPOS. (12/11/91, Valdes)
+
+.endhelp
diff --git a/noao/imred/ccdred/ccddb/kpno/camera.dat b/noao/imred/ccdred/ccddb/kpno/camera.dat
new file mode 100644
index 00000000..841a37b9
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/camera.dat
@@ -0,0 +1,21 @@
+exptime otime
+darktime ttime
+imagetyp data-typ
+subset f1pos
+biassec biassec []
+datasec datasec []
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
+
+'OBJECT (0)' object
+'DARK (1)' dark
+'PROJECTOR FLAT (2)' flat
+'SKY FLAT (3)' other
+'COMPARISON LAMP (4)' other
+'BIAS (5)' zero
+'DOME FLAT (6)' flat
diff --git a/noao/imred/ccdred/ccddb/kpno/coude.cl b/noao/imred/ccdred/ccddb/kpno/coude.cl
new file mode 100644
index 00000000..1eb1a73e
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/coude.cl
@@ -0,0 +1,4 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/coude.dat"
+ccdproc.trimsec = ""
diff --git a/noao/imred/ccdred/ccddb/kpno/coude.dat b/noao/imred/ccdred/ccddb/kpno/coude.dat
new file mode 100644
index 00000000..f32350aa
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/coude.dat
@@ -0,0 +1,9 @@
+subset gratpos
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/cryocam.cl b/noao/imred/ccdred/ccddb/kpno/cryocam.cl
new file mode 100644
index 00000000..1e917ff2
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/cryocam.cl
@@ -0,0 +1,3 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/cryocam.dat"
diff --git a/noao/imred/ccdred/ccddb/kpno/cryocam.dat b/noao/imred/ccdred/ccddb/kpno/cryocam.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/cryocam.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/default.cl b/noao/imred/ccdred/ccddb/kpno/default.cl
new file mode 100644
index 00000000..df16c7b6
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/default.cl
@@ -0,0 +1,41 @@
+# Default KPNO parameters.
+
+ccdred.pixeltype = "real real"
+ccdred.verbose = yes
+ccdred.logfile = "logfile"
+ccdred.plotfile = ""
+ccdred.backup = ""
+ccdred.instrument = "ccddb$kpno/default.dat"
+ccdred.ssfile = "subsets"
+ccdred.graphics = "stdgraph"
+ccdred.cursor = ""
+
+ccdproc.ccdtype = ""
+ccdproc.fixpix = no
+ccdproc.overscan = yes
+ccdproc.trim = yes
+ccdproc.zerocor = yes
+ccdproc.darkcor = no
+ccdproc.flatcor = no
+ccdproc.readcor = no
+ccdproc.scancor = no
+ccdproc.readaxis = "line"
+ccdproc.biassec = "image"
+ccdproc.trimsec = "image"
+ccdproc.interactive = yes
+ccdproc.function = "chebyshev"
+ccdproc.order = 1
+ccdproc.sample = "*"
+ccdproc.naverage = 1
+ccdproc.niterate = 1
+ccdproc.low_reject = 3
+ccdproc.high_reject = 3
+ccdproc.grow = 0
+
+combine.rdnoise= "rdnoise"
+combine.gain="gain"
+zerocombine.rdnoise= "rdnoise"
+zerocombine.gain="gain"
+flatcombine.rdnoise= "rdnoise"
+flatcombine.gain="gain"
+flatcombine.reject = "crreject"
diff --git a/noao/imred/ccdred/ccddb/kpno/demo.cl b/noao/imred/ccdred/ccddb/kpno/demo.cl
new file mode 100644
index 00000000..51c54909
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/demo.cl
@@ -0,0 +1,72 @@
+# Demonstration parameter setting script.
+
+# Set package parameters:
+ccdred.pixeltype = "real real"
+ccdred.verbose = yes
+ccdred.logfile = "Demo.log"
+ccdred.plotfile = "Demo.plots"
+ccdred.backup = "B"
+ccdred.ssfile = "Demo.subsets"
+
+# Set processing parameters:
+ccdproc.fixpix = yes
+ccdproc.overscan = yes
+ccdproc.trim = yes
+ccdproc.zerocor = yes
+ccdproc.darkcor = yes
+ccdproc.flatcor = yes
+ccdproc.illumcor = no
+ccdproc.fringecor = no
+ccdproc.readcor = no
+ccdproc.scancor = no
+ccdproc.readaxis = "line"
+ccdproc.fixfile = "ccdtest$badpix.dat"
+ccdproc.biassec = "image"
+ccdproc.trimsec = "image"
+ccdproc.zero = ""
+ccdproc.dark = ""
+ccdproc.flat = ""
+ccdproc.illum = ""
+ccdproc.fringe = ""
+ccdproc.scantype = "shortscan"
+ccdproc.nscan = 1
+ccdproc.interactive = yes
+ccdproc.function = "legendre"
+ccdproc.order = 1
+ccdproc.sample = "*"
+ccdproc.naverage = 1
+ccdproc.niterate = 1
+ccdproc.low_reject = 3.
+ccdproc.high_reject = 3.
+ccdproc.grow = 0.
+flatcombine.process = no
+
+# Set demonstration observation parameters:
+artobs.ncols = 132
+artobs.nlines = 100
+artobs.filter = ""
+artobs.datasec = "[1:100,1:100]"
+artobs.trimsec = "[3:98,3:98]"
+artobs.biassec = "[103:130,*]"
+artobs.imdata = ""
+artobs.skyrate = 0.
+artobs.badpix = "ccdtest$badpix.dat"
+artobs.biasval = 500.
+artobs.badval = 500.
+artobs.zeroval = 100.
+artobs.darkrate = 1.
+artobs.zeroslope = 0.01
+artobs.darkslope = 0.002
+artobs.flatslope = 3.0000000000000E-4
+artobs.sigma = 5.
+artobs.seed = 0
+artobs.overwrite = no
+
+# Set demonstration subsection readout parameters:
+subsection.ncols = 82
+subsection.nlines = 50
+subsection.ccdsec = "[26:75,26:75]"
+subsection.datasec = "[1:50,1:50]"
+subsection.trimsec = ""
+subsection.biassec = "[51:82,1:50]"
+subsection.overwrite = no
diff --git a/noao/imred/ccdred/ccddb/kpno/demo.dat b/noao/imred/ccdred/ccddb/kpno/demo.dat
new file mode 100644
index 00000000..72697f58
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/demo.dat
@@ -0,0 +1,3 @@
+imagetyp ccdtype
+exptime integ
+subset filter
diff --git a/noao/imred/ccdred/ccddb/kpno/direct.cl b/noao/imred/ccdred/ccddb/kpno/direct.cl
new file mode 100644
index 00000000..dfa9bc51
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/direct.cl
@@ -0,0 +1,4 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/direct.dat"
+ccdproc.flatcor = yes
diff --git a/noao/imred/ccdred/ccddb/kpno/direct.dat b/noao/imred/ccdred/ccddb/kpno/direct.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/direct.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/echelle.cl b/noao/imred/ccdred/ccddb/kpno/echelle.cl
new file mode 100644
index 00000000..a011cc8f
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/echelle.cl
@@ -0,0 +1,3 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/echelle.dat"
diff --git a/noao/imred/ccdred/ccddb/kpno/echelle.dat b/noao/imred/ccdred/ccddb/kpno/echelle.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/echelle.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/fibers.cl b/noao/imred/ccdred/ccddb/kpno/fibers.cl
new file mode 100644
index 00000000..bb1e0398
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/fibers.cl
@@ -0,0 +1,3 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/fibers.dat"
diff --git a/noao/imred/ccdred/ccddb/kpno/fibers.dat b/noao/imred/ccdred/ccddb/kpno/fibers.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/fibers.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/fits.dat b/noao/imred/ccdred/ccddb/kpno/fits.dat
new file mode 100644
index 00000000..f47abf8d
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/fits.dat
@@ -0,0 +1,21 @@
+exptime itime
+darktime itime
+imagetyp data-typ
+subset f1pos
+biassec biassec []
+datasec datasec []
+
+fixpix bp-flag 0
+overscan bt-flag 0
+zerocor bi-flag 0
+darkcor dk-flag 0
+flatcor ff-flag 0
+fringcor fr-flag 0
+
+'object ( 0 )' object
+'dark ( 1 )' dark
+'proj flat ( 2 )' flat
+'sky flat ( 3 )' other
+'comp ( 4 )' other
+'bias ( 5 )' zero
+'dome flat ( 6 )' flat
diff --git a/noao/imred/ccdred/ccddb/kpno/foe.cl b/noao/imred/ccdred/ccddb/kpno/foe.cl
new file mode 100644
index 00000000..da4081cb
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/foe.cl
@@ -0,0 +1,3 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/foe.dat"
diff --git a/noao/imred/ccdred/ccddb/kpno/foe.dat b/noao/imred/ccdred/ccddb/kpno/foe.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/foe.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/hydra.cl b/noao/imred/ccdred/ccddb/kpno/hydra.cl
new file mode 100644
index 00000000..b24dc05e
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/hydra.cl
@@ -0,0 +1,12 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/hydra.dat"
+
+combine.gain = "gain_12"
+combine.rdnoise = "noise_12"
+zerocombine.gain = "gain_12"
+zerocombine.rdnoise = "noise_12"
+darkcombine.gain = "gain_12"
+darkcombine.rdnoise = "noise_12"
+flatcombine.gain = "gain_12"
+flatcombine.rdnoise = "noise_12"
diff --git a/noao/imred/ccdred/ccddb/kpno/hydra.dat b/noao/imred/ccdred/ccddb/kpno/hydra.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/hydra.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/instruments.men b/noao/imred/ccdred/ccddb/kpno/instruments.men
new file mode 100644
index 00000000..5dea4af6
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/instruments.men
@@ -0,0 +1,12 @@
+direct Current headers for Sun plus CCDPROC setup for direct CCD
+specphot Current headers for Sun plus CCDPROC setup for spectropho-
+ tometry, ie GoldCam, barefoot CCD
+hydra WIYN Hydra with Arcon
+foe Current headers for Sun plus CCDPROC setup for FOE
+fibers Current headers for Sun plus CCDPROC setup for fiber array
+coude Current headers for Sun plus CCDPROC setup for Coude
+cyrocam Current headers for Sun plus CCDPROC setup for Cryo Cam
+echelle Current headers for Sun plus CCDPROC setup for Echelle
+kpnoheaders Current headers with no changes to CCDPROC parameters
+fits Mountain FITS header prior to Aug. 87 (?)
+camera Mountain CAMERA header for IRAF Version 2.6 and earlier
diff --git a/noao/imred/ccdred/ccddb/kpno/kpnoheaders.dat b/noao/imred/ccdred/ccddb/kpno/kpnoheaders.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/kpnoheaders.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/specphot.cl b/noao/imred/ccdred/ccddb/kpno/specphot.cl
new file mode 100644
index 00000000..4359279d
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/specphot.cl
@@ -0,0 +1,5 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/specphot.dat"
+ccdproc.trimsec = ""
+ccdproc.grow = 1
diff --git a/noao/imred/ccdred/ccddb/kpno/specphot.dat b/noao/imred/ccdred/ccddb/kpno/specphot.dat
new file mode 100644
index 00000000..f0a6134b
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/specphot.dat
@@ -0,0 +1,9 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
+'SKY FLAT' object
diff --git a/noao/imred/ccdred/ccddb/kpno/sunlink.cl b/noao/imred/ccdred/ccddb/kpno/sunlink.cl
new file mode 100644
index 00000000..1f5fe7fe
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/sunlink.cl
@@ -0,0 +1,4 @@
+cl < "ccddb$kpno/default.cl"
+
+ccdred.instrument = "ccddb$kpno/sunlink.dat"
+ccdproc.flatcor = yes
diff --git a/noao/imred/ccdred/ccddb/kpno/sunlink.dat b/noao/imred/ccdred/ccddb/kpno/sunlink.dat
new file mode 100644
index 00000000..44d237d6
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/sunlink.dat
@@ -0,0 +1,8 @@
+subset filters
+
+DARK dark
+BIAS zero
+OBJECT object
+'DOME FLAT' flat
+'PROJECTOR FLAT' flat
+'COMPARISON' comp
diff --git a/noao/imred/ccdred/ccddb/kpno/template.cl b/noao/imred/ccdred/ccddb/kpno/template.cl
new file mode 100644
index 00000000..b5284029
--- /dev/null
+++ b/noao/imred/ccdred/ccddb/kpno/template.cl
@@ -0,0 +1,25 @@
+# Template parameter setting script. These parameters should be
+# set for a particular instrument.
+
+ccdproc.fixpix =
+ccdproc.overscan =
+ccdproc.trim =
+ccdproc.zerocor =
+ccdproc.darkcor =
+ccdproc.flatcor =
+ccdproc.readcor =
+ccdproc.scancor =
+ccdproc.readaxis =
+ccdproc.fixfile =
+ccdproc.biassec =
+ccdproc.datasec =
+ccdproc.scantype =
+ccdproc.interactive =
+ccdproc.function =
+ccdproc.order =
+ccdproc.sample =
+ccdproc.naverage =
+ccdproc.niterate =
+ccdproc.low_reject =
+ccdproc.high_reject =
+ccdproc.grow =