Index: trunk/psModules/src/objects/pmPSF_IO.c
===================================================================
--- trunk/psModules/src/objects/pmPSF_IO.c	(revision 10382)
+++ trunk/psModules/src/objects/pmPSF_IO.c	(revision 10421)
@@ -6,6 +6,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-10-28 20:23:51 $
+ *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-03 18:48:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -117,5 +117,5 @@
 }
 
-bool pmFPAviewWritePSFmodel (const pmFPAview *view, pmFPAfile *file)
+bool pmFPAviewWritePSFmodel (const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -123,5 +123,5 @@
 
     if (view->chip == -1) {
-        pmFPAWritePSFmodel (fpa, view, file);
+        pmFPAWritePSFmodel (fpa, view, file, config);
         return true;
     }
@@ -133,5 +133,5 @@
 
     if (view->cell == -1) {
-        pmChipWritePSFmodel (chip, view, file);
+        pmChipWritePSFmodel (chip, view, file, config);
         return true;
     }
@@ -143,5 +143,5 @@
 
     if (view->readout == -1) {
-        pmCellWritePSFmodel (cell, view, file);
+        pmCellWritePSFmodel (cell, view, file, config);
         return true;
     }
@@ -152,10 +152,10 @@
     pmReadout *readout = cell->readouts->data[view->readout];
 
-    pmReadoutWritePSFmodel (readout, view, file);
+    pmReadoutWritePSFmodel (readout, view, file, config);
     return true;
 }
 
 // read in all chip-level PSFmodel files for this FPA
-bool pmFPAWritePSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file)
+bool pmFPAWritePSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -163,5 +163,5 @@
 
         pmChip *chip = fpa->chips->data[i];
-        pmChipWritePSFmodel (chip, view, file);
+        pmChipWritePSFmodel (chip, view, file, config);
     }
     return true;
@@ -169,5 +169,5 @@
 
 // read in all cell-level PSFmodel files for this chip
-bool pmChipWritePSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file)
+bool pmChipWritePSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -175,5 +175,5 @@
 
         pmCell *cell = chip->cells->data[i];
-        pmCellWritePSFmodel (cell, view, file);
+        pmCellWritePSFmodel (cell, view, file, config);
     }
     return true;
@@ -181,5 +181,5 @@
 
 // read in all readout-level PSFmodel files for this cell
-bool pmCellWritePSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file)
+bool pmCellWritePSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -187,5 +187,5 @@
 
         pmReadout *readout = cell->readouts->data[i];
-        pmReadoutWritePSFmodel (readout, view, file);
+        pmReadoutWritePSFmodel (readout, view, file, config);
     }
     return true;
@@ -193,8 +193,9 @@
 
 // read in all readout-level Objects files for this cell
-bool pmReadoutWritePSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file)
+bool pmReadoutWritePSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
     bool status;
     char *filename;
+    char *realname;
 
     pmPSF *psf = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.PSF");
@@ -203,7 +204,10 @@
     case PM_FPA_FILE_PSF:
         filename = pmFPAfileNameFromRule (file->filerule, file, view);
+        realname = pmConfigConvertFilename (filename, config);
+
         psMetadata *psfData = pmPSFtoMetadata (NULL, psf);
-        psMetadataConfigWrite (psfData, filename);
+        psMetadataConfigWrite (psfData, realname);
         psFree (psfData);
+        psFree (realname);
         psFree (filename);
         return true;
@@ -218,5 +222,5 @@
 
 
-bool pmFPAviewReadPSFmodel (const pmFPAview *view, pmFPAfile *file)
+bool pmFPAviewReadPSFmodel (const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -224,5 +228,5 @@
 
     if (view->chip == -1) {
-        pmFPAReadPSFmodel (fpa, view, file);
+        pmFPAReadPSFmodel (fpa, view, file, config);
         return true;
     }
@@ -234,5 +238,5 @@
 
     if (view->cell == -1) {
-        pmChipReadPSFmodel (chip, view, file);
+        pmChipReadPSFmodel (chip, view, file, config);
         return true;
     }
@@ -244,5 +248,5 @@
 
     if (view->readout == -1) {
-        pmCellReadPSFmodel (cell, view, file);
+        pmCellReadPSFmodel (cell, view, file, config);
         return true;
     }
@@ -253,10 +257,10 @@
     pmReadout *readout = cell->readouts->data[view->readout];
 
-    pmReadoutReadPSFmodel (readout, view, file);
+    pmReadoutReadPSFmodel (readout, view, file, config);
     return true;
 }
 
 // read in all chip-level PSFmodel files for this FPA
-bool pmFPAReadPSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file)
+bool pmFPAReadPSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -264,5 +268,5 @@
 
         pmChip *chip = fpa->chips->data[i];
-        pmChipReadPSFmodel (chip, view, file);
+        pmChipReadPSFmodel (chip, view, file, config);
     }
     return true;
@@ -270,5 +274,5 @@
 
 // read in all cell-level PSFmodel files for this chip
-bool pmChipReadPSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file)
+bool pmChipReadPSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -276,5 +280,5 @@
 
         pmCell *cell = chip->cells->data[i];
-        pmCellReadPSFmodel (cell, view, file);
+        pmCellReadPSFmodel (cell, view, file, config);
     }
     return true;
@@ -282,5 +286,5 @@
 
 // read in all readout-level PSFmodel files for this cell
-bool pmCellReadPSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file)
+bool pmCellReadPSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -288,5 +292,5 @@
 
         pmReadout *readout = cell->readouts->data[i];
-        pmReadoutReadPSFmodel (readout, view, file);
+        pmReadoutReadPSFmodel (readout, view, file, config);
     }
     return true;
@@ -294,15 +298,17 @@
 
 // read in all readout-level Objects files for this cell
-bool pmReadoutReadPSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file)
+bool pmReadoutReadPSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
     unsigned int Nfail;
     char *filename;
+    char *realname;
 
     switch (file->type) {
     case PM_FPA_FILE_PSF:
         filename = pmFPAfileNameFromRule (file->filerule, file, view);
-
-        psMetadata *psfData = psMetadataConfigRead(NULL, &Nfail, filename, FALSE);
+        realname = pmConfigConvertFilename (filename, config);
+
+        psMetadata *psfData = psMetadataConfigRead(NULL, &Nfail, realname, FALSE);
         pmPSF *psf = pmPSFfromMetadata (psfData);
         psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_DATA_UNKNOWN, "psphot psf", psf);
@@ -310,4 +316,5 @@
         psFree (psf);
         psFree (psfData);
+        psFree (realname);
         psFree (filename);
 
Index: trunk/psModules/src/objects/pmPSF_IO.h
===================================================================
--- trunk/psModules/src/objects/pmPSF_IO.h	(revision 10382)
+++ trunk/psModules/src/objects/pmPSF_IO.h	(revision 10421)
@@ -6,6 +6,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-10-13 21:15:45 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-03 18:48:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -18,15 +18,15 @@
 psMetadata *pmPSFtoMetadata (psMetadata *metadata, pmPSF *psf);
 pmPSF *pmPSFfromMetadata (psMetadata *metadata);
-bool pmFPAviewWritePSFmodel (const pmFPAview *view, pmFPAfile *file);
-bool pmFPAWritePSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file);
-bool pmChipWritePSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file);
-bool pmCellWritePSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file);
-bool pmReadoutWritePSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file);
+bool pmFPAviewWritePSFmodel (const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmFPAWritePSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmChipWritePSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmCellWritePSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmReadoutWritePSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
 
-bool pmFPAviewReadPSFmodel (const pmFPAview *view, pmFPAfile *file);
-bool pmFPAReadPSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file);
-bool pmChipReadPSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file);
-bool pmCellReadPSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file);
-bool pmReadoutReadPSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file);
+bool pmFPAviewReadPSFmodel (const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmFPAReadPSFmodel (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmChipReadPSFmodel (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmCellReadPSFmodel (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmReadoutReadPSFmodel (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
 
 # endif
Index: trunk/psModules/src/objects/pmSourceIO.c
===================================================================
--- trunk/psModules/src/objects/pmSourceIO.c	(revision 10382)
+++ trunk/psModules/src/objects/pmSourceIO.c	(revision 10421)
@@ -3,6 +3,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-10-14 00:53:56 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-03 18:48:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -60,5 +60,5 @@
 
 // Given a FITS file pointer, write the table of object data
-bool pmFPAviewWriteObjects (const pmFPAview *view, pmFPAfile *file)
+bool pmFPAviewWriteObjects (const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -66,5 +66,5 @@
 
     if (view->chip == -1) {
-        if (!pmFPAWriteObjects (fpa, view, file)) {
+        if (!pmFPAWriteObjects (fpa, view, file, config)) {
             psError(PS_ERR_IO, false, "Failed to write objects from fpa");
             return false;
@@ -80,5 +80,5 @@
 
     if (view->cell == -1) {
-        if (!pmChipWriteObjects (chip, view, file)) {
+        if (!pmChipWriteObjects (chip, view, file, config)) {
             psError(PS_ERR_IO, false, "Failed to write objects from chip");
             return false;
@@ -95,5 +95,5 @@
 
     if (view->readout == -1) {
-        if (!pmCellWriteObjects (cell, view, file)) {
+        if (!pmCellWriteObjects (cell, view, file, config)) {
             psError(PS_ERR_IO, false, "Failed to write objects from cell");
             return false;
@@ -110,5 +110,5 @@
     pmReadout *readout = cell->readouts->data[view->readout];
 
-    if (!pmReadoutWriteObjects (readout, view, file)) {
+    if (!pmReadoutWriteObjects (readout, view, file, config)) {
         psError(PS_ERR_IO, false, "Failed to write objects from readout %d", view->readout);
         return false;
@@ -119,5 +119,5 @@
 
 // read in all chip-level Objects files for this FPA
-bool pmFPAWriteObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file)
+bool pmFPAWriteObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -125,5 +125,5 @@
 
         pmChip *chip = fpa->chips->data[i];
-        if (!pmChipWriteObjects (chip, view, file)) {
+        if (!pmChipWriteObjects (chip, view, file, config)) {
             psError(PS_ERR_IO, false, "Failed to write %dth chip", i);
             return false;
@@ -134,5 +134,5 @@
 
 // read in all cell-level Objects files for this chip
-bool pmChipWriteObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file)
+bool pmChipWriteObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -140,5 +140,5 @@
 
         pmCell *cell = chip->cells->data[i];
-        if (!pmCellWriteObjects (cell, view, file)) {
+        if (!pmCellWriteObjects (cell, view, file, config)) {
             psError(PS_ERR_IO, false, "Failed to write %dth cell", i);
             return false;
@@ -149,5 +149,5 @@
 
 // read in all readout-level Objects files for this cell
-bool pmCellWriteObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file)
+bool pmCellWriteObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -155,5 +155,5 @@
 
         pmReadout *readout = cell->readouts->data[i];
-        if (!pmReadoutWriteObjects (readout, view, file)) {
+        if (!pmReadoutWriteObjects (readout, view, file, config)) {
             psError(PS_ERR_IO, false, "Failed to write %dth readout", i);
             return false;
@@ -164,8 +164,9 @@
 
 // read in all readout-level Objects files for this cell
-bool pmReadoutWriteObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file)
+bool pmReadoutWriteObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
     bool status;
+    char *realname;
     char *filename;
     char *dataname;
@@ -183,5 +184,7 @@
     case PM_FPA_FILE_RAW:
         filename = pmFPAfileNameFromRule (file->filerule, file, view);
-        pmSourcesWriteRAW (sources, filename);
+        realname = pmConfigConvertFilename (filename, config);
+        pmSourcesWriteRAW (sources, realname);
+        psFree (realname);
         psFree (filename);
         break;
@@ -189,5 +192,7 @@
     case PM_FPA_FILE_OBJ:
         filename = pmFPAfileNameFromRule (file->filerule, file, view);
-        pmSourcesWriteOBJ (sources, filename);
+        realname = pmConfigConvertFilename (filename, config);
+        pmSourcesWriteOBJ (sources, realname);
+        psFree (realname);
         psFree (filename);
         break;
@@ -195,5 +200,7 @@
     case PM_FPA_FILE_SX:
         filename = pmFPAfileNameFromRule (file->filerule, file, view);
-        pmSourcesWriteSX (sources, filename);
+        realname = pmConfigConvertFilename (filename, config);
+        pmSourcesWriteSX (sources, realname);
+        psFree (realname);
         psFree (filename);
         break;
@@ -203,4 +210,5 @@
         hdu = pmFPAviewThisHDU (view, file->fpa);
         filename = pmFPAfileNameFromRule (file->filerule, file, view);
+        realname = pmConfigConvertFilename (filename, config);
 
         // copy the header to an output header, add the output header data
@@ -219,6 +227,7 @@
         }
 
-        bool status = pmSourcesWriteCMP (sources, filename, outhead);
+        bool status = pmSourcesWriteCMP (sources, realname, outhead);
         psFree (outhead);
+        psFree (realname);
         psFree (filename);
 
@@ -310,10 +319,10 @@
 
 // Given a FITS file pointer, read the table of object data
-bool pmFPAviewReadObjects (const pmFPAview *view, pmFPAfile *file)
+bool pmFPAviewReadObjects (const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
     pmFPA *fpa = file->fpa;
 
     if (view->chip == -1) {
-        pmFPAReadObjects (fpa, view, file);
+        pmFPAReadObjects (fpa, view, file, config);
         return true;
     }
@@ -325,5 +334,5 @@
 
     if (view->cell == -1) {
-        pmChipReadObjects (chip, view, file);
+        pmChipReadObjects (chip, view, file, config);
         return true;
     }
@@ -335,5 +344,5 @@
 
     if (view->readout == -1) {
-        pmCellReadObjects (cell, view, file);
+        pmCellReadObjects (cell, view, file, config);
         return true;
     }
@@ -344,14 +353,14 @@
     pmReadout *readout = cell->readouts->data[view->readout];
 
-    pmReadoutReadObjects (readout, view, file);
+    pmReadoutReadObjects (readout, view, file, config);
     return true;
 }
 
 // read in all chip-level Objects files for this FPA
-bool pmFPAReadObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file)
+bool pmFPAReadObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
     for (int i = 0; i < fpa->chips->n; i++) {
         pmChip *chip = fpa->chips->data[i];
-        pmChipReadObjects (chip, view, file);
+        pmChipReadObjects (chip, view, file, config);
     }
     return true;
@@ -359,9 +368,9 @@
 
 // read in all cell-level Objects files for this chip
-bool pmChipReadObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file)
+bool pmChipReadObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
     for (int i = 0; i < chip->cells->n; i++) {
         pmCell *cell = chip->cells->data[i];
-        pmCellReadObjects (cell, view, file);
+        pmCellReadObjects (cell, view, file, config);
     }
     return true;
@@ -369,5 +378,5 @@
 
 // read in all readout-level Objects files for this cell
-bool pmCellReadObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file)
+bool pmCellReadObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
     // determine the number of readouts:
@@ -384,5 +393,5 @@
     for (int i = 0; i < cell->readouts->n; i++) {
         pmReadout *readout = cell->readouts->data[i];
-        pmReadoutReadObjects (readout, view, file);
+        pmReadoutReadObjects (readout, view, file, config);
         cell->data_exists = true;
     }
@@ -391,5 +400,5 @@
 
 // read in all readout-level Objects files for this cell
-bool pmReadoutReadObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file)
+bool pmReadoutReadObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
 
@@ -427,5 +436,8 @@
             psMemIncrRefCounter (file->filename);
         }
-        file->fits = psFitsOpen (file->filename, "r");
+
+        psString realname = pmConfigConvertFilename (file->filename, config);
+
+        file->fits = psFitsOpen (realname, "r");
         if (hdu->header != NULL) {
             psFree (hdu->header);
@@ -435,5 +447,6 @@
         file->fits = NULL;
 
-        sources = pmSourcesReadCMP (file->filename, hdu->header);
+        sources = pmSourcesReadCMP (realname, hdu->header);
+        psFree (realname);
         break;
 
Index: trunk/psModules/src/objects/pmSourceIO.h
===================================================================
--- trunk/psModules/src/objects/pmSourceIO.h	(revision 10382)
+++ trunk/psModules/src/objects/pmSourceIO.h	(revision 10421)
@@ -3,6 +3,6 @@
  *  @author EAM, IfA; GLG, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-11-24 20:57:26 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-03 18:48:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -30,15 +30,15 @@
 bool pmPeaksWriteText (psArray *peaks, char *filename);
 
-bool pmFPAviewReadObjects (const pmFPAview *view, pmFPAfile *file);
-bool pmFPAReadObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file);
-bool pmChipReadObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file);
-bool pmCellReadObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file);
-bool pmReadoutReadObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file);
+bool pmFPAviewReadObjects (const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmFPAReadObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmChipReadObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmCellReadObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmReadoutReadObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
 
-bool pmFPAviewWriteObjects (const pmFPAview *view, pmFPAfile *file);
-bool pmFPAWriteObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file);
-bool pmChipWriteObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file);
-bool pmCellWriteObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file);
-bool pmReadoutWriteObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file);
+bool pmFPAviewWriteObjects (const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmFPAWriteObjects (pmFPA *fpa, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmChipWriteObjects (pmChip *chip, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmCellWriteObjects (pmCell *cell, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
+bool pmReadoutWriteObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config);
 
 # endif /* PM_SOURCE_IO_H */
Index: trunk/psModules/src/objects/pmSourceIO_RAW.c
===================================================================
--- trunk/psModules/src/objects/pmSourceIO_RAW.c	(revision 10382)
+++ trunk/psModules/src/objects/pmSourceIO_RAW.c	(revision 10421)
@@ -3,6 +3,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-11-24 20:57:26 $
+ *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-03 18:48:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -67,5 +67,5 @@
     f = fopen (filename, "w");
     if (f == NULL) {
-        psLogMsg (__func__, 3, "can't open output file for PSFs: %s\n", filename);
+        psLogMsg (__func__, 3, "can't open output file for PSF sources: %s\n", filename);
         return false;
     }
@@ -126,5 +126,5 @@
     f = fopen (filename, "w");
     if (f == NULL) {
-        psLogMsg ("pmModelWriteEXTs", 3, "can't open output file for moments%s\n", filename);
+        psLogMsg ("pmModelWriteEXTs", 3, "can't open output file for EXT sources: %s\n", filename);
         return false;
     }
@@ -185,5 +185,5 @@
     f = fopen (filename, "w");
     if (f == NULL) {
-        psLogMsg ("DumpObjects", 3, "can't open output file for moments%s\n", filename);
+        psLogMsg ("DumpObjects", 3, "can't open output file for NULL sources: %s\n", filename);
         return false;
     }
@@ -230,5 +230,5 @@
     f = fopen (filename, "w");
     if (f == NULL) {
-        psLogMsg ("pmMomentsWriteText", 3, "can't open output file for moments%s\n", filename);
+        psLogMsg ("pmMomentsWriteText", 3, "can't open output file for moments: %s\n", filename);
         return false;
     }
