Index: /branches/eam_branches/ipp-20140904/Ohana/src/uniphot/src/match_zpts_to_images.c
===================================================================
--- /branches/eam_branches/ipp-20140904/Ohana/src/uniphot/src/match_zpts_to_images.c	(revision 37578)
+++ /branches/eam_branches/ipp-20140904/Ohana/src/uniphot/src/match_zpts_to_images.c	(revision 37579)
@@ -97,4 +97,10 @@
     }
 
+    // if secz is crazy, do not trust ubercal; skip and move along
+    if (image[Ni].secz < 0.1) {
+      i++;
+      continue;
+    }
+
     // we have a match: set zpt and record the match
     // is the zero point supplied nominally corrected or not?
