Index: trunk/ippToPsps/config/detection/map.xml
===================================================================
--- trunk/ippToPsps/config/detection/map.xml	(revision 27808)
+++ trunk/ippToPsps/config/detection/map.xml	(revision 27882)
@@ -5,34 +5,34 @@
  <table name="FrameMeta">
   <map ippName="ZPT_ERR" ippType="TFLOAT" pspsName="photoScat" />
-  <map ippName="MJD-OBS" ippType="TFLOAT" pspsName="expStart" />
+  <map ippName="MJD-OBS" ippType="TDOUBLE" pspsName="expStart" />
   <map ippName="EXPREQ" ippType="TFLOAT" pspsName="expTime" />
   <map ippName="AIRMASS" ippType="TFLOAT" pspsName="airmass" />
-  <map ippName="RA" ippType="TFLOAT" pspsName="raBore" />
-  <map ippName="DEC" ippType="TFLOAT" pspsName="decBore" />
+  <map ippName="RA" ippType="TDOUBLE" pspsName="raBore" />
+  <map ippName="DEC" ippType="TDOUBLE" pspsName="decBore" />
   <map ippName="CTYPE1" ippType="TSTRING" pspsName="ctype1" />
   <map ippName="CTYPE2" ippType="TSTRING" pspsName="ctype2" />
-  <map ippName="CRVAL1" ippType="TFLOAT" pspsName="crval1" />
-  <map ippName="CRVAL2" ippType="TFLOAT" pspsName="crval2" />
-  <map ippName="CRPIX1" ippType="TFLOAT" pspsName="crpix1" />
-  <map ippName="CRPIX2" ippType="TFLOAT" pspsName="crpix2" />
-  <map ippName="PC001001" ippType="TFLOAT" pspsName="pc001001" />
-  <map ippName="PC001002" ippType="TFLOAT" pspsName="pc001002" />
-  <map ippName="PC002001" ippType="TFLOAT" pspsName="pc002001" />
-  <map ippName="PC002002" ippType="TFLOAT" pspsName="pc002002" />
+  <map ippName="CRVAL1" ippType="TDOUBLE" pspsName="crval1" />
+  <map ippName="CRVAL2" ippType="TDOUBLE" pspsName="crval2" />
+  <map ippName="CRPIX1" ippType="TDOUBLE" pspsName="crpix1" />
+  <map ippName="CRPIX2" ippType="TDOUBLE" pspsName="crpix2" />
+  <map ippName="PC001001" ippType="TDOUBLE" pspsName="pc001001" />
+  <map ippName="PC001002" ippType="TDOUBLE" pspsName="pc001002" />
+  <map ippName="PC002001" ippType="TDOUBLE" pspsName="pc002001" />
+  <map ippName="PC002002" ippType="TDOUBLE" pspsName="pc002002" />
   <map ippName="NPLYTERM" ippType="TBYTE" pspsName="polyOrder" />
