Index: branches/eam_branches/ipp-20100823/ippconfig/gpc1/camera.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/gpc1/camera.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/gpc1/camera.config	(revision 29520)
@@ -160,2 +160,7 @@
 NPIX_MAX		    S32	    1455690816
 NPIX_INTERCHIP          S32     103794483
+
+# The set of maskbits that should not be set to NAN in "released" images
+# This value is equal to CONV.POOR | STARCORE | SPIKE | SUSPECT  = 0x5280
+# unfortunately the perl parser won't accept a hex value
+MASK.NO.CENSOR      U32      21120
Index: branches/eam_branches/ipp-20100823/ippconfig/isp/camera.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/isp/camera.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/isp/camera.config	(revision 29520)
@@ -76,2 +76,4 @@
 
 PHOTCODE.RULE           STR     {DETECTOR}.{FILTER.ID}		# Rule for generating photcode
+# don't censor any masked pixels when making postage stamps
+MASK.NO.CENSOR               U32 0xFFFFFFFF
Index: branches/eam_branches/ipp-20100823/ippconfig/isp/dvo.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/isp/dvo.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/isp/dvo.config	(revision 29520)
@@ -17,6 +17,6 @@
 CCDNUM-KEYWORD		EXTNAME
 ST-KEYWORD		NONE
-OBSERVATORY-LATITUDE	NONE
-OBSERVATORY-LONGITUDE	NONE
+OBSERVATORY-LATITUDE	20.7070999146
+OBSERVATORY-LONGITUDE	10.4170608521
 SUBPIX_DATAFILE		NONE
 
@@ -46,5 +46,2 @@
 # scaled correlation radius 
 ADDSTAR_NSIGMA		0
-
-CATMODE			MEF
-CATFORMAT		PANSTARRS_DEV_0
Index: branches/eam_branches/ipp-20100823/ippconfig/isp/format.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/isp/format.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/isp/format.config	(revision 29520)
@@ -49,7 +49,7 @@
 	FPA.ALT		STR	ALT
 	FPA.AZ		STR	AZ
-	FPA.TEMP	STR	CCDTEMP
+	FPA.TEMP	STR	DETTEM
 	FPA.EXPOSURE	STR	EXPTIME
-	CHIP.TEMP	STR	CCDTEMP
+	CHIP.TEMP	STR	DETTEM   #KELVIN
 	CELL.EXPOSURE	STR	EXPTIME
 	CELL.DARKTIME	STR	DARKTIME
Index: branches/eam_branches/ipp-20100823/ippconfig/megacam/camera.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/megacam/camera.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/megacam/camera.config	(revision 29520)
@@ -153,2 +153,5 @@
 
 PHOTCODE.RULE           STR     {DETECTOR}.{FILTER.ID}.{CHIP.N}		# Rule for generating photcode
+
+# don't censor any masked pixels
+NO.CENSOR               U32 0xFFFFFFFF
Index: branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-mef.mdc
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-mef.mdc	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-mef.mdc	(revision 29520)
@@ -295,4 +295,5 @@
                                                                                      
 PPSTAMP.OUTPUT          OUTPUT {OUTPUT}.fits                     IMAGE     COMP_IMG   FPA        TRUE      NONE
+PPSTAMP.OUTPUT.DIFF     OUTPUT {OUTPUT}.fits                     IMAGE     COMP_SUB   FPA        TRUE      NONE
 PPSTAMP.OUTPUT.MASK     OUTPUT {OUTPUT}.mk.fits                  MASK      COMP_MASK  FPA        TRUE      NONE
 PPSTAMP.OUTPUT.VARIANCE OUTPUT {OUTPUT}.wt.fits                  VARIANCE  COMP_WT    FPA        TRUE      NONE
Index: branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-simple.mdc
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-simple.mdc	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-simple.mdc	(revision 29520)
@@ -267,4 +267,5 @@
                                              
 PPSTAMP.OUTPUT               OUTPUT {OUTPUT}.fits                 IMAGE           COMP_IMG   FPA        TRUE      NONE
