Table of contents
CSPICE_J1950 returns the double precision value for the Julian Date of
1950 JAN 01 00:00:00 (1950 JAN 1.0).
Given:
None.
the call:
j1950 = cspice_j1950( )
returns:
j1950 2433282.5, the Julian Date corresponding to 1950 JAN 01 00:00:00
(1950 JAN 1.0).
help, j1950
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 J1950 date.
Example code begins here.
PRO j1950_ex1
;;
;; Display the J1950 date in 16.8 floating point format
;;
print, format='("J1950 date: ",F16.8)', cspice_j1950()
END
When this program was executed on a Mac/Intel/IDL8.x/64-bit
platform, the output was:
J1950 date: 2433282.50000000
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 1950.0 jan 1.0
|