Index Page
cspice_ektnam
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


   SPICE_EKTNAM return the name of a loaded table specified
   by index.

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

I/O

   
   Given:
   
      n   the scalar integer representing the index of a
          loaded table
   
   the call:
   
      cspice_ektnam, n, table
   
   returns to the string 'table', the name of the table 
   corresponding to index 'n'.
   

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.

   
      ;;
      ;; Assign the name of an EK file.
      ;;
      EK = 'test_file.ek'
   
      ;;
      ;; Load an EK.
      ;;
      cspice_furnsh, EK
   
      ;;
      ;; How many loaded tables in the active EK?
      ;;
      cspice_ekntab, num_table
      print, 'Number of tables in EK ' + EK + ':', num_table
      print
   
      ;;
      ;; Loop over the number of tables.
      ;;
      for i=0, (num_table - 1 ) do begin
   
         ;;
         ;; Retrieve the name of each table.
         ;;
         cspice_ektnam, i, table_name
         print, '   Table: ', table_name
   
     endfor
   
      ;;
      ;; Unload the kernel.
      ;;
      cspice_unload, EK
   
   IDL outputs:
   
      Number of tables in EK test_file.ek:           6
   
         Table: SCALAR_1
         Table: SCALAR_2
         Table: SCALAR_3
         Table: SCALAR_4
         Table: VECTOR_1
         Table: VECTOR_2

Particulars


   None.

Required Reading


   ICY.REQ
   EK.REQ

Version


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

Index_Entries

 
   return name of a loaded table 
 



Wed Apr  5 17:58:01 2017