-  <map ippName="PCA1X3Y0" ippType="TFLOAT" pspsName="pca1x3y0" />
-  <map ippName="PCA1X2Y1" ippType="TFLOAT" pspsName="pca1x2y1" />
-  <map ippName="PCA1X1Y2" ippType="TFLOAT" pspsName="pca1x1y2" />
-  <map ippName="PCA1X0Y3" ippType="TFLOAT" pspsName="pca1x0y3" />
-  <map ippName="PCA1X2Y0" ippType="TFLOAT" pspsName="pca1x2y0" />
-  <map ippName="PCA1X1Y1" ippType="TFLOAT" pspsName="pca1x1y1" />
-  <map ippName="PCA1X0Y2" ippType="TFLOAT" pspsName="pca1x0y2" />
-  <map ippName="PCA2X3Y0" ippType="TFLOAT" pspsName="pca2x3y0" />
-  <map ippName="PCA2X2Y1" ippType="TFLOAT" pspsName="pca2x2y1" />
-  <map ippName="PCA2X1Y2" ippType="TFLOAT" pspsName="pca2x1y2" />
-  <map ippName="PCA2X0Y3" ippType="TFLOAT" pspsName="pca2x0y3" />
-  <map ippName="PCA2X2Y0" ippType="TFLOAT" pspsName="pca2x2y0" />
-  <map ippName="PCA2X1Y1" ippType="TFLOAT" pspsName="pca2x1y1" />
-  <map ippName="PCA2X0Y2" ippType="TFLOAT" pspsName="pca2x0y2" />
+  <map ippName="PCA1X3Y0" ippType="TDOUBLE" pspsName="pca1x3y0" />
+  <map ippName="PCA1X2Y1" ippType="TDOUBLE" pspsName="pca1x2y1" />
+  <map ippName="PCA1X1Y2" ippType="TDOUBLE" pspsName="pca1x1y2" />
+  <map ippName="PCA1X0Y3" ippType="TDOUBLE" pspsName="pca1x0y3" />
+  <map ippName="PCA1X2Y0" ippType="TDOUBLE" pspsName="pca1x2y0" />
+  <map ippName="PCA1X1Y1" ippType="TDOUBLE" pspsName="pca1x1y1" />
+  <map ippName="PCA1X0Y2" ippType="TDOUBLE" pspsName="pca1x0y2" />
+  <map ippName="PCA2X3Y0" ippType="TDOUBLE" pspsName="pca2x3y0" />
+  <map ippName="PCA2X2Y1" ippType="TDOUBLE" pspsName="pca2x2y1" />
+  <map ippName="PCA2X1Y2" ippType="TDOUBLE" pspsName="pca2x1y2" />
+  <map ippName="PCA2X0Y3" ippType="TDOUBLE" pspsName="pca2x0y3" />
+  <map ippName="PCA2X2Y0" ippType="TDOUBLE" pspsName="pca2x2y0" />
+  <map ippName="PCA2X1Y1" ippType="TDOUBLE" pspsName="pca2x1y1" />
+  <map ippName="PCA2X0Y2" ippType="TDOUBLE" pspsName="pca2x0y2" />
  </table>
 
@@ -59,27 +59,27 @@
   <map ippName="CTYPE1" ippType="TSTRING" pspsName="ctype1" />
   <map ippName="CTYPE2" ippType="TSTRING" pspsName="ctype2" />
-  <map ippName="CRVAL1" ippType="TFLOAT" pspsName="crval1" />
-  <map ippName="CRVAL2" ippType="TFLOAT" pspsName="crval2" />
-  <map ippName="CRPIX1" ippType="TFLOAT" pspsName="crpix1" />
-  <map ippName="CRPIX2" ippType="TFLOAT" pspsName="crpix2" />
-  <map ippName="PC001001" ippType="TFLOAT" pspsName="pc001001" />
-  <map ippName="PC001002" ippType="TFLOAT" pspsName="pc001002" />
-  <map ippName="PC002001" ippType="TFLOAT" pspsName="pc002001" />
-  <map ippName="PC002002" ippType="TFLOAT" pspsName="pc002002" />
+  <map ippName="CRVAL1" ippType="TDOUBLE" pspsName="crval1" />
+  <map ippName="CRVAL2" ippType="TDOUBLE" pspsName="crval2" />
+  <map ippName="CRPIX1" ippType="TDOUBLE" pspsName="crpix1" />
+  <map ippName="CRPIX2" ippType="TDOUBLE" pspsName="crpix2" />
+  <map ippName="PC001001" ippType="TDOUBLE" pspsName="pc001001" />
+  <map ippName="PC001002" ippType="TDOUBLE" pspsName="pc001002" />
+  <map ippName="PC002001" ippType="TDOUBLE" pspsName="pc002001" />
+  <map ippName="PC002002" ippType="TDOUBLE" pspsName="pc002002" />
   <map ippName="NPLYTERM" ippType="TBYTE" pspsName="polyOrder" />
