CSPICE_CKCLS closes a CK file opened for read or write.
For important details concerning this module's function, please refer to
the CSPICE routine ckcls_c.
handle the scalar integer file handle for an open CK file
closes the file. The close operation tests the file to
ensure the presence of data segments.
A cspice_ckcls call should balance every cspice_ckopn
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 needed parameters, a name for the CK, the
;; file internal name, and the number of characters
;; to reserve for a comment block.
CK1 = "type1.bc"
IFNAME = "Test CK created by ck_idl"
NCOMCH = 10
;; Open a new kernel.
cspice_ckopn, CK1, IFNAME, NCOMCH, handle
... do some writes to the open CK file ...
;; SAFELY close the file
-Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)
close a ck file