Index: /trunk/Ohana/src/perl/src/grab.keywords
===================================================================
--- /trunk/Ohana/src/perl/src/grab.keywords	(revision 78)
+++ /trunk/Ohana/src/perl/src/grab.keywords	(revision 79)
@@ -110,7 +110,11 @@
 }
 
+# define a reference chip to grab the photometry data
+$ccd = `cameraconfig -ID 0`; chop $ccd;
+if (?) { die ("error in camera config\n"); }
+
 # grab the appropriate photometry data
 @photom = ();
-@photlist = `transearch -image $infile 00 split -equiv`;
+@photlist = `transearch -image $infile $ccd split -equiv`;
 if ($?) { @photlist = (); }
 