-  <map ippName="PCA1X3Y0" ippType="TFLOAT" pspsName="pca1x3y0" />
-  <map ippName="PCA1X2Y1" ippType="TFLOAT" pspsName="pca1x2y1" />
-  <map ippName="PCA1X1Y2" ippType="TFLOAT" pspsName="pca1x1y2" />
-  <map ippName="PCA1X0Y3" ippType="TFLOAT" pspsName="pca1x0y3" />
-  <map ippName="PCA1X2Y0" ippType="TFLOAT" pspsName="pca1x2y0" />
-  <map ippName="PCA1X1Y1" ippType="TFLOAT" pspsName="pca1x1y1" />
-  <map ippName="PCA1X0Y2" ippType="TFLOAT" pspsName="pca1x0y2" />
-  <map ippName="PCA2X3Y0" ippType="TFLOAT" pspsName="pca2x3y0" />
-  <map ippName="PCA2X2Y1" ippType="TFLOAT" pspsName="pca2x2y1" />
-  <map ippName="PCA2X1Y2" ippType="TFLOAT" pspsName="pca2x1y2" />
-  <map ippName="PCA2X0Y3" ippType="TFLOAT" pspsName="pca2x0y3" />
-  <map ippName="PCA2X2Y0" ippType="TFLOAT" pspsName="pca2x2y0" />
-  <map ippName="PCA2X1Y1" ippType="TFLOAT" pspsName="pca2x1y1" />
-  <map ippName="PCA2X0Y2" ippType="TFLOAT" pspsName="pca2x0y2" />
+  <map ippName="PCA1X3Y0" ippType="TDOUBLE" pspsName="pca1x3y0" />
+  <map ippName="PCA1X2Y1" ippType="TDOUBLE" pspsName="pca1x2y1" />
+  <map ippName="PCA1X1Y2" ippType="TDOUBLE" pspsName="pca1x1y2" />
+  <map ippName="PCA1X0Y3" ippType="TDOUBLE" pspsName="pca1x0y3" />
+  <map ippName="PCA1X2Y0" ippType="TDOUBLE" pspsName="pca1x2y0" />
+  <map ippName="PCA1X1Y1" ippType="TDOUBLE" pspsName="pca1x1y1" />
+  <map ippName="PCA1X0Y2" ippType="TDOUBLE" pspsName="pca1x0y2" />
+  <map ippName="PCA2X3Y0" ippType="TDOUBLE" pspsName="pca2x3y0" />
+  <map ippName="PCA2X2Y1" ippType="TDOUBLE" pspsName="pca2x2y1" />
+  <map ippName="PCA2X1Y2" ippType="TDOUBLE" pspsName="pca2x1y2" />
+  <map ippName="PCA2X0Y3" ippType="TDOUBLE" pspsName="pca2x0y3" />
+  <map ippName="PCA2X2Y0" ippType="TDOUBLE" pspsName="pca2x2y0" />
+  <map ippName="PCA2X1Y1" ippType="TDOUBLE" pspsName="pca2x1y1" />
+  <map ippName="PCA2X0Y2" ippType="TDOUBLE" pspsName="pca2x0y2" />
  </table>
 
Index: trunk/ippToPsps/config/detection/tables.xml
===================================================================
--- trunk/ippToPsps/config/detection/tables.xml	(revision 27808)
+++ trunk/ippToPsps/config/detection/tables.xml	(revision 27882)
@@ -17,34 +17,34 @@
     <column name="photoScat" type="TFLOAT" default="-999" comment=" global photometric scatter (unit = mag)"></column>
     <column name="numPhotoRef" type="TLONG" default="-999" comment="number of photometric reference sources"></column>
-    <column name="expStart" type="TFLOAT" default="-999" comment=" exposure start time in MJD (unit = day)"></column>
+    <column name="expStart" type="TDOUBLE" default="-999" comment=" exposure start time in MJD (unit = day)"></column>
     <column name="expTime" type="TFLOAT" default="-999" comment=" exposure time (unit = s)"></column>
     <column name="airmass" type="TFLOAT" default="-999" comment="airmass at mid-exposure"></column>
-    <column name="raBore" type="TFLOAT" default="-999" comment=" RA of telescope boresight (unit = deg)"></column>
-    <column name="decBore" type="TFLOAT" default="-999" comment=" DEC of telescope boresight (unit = deg)"></column>
+    <column name="raBore" type="TDOUBLE" default="-999" comment=" RA of telescope boresight (unit = deg)"></column>
+    <column name="decBore" type="TDOUBLE" default="-999" comment=" DEC of telescope boresight (unit = deg)"></column>
     <column name="ctype1" type="TSTRING" default=" " comment="name of astrometric projection in RA"></column>
     <column name="ctype2" type="TSTRING" default=" " comment="name of astrometric projection in DEC"></column>