+PPSTAMP.OUTPUT.DIFF          OUTPUT {OUTPUT}.fits                 IMAGE           COMP_SUB   FPA        TRUE      NONE
 PPSTAMP.OUTPUT.MASK          OUTPUT {OUTPUT}.mk.fits              MASK            COMP_MASK  FPA        TRUE      NONE
 PPSTAMP.OUTPUT.VARIANCE      OUTPUT {OUTPUT}.wt.fits              VARIANCE        COMP_WT    FPA        TRUE      NONE
Index: branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-split.mdc
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-split.mdc	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/recipes/filerules-split.mdc	(revision 29520)
@@ -280,4 +280,5 @@
 
 PPSTAMP.OUTPUT               OUTPUT {OUTPUT}.fits                     IMAGE           COMP_IMG   FPA        TRUE      NONE
+PPSTAMP.OUTPUT.DIFF          OUTPUT {OUTPUT}.fits                     IMAGE           COMP_SUB   FPA        TRUE      NONE
 PPSTAMP.OUTPUT.MASK          OUTPUT {OUTPUT}.mk.fits                  MASK            COMP_MASK  FPA        TRUE      NONE
 PPSTAMP.OUTPUT.VARIANCE      OUTPUT {OUTPUT}.wt.fits                  VARIANCE        COMP_WT    FPA        TRUE      NONE
Index: branches/eam_branches/ipp-20100823/ippconfig/recipes/nightly_science.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/recipes/nightly_science.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/recipes/nightly_science.config	(revision 29520)
@@ -37,4 +37,5 @@
 FILTERS STR z.00000
 FILTERS STR y.00000
+FILTERS STR w.00000
 
 UNRECOVERABLE_QUALITY MULTI
@@ -208,4 +209,13 @@
 END
 TARGETS METADATA
+  NAME STR MD11
+  TESS STR MD11.V2
+  OBSMODE STR MD
+  OBJECT STR MD11%
+#  COMMENT STR %MD11%
+  STACKABLE BOOL TRUE
+  DIST S16 30
+END
+TARGETS METADATA
   NAME STR STS
   TESS STR STS
@@ -225,4 +235,12 @@
 END
 TARGETS METADATA
+  NAME STR OSS
+  DISTRIBUTION STR SweetSpot
+  TESS STR RINGS.V0
+  OBSMODE STR OSS
+  STACKABLE BOOL FALSE
+  EXTRA_PROCESSING BOOL TRUE
+END
+TARGETS METADATA
   NAME STR ThreePi
   TESS STR RINGS.V0
Index: branches/eam_branches/ipp-20100823/ippconfig/recipes/ppStatsFromMetadata.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/recipes/ppStatsFromMetadata.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/recipes/ppStatsFromMetadata.config	(revision 29520)
@@ -374,4 +374,5 @@
   ENTRY  VAL  GOOD_PIXEL_FRAC     F32  MEAN              -good_frac                     
   ENTRY  VAL  QUALITY             S32  CONSTANT          -quality             # Bad quality flag
+  ENTRY  VAL  MJD_OBS             F64  CONSTANT          -mjd_obs
 
   # Revision values
Index: branches/eam_branches/ipp-20100823/ippconfig/simtest/camera.config
===================================================================
--- branches/eam_branches/ipp-20100823/ippconfig/simtest/camera.config	(revision 29519)
+++ branches/eam_branches/ipp-20100823/ippconfig/simtest/camera.config	(revision 29520)
@@ -78,2 +78,5 @@
 
 PHOTCODE.RULE           STR     {DETECTOR}.{FILTER.ID}.{CHIP.NAME}	# Rule for generating photcode
+
+# don't censor any masked pixels when making postage stamps
+MASK.NO.CENSOR               U32 0xFFFFFFFF
