Index: /trunk/psModules/src/camera/pmFPAfileDefine.c
===================================================================
--- /trunk/psModules/src/camera/pmFPAfileDefine.c	(revision 12715)
+++ /trunk/psModules/src/camera/pmFPAfileDefine.c	(revision 12716)
@@ -288,5 +288,5 @@
     // determine the current format from the header
     // determine camera if not specified already
-    format = pmConfigCameraFormatFromHeader (config, phu);
+    format = pmConfigCameraFormatFromHeader (config, phu, true);
     if (!format) {
         psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", realName);
@@ -565,5 +565,5 @@
     // on first call to this function, config->camera is not set.
     // later calls will give an error if the cameras do not match
-    format = pmConfigCameraFormatFromHeader (config, phu);
+    format = pmConfigCameraFormatFromHeader (config, phu, true);
     if (!format) {
         psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", (char *)infiles->data[0]);
Index: /trunk/psModules/src/camera/pmFPAfileIO.c
===================================================================
--- /trunk/psModules/src/camera/pmFPAfileIO.c	(revision 12715)
+++ /trunk/psModules/src/camera/pmFPAfileIO.c	(revision 12716)
@@ -719,5 +719,7 @@
     psMetadata *phu = psFitsReadHeader (NULL, file->fits);
     if (!file->format) {
-        file->format = pmConfigCameraFormatFromHeader (config, phu);
+	// XXX do we need to read the recipe here?  these files are supplemental, and probably 
+	// do not need to re-load the recipes
+        file->format = pmConfigCameraFormatFromHeader (config, phu, false);
         if (!file->format) {
             psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", file->filename);
Index: /trunk/psModules/src/config/pmConfig.c
===================================================================
--- /trunk/psModules/src/config/pmConfig.c	(revision 12715)
+++ /trunk/psModules/src/config/pmConfig.c	(revision 12716)
@@ -4,6 +4,6 @@
  *  @author EAM (IfA)
  *
- *  @version $Revision: 1.83 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-03-31 03:01:08 $
+ *  @version $Revision: 1.84 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-04-03 20:28:26 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -786,6 +786,7 @@
 }
 
-
-psMetadata *pmConfigCameraFormatFromHeader(pmConfig *config, const psMetadata *header)
+// we only need to read the recipe for the main camera images.  for additional images (eg, sky
+// cells) do not need to re-read the recipe files!
+psMetadata *pmConfigCameraFormatFromHeader(pmConfig *config, const psMetadata *header, bool readRecipes)
 {
     PS_ASSERT_PTR_NON_NULL(config, NULL);
@@ -840,5 +841,5 @@
 
         // Now we have the camera, we can read the recipes
-        if (!pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) {
+        if (readRecipes && !pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) {
 	    psError(PS_ERR_IO, false, "Error reading recipes from camera config for %s", config->cameraName);
 	    return NULL;
Index: /trunk/psModules/src/config/pmConfig.h
===================================================================
--- /trunk/psModules/src/config/pmConfig.h	(revision 12715)
+++ /trunk/psModules/src/config/pmConfig.h	(revision 12716)
@@ -5,6 +5,6 @@
  *  @author Eugene Magnier, IfA
  * 
- *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-01-26 00:05:18 $
+ *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-04-03 20:28:26 $
  *  Copyright 2005-2006 Institute for Astronomy, University of Hawaii
  */
@@ -108,6 +108,7 @@
 /// configuration.  The accepted format is returned.
 psMetadata *pmConfigCameraFormatFromHeader(pmConfig *config, ///< The configuration
-        const psMetadata *header ///< The FITS header
-                                          );
+					   const psMetadata *header, ///< The FITS header
+					   bool readRecipes ///< optionally read the recipes as well as the format
+    );
 
 /// Return the camera configuration specified by name