-    <column name="crval1" type="TFLOAT" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column>
-    <column name="crval2" type="TFLOAT" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column>
-    <column name="crpix1" type="TFLOAT" default="-999" comment="reference pixel value for RA"></column>
-    <column name="crpix2" type="TFLOAT" default="-999" comment="reference pixel value for DEC"></column>
-    <column name="pc001001" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
-    <column name="pc001002" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
-    <column name="pc002001" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
-    <column name="pc002002" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="crval1" type="TDOUBLE" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column>
+    <column name="crval2" type="TDOUBLE" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column>
+    <column name="crpix1" type="TDOUBLE" default="-999" comment="reference pixel value for RA"></column>
+    <column name="crpix2" type="TDOUBLE" default="-999" comment="reference pixel value for DEC"></column>
+    <column name="pc001001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="pc001002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="pc002001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="pc002002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
     <column name="polyOrder" type="TBYTE" default="255" comment="polynomial order of astrometry fit"></column>
-    <column name="pca1x3y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x2y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x1y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x0y3" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x2y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x1y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x0y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x3y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x2y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x1y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x0y3" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x2y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x1y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x0y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
     <column name="calibModNum" type="TSHORT" default="0" comment="calibration modification number"></column>
     <column name="dataRelease" type="TBYTE" default="0" comment="Data release"></column>
@@ -93,27 +93,27 @@
     <column name="ctype1" type="TSTRING" default=" " comment="name of astrometric projection in RA"></column>
     <column name="ctype2" type="TSTRING" default=" " comment="name of astrometric projection in DEC"></column>
-    <column name="crval1" type="TFLOAT" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column>
-    <column name="crval2" type="TFLOAT" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column>
-    <column name="crpix1" type="TFLOAT" default="-999" comment=" reference pixel value for RA (unit = pix)"></column>
-    <column name="crpix2" type="TFLOAT" default="-999" comment=" reference pixel value for DEC (unit = pix)"></column>
-    <column name="pc001001" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
-    <column name="pc001002" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
-    <column name="pc002001" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
-    <column name="pc002002" type="TFLOAT" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="crval1" type="TDOUBLE" default="-999" comment=" RA corresponding to reference pixel (unit = deg)"></column>
+    <column name="crval2" type="TDOUBLE" default="-999" comment=" DEC corresponding to reference pixel (unit = deg)"></column>
+    <column name="crpix1" type="TDOUBLE" default="-999" comment=" reference pixel value for RA (unit = pix)"></column>
+    <column name="crpix2" type="TDOUBLE" default="-999" comment=" reference pixel value for DEC (unit = pix)"></column>
+    <column name="pc001001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="pc001002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="pc002001" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
+    <column name="pc002002" type="TDOUBLE" default="-999" comment="elements of rotation/Dcale matrix"></column>
     <column name="polyOrder" type="TBYTE" default="255" comment="polynomial order of astrometry fit"></column>
-    <column name="pca1x3y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x2y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x1y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x0y3" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x2y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x1y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca1x0y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x3y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x2y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x1y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x0y3" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x2y0" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x1y1" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
-    <column name="pca2x0y2" type="TFLOAT" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca1x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x3y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x2y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x1y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x0y3" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x2y0" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x1y1" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
+    <column name="pca2x0y2" type="TDOUBLE" default="-999" comment="polynomial coefficients for the astrometric fit"></column>
     <column name="calibModNum" type="TSHORT" default="0" comment="calibration modification number"></column>
     <column name="dataRelease" type="TBYTE" default="0" comment="Data release"></column>
@@ -127,5 +127,5 @@
     <column name="surveyID" type="TBYTE" default="0" comment="survey flag identifier"></column>
     <column name="imageID" type="TLONGLONG" default="0" comment="image id hash of frame identifier &amp; OTA/CCD number"></column>
-    <column name="obsTime" type="TFLOAT" default="-999" comment=" Time of mid observation (unit = day)"></column>
+    <column name="obsTime" type="TDOUBLE" default="-999" comment=" Time of mid observation (unit = day)"></column>
     <column name="xPos" type="TFLOAT" default="-999" comment=" measured x on CCD from PSF fit (unit = pix)"></column>
     <column name="yPos" type="TFLOAT" default="-999" comment=" measured y on CCD from PSF fit (unit = pix)"></column>
