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

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_SCTIKS convert a spacecraft clock format string to 
   number of "ticks".

   For important details concerning this module's function, please refer to
   the CSPICE routine sctiks_c.

I/O

   
   Given:
   
      sc       the scalar NAIF ID number for the spacecraft whose clock 
               string is being converted 
               
      clkstr   a scalar character string representing a spacecraft clock 
               time, WITHOUT PARTITION NUMBER
   
   the call:
   
      cspice_sctiks, sc, clkstr, ticks
   
   returns:
   
      ticks   the scalar double precision number of ticks represented 
              by the spacecraft clock string  'clkstr'
   

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.

   
      ;;
      ;; Load the leapseconds kernel for time conversion.
      ;;
      cspice_furnsh, 'standard.tm'
      
      ;;
      ;; Assign values for the spacecraft ID (Voyager2),
      ;; and s-clock kernel.
      ;;
      SC         = -32
      SCLK       = '/kernels/voyager2/sclk/vg200004.tsc'
      CLKSTR     = '20656:14:768'
   
      ;;
      ;; Load the SCLK file.
      ;;
      cspice_furnsh, SCLK
   
      ;;
      ;; Convert the clock string to ticks for
      ;; spacecraft 'SC'.
      ;;
      cspice_sctiks, SC, CLKSTR, ticks
      print, format='(F16.6)', ticks
   
      The output displays:   991499967.00000000

Particulars


   None.

Required Reading


   ICY.REQ
   SCLK.REQ

Version


   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries

 
   convert spacecraft_clock string to ticks 
 



Wed Apr  5 17:58:03 2017