Index: /branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummary.c
===================================================================
--- /branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummary.c	(revision 42611)
+++ /branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummary.c	(revision 42612)
@@ -322,7 +322,20 @@
     int numCols = psMetadataLookupS32(&status, input->fpa->hdu->header, "IMNAXIS1");
     int numRows = psMetadataLookupS32(&status, input->fpa->hdu->header, "IMNAXIS2");
+    char *photcode   = psMetadataLookupStr(&status, input->fpa->hdu->header, "PHOTCODE");
+//    char *filter     = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.FILTER");
+//    char *telescope  = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.TELESCOPE");
+//    char *instrument = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.INSTRUMENT");
+//    char *detector   = psMetadataLookupStr(&status, input->fpa->hdu->header, "FPA.DETECTOR");
+
     psMetadataAddS32(output->fpa->hdu->header, PS_LIST_TAIL, "IMNAXIS1", PS_META_REPLACE, "", numCols);
     psMetadataAddS32(output->fpa->hdu->header, PS_LIST_TAIL, "IMNAXIS2", PS_META_REPLACE, "", numRows);
-
+    psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "PHOTCODE", PS_META_REPLACE, "", photcode);
+
+    // XXX EAM 20240204 : these are added to the header psMetadata but do not make it out to the file header?
+    // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.FILTER", PS_META_REPLACE, "", filter);
+    // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.TELESCOPE", PS_META_REPLACE, "", telescope);
+    // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.INSTRUMENT", PS_META_REPLACE, "", instrument);
+    // psMetadataAddStr(output->fpa->hdu->header, PS_LIST_TAIL, "FPA.DETECTOR", PS_META_REPLACE, "", detector);
+    
     // XXX: Also add psphot version information
 
Index: /branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummaryReadout.c
===================================================================
--- /branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummaryReadout.c	(revision 42611)
+++ /branches/eam_branches/ipp-20230313/psphot/src/psphotFullForceSummaryReadout.c	(revision 42612)
@@ -45,4 +45,7 @@
         outputReadout = pmReadoutAlloc(outputCell);
     }
+
+    // this requires the readout to exist -- and does not work
+    // psphotAddPhotcode (config, view, "PSPHOT.FULLFORCE.OUTPUT");
 
     // Get the exposure parameters for the output from recipe and set them on the output
