Index: trunk/ippScripts/scripts/camera_exp.pl
===================================================================
--- trunk/ippScripts/scripts/camera_exp.pl	(revision 16209)
+++ trunk/ippScripts/scripts/camera_exp.pl	(revision 16247)
@@ -73,25 +73,34 @@
 
 # values to extract from output metadata and the stats to calculate
+# these should be coming from the psastro results for Nimfile > 1, 
 my $CHIPSTATS = 
     [   
 	#          PPSTATS KEYWORD         STATISTIC          CHIPTOOL FLAG
 	{ name => "bg",             type => "mean",  flag => "-bg",            	dtype => "float" },
+	{ name => "bg_stdev",       type => "rms",   flag => "-bg_stdev",      	dtype => "float" },  
 	{ name => "bg_mean_stdev",  type => "stdev", flag => "-bg_mean_stdev", 	dtype => "float" },
-	{ name => "bg_stdev",       type => "rms",   flag => "-bg_stdev",      	dtype => "float" },  
-
-# these should be coming from the psastro results for Nimfile > 1, 
+	{ name => "bias",           type => "mean",  flag => "-bias",      	dtype => "float" },  
+	{ name => "bias_stdev",     type => "rms",   flag => "-bias_stdev",   	dtype => "float" },  
+        { name => "fringe_0",       type => "mean",  flag => "-fringe_0",      	dtype => "float" },  
+        { name => "fringe_1",       type => "rms",   flag => "-fringe_1",      	dtype => "float" },  
+        { name => "fringe_0",       type => "stdev", flag => "-fringe_2",      	dtype => "float" },  
 	{ name => "sigma_ra",       type => "rms",   flag => "-sigma_ra",      	dtype => "float" },  
 	{ name => "sigma_dec",      type => "rms",   flag => "-sigma_dec",     	dtype => "float" },  
+	{ name => "ap_resid",       type => "mean",  flag => "-ap_resid",      	dtype => "float" },  
+	{ name => "ap_resid_stdev", type => "rms",   flag => "-ap_resid_stdev", dtype => "float" },  
+	{ name => "zp_mean",        type => "mean",  flag => "-zp_mean",      	dtype => "float" },  
+	{ name => "zp_stdev",       type => "rms",   flag => "-zp_stdev",       dtype => "float" },  
+	{ name => "fwhm_major",     type => "mean",  flag => "-fwhm_major",     dtype => "float" },  
+	{ name => "fwhm_minor",     type => "mean",  flag => "-fwhm_minor",     dtype => "float" },  
+	{ name => "dtime_detrend",  type => "sum",   flag => "-dtime_detrend",  dtype => "float" },  
+	{ name => "dtime_photom",   type => "sum",   flag => "-dtime_photom",   dtype => "float" },  
+	{ name => "dtime_astrom",   type => "sum",   flag => "-dtime_astrom",   dtype => "float" },  
 	{ name => "n_stars",        type => "sum",   flag => "-n_stars",       	dtype => "int"   },  
+	{ name => "n_extended",     type => "sum",   flag => "-n_extended",     dtype => "int"   },  
+	{ name => "n_cr",           type => "sum",   flag => "-n_cr",       	dtype => "int"   },  
 	{ name => "n_astrom",       type => "sum",   flag => "-n_astrom",      	dtype => "int"   },  
 
-	{ name => "fwhm",           type => "mean",  flag => "-fwhm",          	dtype => "float" },  
 
 # these are not defined for the database table camProcessedExp
-#	{ name => "ap_resid",       type => "mean",  flag => "-ap_resid",      	dtype => "float" },  
-#	{ name => "ap_resid_stdev", type => "rms",   flag => "-ap_resid_stdev", dtype => "float" },  
-#       { name => "fringe_0",       type => "mean",  flag => "-fringe_0",      	dtype => "float" },  
-#       { name => "fringe_1",       type => "rms",   flag => "-fringe_1",      	dtype => "float" },  
-#       { name => "fringe_0",       type => "stdev", flag => "-fringe_2",      	dtype => "float" },  
 	];
 my $chipStats = PS::IPP::Metadata::Stats->new($CHIPSTATS); # Stats parser
Index: trunk/ippScripts/scripts/chip_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/chip_imfile.pl	(revision 16209)
+++ trunk/ippScripts/scripts/chip_imfile.pl	(revision 16247)
@@ -69,4 +69,5 @@
 
 # values to extract from output metadata and the stats to calculate
