|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/~sontag/spicedocs/cspice/ckcls_c.html
Дата изменения: Sat Dec 17 06:08:33 2005 Дата индексирования: Sun Apr 10 23:23:30 2016 Кодировка: Поисковые слова: http www.badastronomy.com bad tv foxapollo.html |
Close an open CK file.
None.
VARIABLE I/O DESCRIPTION
-------- --- --------------------------------------------------
handle I Handle of the CK file to be closed.
handle The handle of the CK file that is to be closed.
None.
None.
Close the CK file attached to handle.
Suppose that you want to create a new CK file called "new.ck"
that contains a single type 3 CK segment and has room for at
least 5000 comment characters. The following code fragment should
take care of this for you, assuming that all of the variables
passed to the CK type 3 segment writer have appropriate values.
name = "new.ck";
ifname = "Test CK file";
ckopn_c ( name, ifname, 5000, &handle );
ckw03_c ( handle, begtim, endtim, inst,
ref, avflag, segid, nrec,
sclkdp, quats, avvs, nints, starts );
ckcls_c ( handle );
None.
1) If there are no segments in the file the error
SPICE(NOSEGMENTSFOUND) will be signalled.
See Detailed_Input.
N.J. Bachman (NJB) K.R. Gehringer (JPL)
None.
-CSPICE Version 1.0.1, 08-MAR-2002 (EDW)
Corrected header typo. Examples" to Examples.
-CSPICE Version 1.0.0, 08-FEB-1998 (NJB)
Based on SPICELIB Version 1.0.0, 26-JAN-1995 (KRG)
close a ck file