Index: trunk/Ohana/src/libautocode/def/Stars.d
===================================================================
--- trunk/Ohana/src/libautocode/def/Stars.d	(revision 6678)
+++ trunk/Ohana/src/libautocode/def/Stars.d	(revision 6683)
@@ -2,23 +2,34 @@
 EXTNAME STARS
 TYPE    BINTABLE
-SIZE    128
+SIZE    176
 
-FIELD     X,                X,            	  double,         x coordinate on image
-FIELD     Y,                Y,            	  double,         y coordinate on image
-FIELD     R,                R,            	  double,         ra coordinate on sky
-FIELD     D,                D,            	  double,         dec coordinate on sky
-FIELD     uR,               uR,            	  double,         proper motion in RA
-FIELD     uD,               uD,            	  double,         proper motion in DEC 
-FIELD     M,                M,            	  double,         instrumental mag
-FIELD     dM,               DM,           	  double,         error on mag
-FIELD     sky,              SKY,          	  double,         local sky counts
-FIELD     fx,               FX,           	  double,         object FWHM x-dir
-FIELD     fy,               FY,           	  double,         object FWHM y-dir
-FIELD     df,               DF,           	  double,         object position angle
-FIELD     Mgal,             MGAL,         	  double,         alternative (galaxy) magnitude
-FIELD     Map,              MAP,          	  double,         alternative (aperture) magnitude
-FIELD     found,            FOUND,        	  int,            found in database catalog?
-FIELD     t,                T,            	  e_time,         date/time of exposure (UNIX)
-FIELD     code,             CODE,         	  short,          .
-FIELD     dophot,           DOPHOT,       	  char,           dophot type code
-FIELD     dummy,            DUMMY,         	  char[5],        .
+FIELD     X,                X,          double,    x coordinate on image,	     pixels
+FIELD     Y,                Y,          double,    y coordinate on image,	     pixels
+FIELD     R,                R,          double,    ra coordinate on sky,	     decimal degrees
+FIELD     D,                D,          double,    dec coordinate on sky,	     decimal degrees
+FIELD     dR,               dR,         double,    ra error,			     arcsec
+FIELD     dD,               dD,         double,    dec error,			     arcsec
+FIELD     uR,               U_RA,       double,    proper motion in RA,		     milliarcsec/year
+FIELD     uD,               U_DEC,      double,    proper motion in DEC,	     milliarcsec/year
+FIELD     duR,              U_RA_ERR,   double,    p-m error in RA,		     milliarcsec/year
+FIELD     duD,              U_DEC_ERR,  double,    p-m error in DEC,		     milliarcsec/year
+FIELD     P,                PAR,        double,    parallax,			     milliarcsec
+FIELD     dP,               PAR_ERR,    double,    parallax error,		     milliarcsec
+FIELD     M,                M,          double,    instrumental mag
+FIELD     dM,               DM,         double,    error on mag
+FIELD     sky,              SKY,        double,    local sky counts
+FIELD     fx,               FX,         double,    object FWHM x-dir,		     pixels?
+FIELD     fy,               FY,         double,    object FWHM y-dir,		     pixels?
+FIELD     df,               DF,         double,    object position angle,	     degrees
+FIELD     Mgal,             MGAL,       double,    alternative (galaxy) magnitude
+FIELD     Map,              MAP,        double,    alternative (aperture) magnitude
+FIELD     found,            FOUND,      int,       found in database catalog?
+FIELD     t,                T,          e_time,    date/time of exposure (UNIX)
+FIELD     code,             CODE,       short,     .
+FIELD     dophot,           DOPHOT,     char,      dophot type code
+FIELD     dummy,            DUMMY,      char[5],   .
+
+# this structure is only used internally and for interprocess communication (addstar)
+# dR, uR, etc should be better defined at the pole...
+# define down the types to floats where reasonable (all but R,D)?
+# R,D should be in ICRS, J2000, epoch 2000 : precess as needed, apply p-m as needed
