Index Page
cspice_spklef
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_SPKLEF loads an ephemeris file for use by SPK readers then 
   returns an integer file handle. 

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

I/O

   
   Given:
   
      fname   a scalar string SPK file name
      
    the call:
   
      cspice_spklef, fname, handle
   
   returns:
   
      handle   a scalar integer handle assigned to the file upon loading.
               Almost every other SPK routine will subsequently use
               this number to refer to the file.
   
   Note: This routine, and all kernel file load routines requiring 
   explicit file handle management has been superseded by 
   cspice_furnsh. NAIF recommends users load all kernel files for 
   read-only data access with cspice_furnsh.
   

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 spk file, return the integer value
      ;; for the handle.
      ;;
      
      cspice_spklef, SPK, spkhan
   
      ... perform calculations, do not alter value of handle ...
   
      ;;
      ;; Done. Unload the SPK file.
      ;;
      cspice_spkuef, spkhan

Particulars


   None.

Required Reading


   ICY.REQ
   SPK.REQ

Version


   -Icy Version 1.0.2, 19-JAN-2009, EDW (JPL)

      Edits to header text and spelling correction.
 
   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries


   load spk ephemeris file




Wed Apr  5 17:58:03 2017