Table of contents
CSPICE_J2000 returns the double precision value for the Julian Date of
2000 JAN 01 12:00:00 (2000 JAN 1.5).
Given:
None.
the call:
j2000 = cspice_j2000( )
returns:
j2000 2451545.0, the Julian Date corresponding to 2000 JAN 01 12:00:00
(2000 JAN 1.5).
help, j2000
DOUBLE = Scalar
None.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
1) Display the double precision value for the J2000 date.
Example code begins here.
PRO j2000_ex1
;;
;; Display the J2000 date in 16.8 floating point format
;;
print, format='("J2000 date: ",F16.8)', cspice_j2000()
END
When this program was executed on a Mac/Intel/IDL8.x/64-bit
platform, the output was:
J2000 date: 2451545.00000000
The function always returns the constant value shown above.
Error free.
None.
None.
ICY.REQ
TIME.REQ
None.
J. Diaz del Rio (ODC Space)
E.D. Wright (JPL)
-Icy Version 1.0.1, 01-JUN-2021 (JDR)
Edited the header to comply with NAIF standard. Added example's problem
statement and reformatted example's output.
Added -Parameters, -Exceptions, -Files, -Restrictions,
-Literature_References and -Author_and_Institution sections, and
completed -Particulars section.
Removed reference to the routine's corresponding CSPICE header from
-Abstract section.
Added argument's type and size information in the -I/O section.
-Icy Version 1.0.0, 16-JUN-2003 (EDW)
julian date of 2000 jan 1.5
|