Index: /trunk/psLib/src/astronomy/psAstrometry.c
===================================================================
--- /trunk/psLib/src/astronomy/psAstrometry.c	(revision 1485)
+++ /trunk/psLib/src/astronomy/psAstrometry.c	(revision 1486)
@@ -8,6 +8,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-11 23:18:04 $
+*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-08-11 23:24:48 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -181,4 +181,5 @@
     psPlane* cellCoord = NULL;
     psArray* cells;
+    psReadout *tmpReadout = NULL;
 
     // We return NULL if either of the input parameters is NULL.
@@ -201,5 +202,6 @@
     for (int i = 0; i < cells->n; i++) {
         psCell* tmpCell = (psCell* ) cells->data[i];
-        psReadout *tmpReadout = tmpCell->readouts;
+        // XXX: figure this out
+        //        psReadout *tmpReadout = tmpCell->readouts;
 
         while (tmpReadout != NULL) {
@@ -405,10 +407,10 @@
                           const psCell* cell)
 {
-    psGrommit* XXXGrommit = NULL;
     psChip *whichChip = cell->parent;
     psFPA *whichFPA = whichChip->parent;
+    psGrommit* grommit = whichFPA->grommit;
 
     // Convert the skyCoords to tangent plane coords.
-    psPlane *tpCoord = psCoordSkyToTP(tpCoord, skyCoord, XXXGrommit);
+    psPlane *tpCoord = psCoordSkyToTP(tpCoord, skyCoord, grommit);
 
     // Convert the tangent plane coords to FPA coords.
