Index: /branches/eam_branches/ipp-20130509/Ohana/src/uniphot/src/match_zpts_to_images.c
===================================================================
--- /branches/eam_branches/ipp-20130509/Ohana/src/uniphot/src/match_zpts_to_images.c	(revision 35607)
+++ /branches/eam_branches/ipp-20130509/Ohana/src/uniphot/src/match_zpts_to_images.c	(revision 35608)
@@ -62,4 +62,17 @@
 
     Ni = index[i];
+
+    // UBERCAL zero points are only applied to gpc1 exposures (not stacks)
+    if (UBERCAL) {
+      if (image[Ni].photcode < 10000) { 
+	i++;
+	continue;
+      }
+      if (image[Ni].photcode > 10600) { 
+	i++;
+	continue;
+      }
+    }
+
     dT = image[Ni].tzero - zpts[Nz].time;
 
