Index: trunk/psModules/src/config/pmConfig.c
===================================================================
--- trunk/psModules/src/config/pmConfig.c	(revision 12702)
+++ 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 12702)
+++ 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
