Index: trunk/Ohana/src/getstar/src/MatchCoords.c
===================================================================
--- trunk/Ohana/src/getstar/src/MatchCoords.c	(revision 24921)
+++ trunk/Ohana/src/getstar/src/MatchCoords.c	(revision 25106)
@@ -40,5 +40,4 @@
     // Xi[4] = Xi[0]; Yi[4] = Yi[0];
 
-
     ymin = xmin = +FLT_MAX;
     ymax = xmax = -FLT_MAX;
@@ -52,5 +51,10 @@
     // transform input point to image coords
     double x, y;
-    RD_to_XY(&x, &y, ra, dec, &dbImages[i].coords);
+    int status = RD_to_XY(&x, &y, ra, dec, &dbImages[i].coords);
+
+    if (!status) {
+        // avoid matching antipodal skycells
+        continue;
+    }
 
     if ((x >= xmin && x <= xmax) && (y >= ymin && y <= ymax)) {
