[Kst] [Bug 91823] time convention for Planck
Andrew Walker
arwalker at sumusltd.com
Fri Jan 14 22:21:19 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=91823
arwalker sumusltd com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From arwalker sumusltd com 2005-01-14 22:21 -------
CVS commit by arwalker:
Correctly identify the TAI time standard.
CCMAIL: 91823-done bugs kde org
M +7 -1 kst2dplot.cpp 1.352
M +1 -1 kstplotdefines.h 1.8
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.351:1.352
@ -1282,5 +1282,11 @ double Kst2DPlot::convertTimeValueToJD(d
break;
case X_AXIS_INTERP_AIT:
- value -= 86400.0 * (365.0 * 12.0 + 3.0) - 32.0; // difference (seconds) between standard C time and AIT
+ value -= 86400.0 * (365.0 * 12.0 + 3.0);
+ //
+ // current difference (seconds) between standard C time and AIT
+ // refer to the following for more information:
+ // http://hpiers.obspm.fr/eop-pc/earthor/utc/TAI-UTC_tab.html
+ //
+ value -= 32.0;
value /= 24.0 * 60.0 * 60.0;
value += JD1970;
--- kdeextragear-2/kst/kst/kstplotdefines.h #1.7:1.8
@ -58,5 +58,5 @ const XAxisInterpretation XAxisInterpret
{ I18N_NOOP2("Modified Julian Date", "MJD"), X_AXIS_INTERP_MJD },
{ I18N_NOOP2("Reduced Julian Date", "RJD"), X_AXIS_INTERP_RJD },
- { I18N_NOOP2("Time format specific to Planck project", "AIT (Planck)"), X_AXIS_INTERP_AIT }
+ { I18N_NOOP2("Temps Atomique International", "TAI"), X_AXIS_INTERP_AIT }
};
More information about the Kst
mailing list