Index: /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average-ps1-v5.d
===================================================================
--- /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average-ps1-v5.d	(revision 37002)
+++ /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average-ps1-v5.d	(revision 37003)
@@ -2,5 +2,5 @@
 EXTNAME      DVO_AVERAGE_PS1_V5
 TYPE         BINTABLE
-SIZE         176
+SIZE         184
 DESCRIPTION  DVO Average Object Table
 
@@ -48,6 +48,8 @@
 FIELD lensobjOffset,  OFF_LENSOBJ, int,   	    offset to mean lensing data
 FIELD extendOffset,   OFF_EXTEND,  int,   	    offset to extended object entry
+FIELD paramsOffset,   OFF_EXTEND,  int,   	    offset to stellar parameter data
 
-FIELD refColor,       REF_COLOR,   float,   	    color of reference stars
+FIELD refColorBlue,   REF_COLOR_BLUE, float,   	    color of astrometry ref stars
+FIELD refColorRed,    REF_COLOR_RED,  float,   	    color of astrometry ref stars
 
 # 'flags' was called 'code' prior to 2009.02.07
Index: /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average.d
===================================================================
--- /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average.d	(revision 37002)
+++ /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/average.d	(revision 37003)
@@ -2,5 +2,5 @@
 EXTNAME      DVO_AVERAGE
 TYPE         BINTABLE
-SIZE         176
+SIZE         184
 DESCRIPTION  DVO Average Object Table
 
@@ -48,6 +48,8 @@
 FIELD lensobjOffset,  OFF_LENSOBJ, int,   	    offset to mean lensing data
 FIELD extendOffset,   OFF_EXTEND,  int,   	    offset to extended object entry
+FIELD paramsOffset,   OFF_EXTEND,  int,   	    offset to stellar parameter data
 
-FIELD refColor,       REF_COLOR,   float,   	    color of astrometry ref stars
+FIELD refColorBlue,   REF_COLOR_BLUE, float,   	    color of astrometry ref stars
+FIELD refColorRed,    REF_COLOR_RED,  float,   	    color of astrometry ref stars
 
 # 'flags' was called 'code' prior to 2009.02.07
Index: /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/common.h
===================================================================
--- /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/common.h	(revision 37002)
+++ /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/common.h	(revision 37003)
@@ -32,5 +32,5 @@
 # define rawshort short
 
-# define DVO_IMAGE_NAME_LEN 121
+# define DVO_IMAGE_NAME_LEN 117
 
 /*** rawshort is used to handle the broken pre-autocode photreg tables
Index: /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image-ps1-v5.d
===================================================================
--- /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image-ps1-v5.d	(revision 37002)
+++ /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image-ps1-v5.d	(revision 37003)
@@ -6,4 +6,5 @@
 
 # elements of the image structure
+# careful of 8-byte boundaries
 
 SUBSTRUCT coords,           COORDS,               Coords,        astrometric data
@@ -23,4 +24,5 @@
 # 120 bytes
 
+# change this to a double mjd?
 FIELD 	  tzero,            TZERO,                e_time,         readout time (row 0)
 FIELD 	  nstar,            NSTAR,                unsigned int,   number of stars on image
@@ -42,8 +44,9 @@
 FIELD     DECo,             DEC_CENTER,           float,          image center,              degrees
 FIELD     Radius,           RADIUS,               float,          image radius,              degrees
-FIELD     refColor,         REF_COLOR,            float,          median astrometry ref color
+FIELD     refColorBlue,     REF_COLOR_BLUE,       float,          median astrometry ref color
+FIELD     refColorRed,      REF_COLOR_RED,        float,          median astrometry ref color
 
 # should we define the max length of name as a macro?
-FIELD 	  name,             NAME,                 char[121],      name of original image 
+FIELD 	  name,             NAME,                 char[117],      name of original image 
 FIELD 	  detection_limit,  DETECTION_LIMIT,      unsigned char,  detection limit,           10*mag
 FIELD 	  saturation_limit, SATURATION_LIMIT,     unsigned char,  saturation limit,          10*mag
Index: /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image.d
===================================================================
--- /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image.d	(revision 37002)
+++ /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/image.d	(revision 37003)
@@ -44,7 +44,9 @@
 FIELD     DECo,             DEC_CENTER,           float,          image center,              degrees
 FIELD     Radius,           RADIUS,               float,          image radius,              degrees
-FIELD     refColor,         REF_COLOR,            float,          median astrometry ref color
+FIELD     refColorBlue,     REF_COLOR_BLUE,       float,          median astrometry ref color
+FIELD     refColorRed,      REF_COLOR_RED,        float,          median astrometry ref color
 
-FIELD 	  name,             NAME,                 char[121],      name of original image 
+# should we define the max length of name as a macro?
+FIELD 	  name,             NAME,                 char[117],      name of original image 
 FIELD 	  detection_limit,  DETECTION_LIMIT,      unsigned char,  detection limit,           10*mag
 FIELD 	  saturation_limit, SATURATION_LIMIT,     unsigned char,  saturation limit,          10*mag
Index: /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure-ps1-v5.d
===================================================================
--- /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure-ps1-v5.d	(revision 37002)
+++ /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure-ps1-v5.d	(revision 37003)
@@ -40,6 +40,6 @@
 FIELD XoffDCR,        X_OFF_DCR,     float,          X offset from correction,     pixels
 FIELD YoffDCR,        Y_OFF_DCR,     float,          Y offset from correction,     pixels
-FIELD XoffGAL,        X_OFF_GAL,     float,          X offset from correction,     pixels
-FIELD YoffGAL,        Y_OFF_GAL,     float,          Y offset from correction,     pixels
+FIELD RoffGAL,        R_OFF_GAL,     float,          RA offset from correction,    arcsec
+FIELD DoffGAL,        D_OFF_GAL,     float,          DEC offset from correction,   arcsec
 
 # could these be packed into fewer bits?
Index: /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure.d
===================================================================
--- /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure.d	(revision 37002)
+++ /branches/eam_branches/ipp-20140610/Ohana/src/libautocode/def/measure.d	(revision 37003)
@@ -40,6 +40,6 @@
 FIELD XoffDCR,        X_OFF_DCR,     float,          X offset from correction,     pixels
 FIELD YoffDCR,        Y_OFF_DCR,     float,          Y offset from correction,     pixels
-FIELD XoffGAL,        X_OFF_GAL,     float,          X offset from correction,     pixels
-FIELD YoffGAL,        Y_OFF_GAL,     float,          Y offset from correction,     pixels
+FIELD RoffGAL,        R_OFF_GAL,     float,          RA offset from correction,    arcsec
+FIELD DoffGAL,        D_OFF_GAL,     float,          DEC offset from correction,   arcsec
 
 # could these be packed into fewer bits?
