Index: /branches/czw_branch/cleanup/ippconfig/gpc1/format_20090220.config
===================================================================
--- /branches/czw_branch/cleanup/ippconfig/gpc1/format_20090220.config	(revision 25156)
+++ /branches/czw_branch/cleanup/ippconfig/gpc1/format_20090220.config	(revision 25157)
@@ -185,5 +185,5 @@
         FPA.ALT         STR     ALT
         FPA.AZ          STR     AZ
-        FPA.TEMP        STR     DETTEM
+        # FPA.TEMP        STR     DETTEM
         FPA.M1X         STR     M1X
         FPA.M1Y         STR     M1Y   
@@ -501,4 +501,6 @@
 # How to translation PS concepts into database lookups
 DATABASE        METADATA
+	# this rule is fragile : does not match the camera
+        FPA.TEMP        STR     SELECT ccd_temp FROM rawExp WHERE dateobs >= '{FPA.DATE}' and abs(timediff(dateobs, cast('{FPA.TIME}' as datetime))) < 2
 END
 
