Index Page
cspice_spkcls
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_SPKCLS closes an SPK file opened for a write.

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

I/O

   
   Given:
   
      handle    the scalar integer file handle for an open SPK file
   
   the call:
   
      cspice_spkcls, handle
   
   closes the file. The close operation tests the file to
   ensure the presence of data segments.
   
   A cspice_spkcls call should balance each call to cspice_spkopn.
   

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.

   
   
      ;;
      ;; Define the SPK file parameters.
      ;;
      SPK    = 'new_spk.bsp'
      ifname = 'Type 2 SPK internal file name.'
      ncomch = 10
   
      ;;
      ;; create/open the file.
      ;;
      cspice_spkopn, SPK, ifname, ncomch, handle
   
         ... write to the file  ...
      ;;
      ;; SAFELY close the SPK file.
      ;;
      cspice_spkcls, handle

Particulars


   None.

Required Reading


   ICY.REQ
   SPK.REQ

Version


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

Index_Entries

 
   close an spk file 
 



Wed Apr  5 17:58:03 2017