Index: /trunk/Ohana/src/libautocode/def/average-panstarrs-dev-1.d
===================================================================
--- /trunk/Ohana/src/libautocode/def/average-panstarrs-dev-1.d	(revision 15509)
+++ /trunk/Ohana/src/libautocode/def/average-panstarrs-dev-1.d	(revision 15510)
@@ -18,10 +18,4 @@
 FIELD P,              PAR,        float,            parallax,			  arcsec
 FIELD dP,             PAR_ERR,    float,            parallax error,               arcsec
-
-# XXX drop the old primary magnitude concept
-# FIELD M,            MAG,        float,            primary mag,       	       	  mag
-# FIELD dM,           MAG_ERR,    float,            error on primary mag,         mag
-# FIELD Xm,           CHISQ_MAG,  short, 	    chisq for primary mag,        [100*log(value)]
-# FIELD Xg,           CHISQ_GAL,  short,            chisq for galaxy mags,        [100*log(value)]
 
 FIELD Xp,             SIGMA_POS,  short, 	    position scatter,   	  1/100 arcsec
Index: /trunk/Ohana/src/libdvo/doc/dvo-int-nan.txt
===================================================================
--- /trunk/Ohana/src/libdvo/doc/dvo-int-nan.txt	(revision 15510)
+++ /trunk/Ohana/src/libdvo/doc/dvo-int-nan.txt	(revision 15510)
@@ -0,0 +1,14 @@
+
+we have a variety of data fields which use char, short, int or long as
+a data type.  we need a value which can mean NAN in that context.
+these are defined in dvo.h as elements of the enum DVO_INT_NAN.  
+
+2007.11.07 : I am going through the code base and replacing the
+        deprecated values NO_ERR and NO_MAG with their equivalent
+        DVO_INT_NAN names.  At the same time, where ever the internal
+        value is a float or double, these must be converted to real
+        NAN values.  These may once have used char, short, or int
+        internally, and were not updated correctly.  
+
+	* watch out for Xm : PhotXm returns -1, not NAN for invalid entry,
+	  secfilt.Xm is short (use NAN_S_SHORT?)
