Index Page
cspice_ekopn
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_EKOPN creates, then opens a new E-kernel file and 
   prepares the file for writing.

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

I/O

   
   Given:
   
      fname    the scalar string holding the name of the EK file to 
               create
               
      ifname   the scalar string holding the internal file name
               of the new EK kernel; the string must have length
               60 characters or less
               
      ncomch   a scalar integer describing the number of characters
               to allocate in the comment of the new EK file.
   
   the call:
   
      cspice_ekopn, fname, ifname, ncomch, handle
   
   returns to the scalar integer 'handle' an integer that refers
   to the EK file.
   

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.

   
      ;;
      ;; Set the name for the new EK file. Set the amount
      ;; of space reserved for comments to zero.
      ;;   
      EK             = 'ekfile.ek'
      comment_space  = 0
      
      ;;
      ;; Create a new EK with name ekfile.ek, assign
      ;; the internal file name the same value.
      ;;
      EK_INTERNAL   = EK
   
      cspice_ekopn, EK, EK_INTERNAL, comment_space, handle
   
         ... write data, but don't alter the value of handle ...
   
      ;;
      ;; SAFELY close the file. Always close an EK file opened 
      ;; for writing with cspice_ekcls.
      ;; 
      cspice_ekcls, handle

Particulars


   None.

Required Reading


   ICY.REQ
   EK.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

 
   open new E-kernel 
   open new EK 
 



Wed Apr  5 17:58:00 2017