Index: /branches/eam_branches/ipp-20110213/ippconfig/gpc1/ppStack.config
===================================================================
--- /branches/eam_branches/ipp-20110213/ippconfig/gpc1/ppStack.config	(revision 30677)
+++ /branches/eam_branches/ipp-20110213/ippconfig/gpc1/ppStack.config	(revision 30678)
@@ -20,3 +20,19 @@
 PS1_REFERENCE METADATA
     OUTPUT.NOCOMP   BOOL    TRUE
+    OUTPUT.LOGFLUX  BOOL    FALSE
 END
+
+STACK_DEEP    METADATA
+    OUTPUT.NOCOMP   BOOL    TRUE
+    OUTPUT.LOGFLUX  BOOL    FALSE
+END
+
+STACK_NIGHTLY  METADATA
+    OUTPUT.NOCOMP   BOOL    FALSE
+    OUTPUT.LOGFLUX  BOOL    FALSE
+END
+
+STACK_THREEPI  METADATA
+    OUTPUT.NOCOMP   BOOL    FALSE
+    OUTPUT.LOGFLUX  BOOL    TRUE
+END
Index: /branches/eam_branches/ipp-20110213/ippconfig/recipes/fitstypes.mdc
===================================================================
--- /branches/eam_branches/ipp-20110213/ippconfig/recipes/fitstypes.mdc	(revision 30677)
+++ /branches/eam_branches/ipp-20110213/ippconfig/recipes/fitstypes.mdc	(revision 30678)
@@ -98,4 +98,16 @@
 	NOISE		S32	8
 END
+# Compressed log flux image for stacks.
+COMP_STACK     METADATA
+        BITPIX          S32     16
+        SCALING         STR     LOG_STDEV_POSITIVE
+        STDEV.BITS      S32     4
+        STDEV.NUM       F32     10
+	COMPRESSION     STR     RICE
+	TILE.X		S32	0
+	TILE.Y		S32	1
+	TILE.Z		S32	1
+	NOISE		S32	8
+END
 
 # Compressed exposure image
Index: /branches/eam_branches/ipp-20110213/ippconfig/recipes/ppStack.config
===================================================================
--- /branches/eam_branches/ipp-20110213/ippconfig/recipes/ppStack.config	(revision 30677)
+++ /branches/eam_branches/ipp-20110213/ippconfig/recipes/ppStack.config	(revision 30678)
@@ -112,2 +112,14 @@
         PHOTOMETRY          BOOL  FALSE           # Do basic photometry?
 END
+
+
+# 
+
+STACK_DEEP    METADATA
+END
+
+STACK_NIGHTLY  METADATA
+END
+
+STACK_THREEPI  METADATA
+END
Index: /branches/eam_branches/ipp-20110213/ippconfig/recipes/reductionClasses.mdc
===================================================================
--- /branches/eam_branches/ipp-20110213/ippconfig/recipes/reductionClasses.mdc	(revision 30677)
+++ /branches/eam_branches/ipp-20110213/ippconfig/recipes/reductionClasses.mdc	(revision 30678)
@@ -192,4 +192,26 @@
 	JPEG_BIN1	STR	PPIMAGE_J1
 	JPEG_BIN2	STR	PPIMAGE_J2
+END
+
+# reduction classes for different stacks
+# regular stacks
+NIGHTLY_STACK         METADATA
+      STACK_PPSTACK   STR      STACK_NIGHTLY
+      STACK_PPSUB     STR      STACK
+      STACK_PSPHOT    STR      STACK
+END
+
+# deep stacks
+DEEP_STACK            METADATA
+      STACK_PPSTACK   STR      STACK_DEEP
+      STACK_PPSUB     STR      STACK
+      STACK_PSPHOT    STR      STACK
+END
+
+# three pi stacks
+THREEPI_STACK         METADATA
+      STACK_PPSTACK   STR      STACK_THREEPI
+      STACK_PPSUB     STR      STACK
+      STACK_PSPHOT    STR      STACK
 END
 