+# XXX commented-out entries are not yet defined in the output files
 my $STATS = 
    [   
@@ -75,15 +76,23 @@
        { name => "ROBUST_MEDIAN",  type => "stdev", flag => "-bg_mean_stdev",  dtype => "float" },
        { name => "ROBUST_STDEV",   type => "rms",   flag => "-bg_stdev",       dtype => "float" },
+       { name => "OVER_VAL",       type => "mean",  flag => "-bias", 	       dtype => "float" },
+       { name => "OVER_VAL",       type => "stdev", flag => "-bias_stdev",     dtype => "float" },
        { name => "FRINGE_0",       type => "rms",   flag => "-fringe_0",       dtype => "float" },
        { name => "FRINGE_RESID_0", type => "rms",   flag => "-fringe_1",       dtype => "float" },
        { name => "FRINGE_ERR_0",   type => "rms",   flag => "-fringe_2",       dtype => "float" },
-       { name => "OVER_VAL",       type => "mean",  flag => "-bias", 	       dtype => "float" },
-       { name => "FWHM_X",         type => "mean",  flag => "-fwhm", 	       dtype => "float" },
-       { name => "FWHM_Y",         type => "mean",  flag => "-fwhm_range",     dtype => "float" },
+       { name => "CERROR",         type => "rms",   flag => "-sigma_ra",       dtype => "float" },
+       { name => "CERROR",         type => "rms",   flag => "-sigma_dec",      dtype => "float" },
        { name => "APMIFIT",        type => "mean",  flag => "-ap_resid",       dtype => "float" },
        { name => "DAPMIFIT",       type => "rms",   flag => "-ap_resid_stdev", dtype => "float" },
-       { name => "CERROR",         type => "rms",   flag => "-sigma_ra",       dtype => "float" },
-       { name => "CERROR",         type => "rms",   flag => "-sigma_dec",      dtype => "float" },
+#      { name => "ZP??",           type => "mean",  flag => "-zp_mean",        dtype => "float" },
+#      { name => "ZP??",           type => "rms",   flag => "-zp_stdev",       dtype => "float" },
+       { name => "FWHM_X",         type => "mean",  flag => "-fwhm_major",     dtype => "float" },
+       { name => "FWHM_Y",         type => "mean",  flag => "-fwhm_minor",     dtype => "float" },
+       { name => "DT_DET",         type => "sum",   flag => "-dtime_detrend",  dtype => "float" },
+       { name => "DT_PHOT",        type => "sum",   flag => "-dtime_photom",   dtype => "float" },
+       { name => "DT_ASTR",        type => "sum",   flag => "-dtime_astrom",   dtype => "float" },
        { name => "NSTARS",         type => "sum",   flag => "-n_stars",        dtype => "int"   },
+#      { name => "?",              type => "sum",   flag => "-n_extended",     dtype => "int"   },
+#      { name => "?",              type => "sum",   flag => "-n_cr",           dtype => "int"   },
        { name => "NASTRO",         type => "sum",   flag => "-n_astrom",       dtype => "int"   },
    ];
Index: trunk/ippScripts/scripts/diff_skycell.pl
===================================================================
--- trunk/ippScripts/scripts/diff_skycell.pl	(revision 16209)
+++ trunk/ippScripts/scripts/diff_skycell.pl	(revision 16247)
@@ -51,7 +51,8 @@
    [   
        #          PPSTATS KEYWORD         STATISTIC          DIFFTOOL FLAG
-       { name => "ROBUST_MEDIAN",   type => "mean", flag => "-bg",        dtype => "float" },
-       { name => "ROBUST_STDEV",    type => "rms",  flag => "-bg_stdev",  dtype => "float" },
-       { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac", dtype => "float" },
+       { name => "ROBUST_MEDIAN",   type => "mean", flag => "-bg",         dtype => "float" },
+       { name => "ROBUST_STDEV",    type => "rms",  flag => "-bg_stdev",   dtype => "float" },
+#      { name => "DT_DIFF",         type => "sum",  flag => "-dtime_diff", dtype => "float" },
+       { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac",  dtype => "float" },
    ];
 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser
Index: trunk/ippScripts/scripts/stack_skycell.pl
===================================================================
--- trunk/ippScripts/scripts/stack_skycell.pl	(revision 16209)
+++ trunk/ippScripts/scripts/stack_skycell.pl	(revision 16247)
@@ -53,7 +53,8 @@
    [   
        #          PPSTATS KEYWORD         STATISTIC          STACKTOOL FLAG
-       { name => "ROBUST_MEDIAN",   type => "mean", flag => "-bg",        dtype => "float" },
-       { name => "ROBUST_STDEV",    type => "rms",  flag => "-bg_stdev",  dtype => "float" },
-       { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac", dtype => "float" },
+       { name => "ROBUST_MEDIAN",   type => "mean", flag => "-bg",          dtype => "float" },
+       { name => "ROBUST_STDEV",    type => "rms",  flag => "-bg_stdev",    dtype => "float" },
+#      { name => "DT_STACK",        type => "sum",  flag => "-dtime_stack", dtype => "float" },
+       { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac",   dtype => "float" },
    ];
 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser
Index: trunk/ippScripts/scripts/warp_skycell.pl
===================================================================
--- trunk/ippScripts/scripts/warp_skycell.pl	(revision 16209)
+++ trunk/ippScripts/scripts/warp_skycell.pl	(revision 16247)
@@ -64,7 +64,8 @@
    [   
        #          PPSTATS KEYWORD         STATISTIC          WARPTOOL FLAG
-       { name => "ROBUST_MEDIAN",   type => "mean", flag => "-bg",        dtype => "float" },
-       { name => "ROBUST_STDEV",    type => "rms",  flag => "-bg_stdev",  dtype => "float" },
-       { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac", dtype => "float" },
+       { name => "ROBUST_MEDIAN",   type => "mean", flag => "-bg",         dtype => "float" },
+       { name => "ROBUST_STDEV",    type => "rms",  flag => "-bg_stdev",   dtype => "float" },
+#      { name => "DT_WARP",         type => "sum",  flag => "-dtime_warp", dtype => "float" },
+       { name => "GOOD_PIXEL_FRAC", type => "mean", flag => "-good_frac",  dtype => "float" },
    ];
 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser
