Index: /trunk/psLib/src/astronomy/psAstrometry.c
===================================================================
--- /trunk/psLib/src/astronomy/psAstrometry.c	(revision 2429)
+++ /trunk/psLib/src/astronomy/psAstrometry.c	(revision 2430)
@@ -8,6 +8,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 01:04:57 $
+ *  @version $Revision: 1.51 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-24 20:27:46 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -26,4 +26,6 @@
 #include "psConstants.h"
 #include "psAstronomyErrors.h"
+#include "psTrace.h"
+#include "psLogMsg.h"
 
 #include "slalib.h"
@@ -165,4 +167,5 @@
         psFree(cell->toFPA);
         psFree(cell->toTP);
+        psFree(cell->toSky);
     }
 }
@@ -438,4 +441,5 @@
     cell->toFPA = NULL;
     cell->toTP = NULL;
+    cell->toSky = NULL;
 
     cell->parent = parentChip;
@@ -718,4 +722,9 @@
     PS_PTR_CHECK_NULL(cell->parent->parent, NULL);
     PS_PTR_CHECK_NULL(cell->parent->parent->projection, NULL);
+    if (cell->toSky) {
+        // XXX: Should we use toTP or toSky?
+        psLogMsg(__func__, PS_LOG_WARN,
+                 "WARNING: psCoordCellToSkyQuick(): The cell->toSky transform is ignored.  The cell->toTP transform is being used.");
+    }
 
     psPlane *tpCoord = NULL;
@@ -851,4 +860,9 @@
     PS_PTR_CHECK_NULL(cell->parent->parent->projection, NULL);
     PS_PTR_CHECK_NULL(cell->toTP, NULL);
+    if (cell->toSky) {
+        // XXX: Should we use toTP or toSky?
+        psLogMsg(__func__, PS_LOG_WARN,
+                 "WARNING: psCoordSkyToCellQuick(): The cell->toSky transform is ignored.  The cell->toTP transform is being used.");
+    }
 
     psPlane *tpCoord = NULL;
Index: /trunk/psLib/src/astronomy/psAstrometry.h
===================================================================
--- /trunk/psLib/src/astronomy/psAstrometry.h	(revision 2429)
+++ /trunk/psLib/src/astronomy/psAstrometry.h	(revision 2430)
@@ -8,6 +8,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-27 00:57:30 $
+*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-11-24 20:27:46 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -129,4 +129,5 @@
     psPlaneTransform* toFPA;           ///< transformations from cell to FPA coordinates
     psPlaneTransform* toTP;            ///< transformations from cell to tangent plane coordinates
+    psPlaneTransform* toSky;            ///< transformations from cell to tangent plane coordinates
 
     struct psChip* parent;             ///< chip in which contains this cell
