Index of Functions: A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 
Index Page
cspice_jyear

Table of contents
Abstract
I/O
Parameters
Examples
Particulars
Exceptions
Files
Restrictions
Required_Reading
Literature_References
Author_and_Institution
Version
Index_Entries


Abstract


   CSPICE_JYEAR returns the double precision value for the
   number of seconds in a Julian year.

I/O


   Given:

      None.

   the call:

      jyear = cspice_jyear(  )

   returns:

      jyear    the number of seconds per julian year.

               help, jyear
                  DOUBLE = Scalar

Parameters


   None.

Examples


   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 number of seconds in a Julian year.

      Example code begins here.


      PRO jyear_ex1
         ;;
         ;; Display the number of seconds in a Julian Year, in
         ;; 16.3 floating point format
         ;;
         print, format='("Seconds per Julian year: ",F16.3)', $
                cspice_jyear()

      END


      When this program was executed on a Mac/Intel/IDL8.x/64-bit
      platform, the output was:


      Seconds per Julian year:     31557600.000


Particulars


   The julian year is often used as a fundamental unit of time when
   dealing with ephemeris data. For this reason its value in terms of
   ephemeris seconds is recorded in this function.

Exceptions


   Error free.

Files


   None.

Restrictions


   None.

Required_Reading


   ICY.REQ
   TIME.REQ

Literature_References


   [1]  P. Kenneth Seidelmann (Ed.), "Explanatory Supplement to the
        Astronomical Almanac," Page 8, University Science Books,
        1992.

Author_and_Institution


   J. Diaz del Rio     (ODC Space)
   E.D. Wright         (JPL)

Version


   -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)

Index_Entries


   Number of seconds per julian year



Fri Dec 31 18:43:05 2021