CSPICE_EKOPS creates and opens a scratch E-kernel file then
prepares the file for writing.
For important details concerning this module's function, please refer to
the CSPICE routine ekops_c.
creates for writing an EK file returning:
handle a scalar integer used by EK kernel routines as
a reference to the scratch file
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.
;; Create an EK scratch file, returning the file handle
;; associated with the file to the variable named
... do stuff, but don't alter the value of handle ...
;; Close the scratch file - this op should also delete
;; the file.
Note: An issue may exist when using ek scratch files from
IDL on Microsoft Windows. It seems the cspice_ekcls call may
fail to delete the scratch file created by the cspice_ekops
call. This file normally has a name format similar to
tmp.Fxxxxx. You can manually delete the file only after you
close the IDL application.
This problem does not affect use of the file or cause any
known instability to Icy.
-Icy Version 1.0.1, 11-NOV-2005, EDW (JPL)
Added mention of the scratch file retention issue on
-Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)
open scratch E-kernel
open scratch EK