CSPICE_EKNSEG returns the integer number of segments in the
EK file identified by the input integer file handle.
For important details concerning this module's function, please refer to
the CSPICE routine eknseg_c.
handle a scalar integer file handle for an EK file loaded
in the kernel subsystem by a cspice_eklef call.
nseg = cspice_eknseg ( handle )
nseg the scalar integer number of segments in the EK identified
;; Open the file named by 'EK1', returning the file handle
;; associated with the open file to the variable named
EK1 = 'test1.ek'
cspice_ekopr, EK1, handle
;; Return the number of segments in 'EK1'.
nseg = cspice_eknseg( handle )
print, 'Number of segments = ', nseg
;; SAFELY close the file.
Number of segments = 6
-Icy Version 1.0.2, 01-FEB-2008, EDW (JPL)
Completed the previously empty I/O section.
-Icy Version 1.0.1, 09-DEC-2005, EDW (JPL)
Added Examples section.
-Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)
return number of segments in an E-kernel