Changeset 3477 in Sophya for trunk/SophyaExt/XephemAstroLib/dbfmt.c
- Timestamp:
- Mar 25, 2008, 6:45:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/dbfmt.c
r3111 r3477 929 929 write_E (Obj *op, char lp[]) 930 930 { 931 double d; 932 int m, y; 933 931 934 lp += sprintf (lp, "%s,E", op->o_name); 932 935 *lp++ = ','; 933 lp += fs_date (lp, PREF_MDY, op->es_epoch); 936 mjd_cal (op->es_epoch, &m, &d, &y); /* need more day prec than fs_date*/ 937 lp += sprintf (lp, "%d/%.12g/%d", m, d, y); 934 938 lp += get_okdates (lp, &op->es_startok, &op->es_endok); 935 lp += sprintf (lp, ",%. 7g", op->es_inc);936 lp += sprintf (lp, ",%. 7g", op->es_raan);937 lp += sprintf (lp, ",%. 7g", op->es_e);938 lp += sprintf (lp, ",%. 7g", op->es_ap);939 lp += sprintf (lp, ",%. 7g", op->es_M);940 lp += sprintf (lp, ",%. 7g", op->es_n);941 lp += sprintf (lp, ",%. 7g", op->es_decay);939 lp += sprintf (lp, ",%.8g", op->es_inc); 940 lp += sprintf (lp, ",%.8g", op->es_raan); 941 lp += sprintf (lp, ",%.8g", op->es_e); 942 lp += sprintf (lp, ",%.8g", op->es_ap); 943 lp += sprintf (lp, ",%.8g", op->es_M); 944 lp += sprintf (lp, ",%.12g", op->es_n); /* double */ 945 lp += sprintf (lp, ",%.8g", op->es_decay); 942 946 lp += sprintf (lp, ",%d", op->es_orbit); 943 lp += sprintf (lp, ",%. 7g", op->es_drag);947 lp += sprintf (lp, ",%.8g", op->es_drag); 944 948 } 945 949 … … 996 1000 997 1001 /* For RCS Only -- Do Not Edit */ 998 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: dbfmt.c,v $ $Date: 200 6-11-22 13:53:28 $ $Revision: 1.7$ $Name: not supported by cvs2svn $"};1002 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: dbfmt.c,v $ $Date: 2008-03-25 17:45:12 $ $Revision: 1.8 $ $Name: not supported by cvs2svn $"};
Note:
See TracChangeset
for help on using the changeset viewer.