Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/~sontag/spicedocs/cspice/ekopw_c.html
Дата изменения: Sat Dec 17 06:08:56 2005 Дата индексирования: Sun Apr 10 23:25:06 2016 Кодировка: |
Open an existing E-kernel file for writing.
EK
Variable I/O Description -------- --- -------------------------------------------------- fname I Name of EK file. handle O Handle attached to EK file.
fname is the name of an existing E-kernel file to be opened for write access.
handle is the DAS file handle of the EK designate by fname. This handle is used to identify the file to other EK routines.
None.
This routine should be used to open an EK file for write access. Opening an EK file with this routine makes the EK accessible to the following CSPICE EK access routines, all of which modify the target EK file: Begin segment: ekbseg_c Append, insert, delete records: ekappr_c ekinsr_c ekdelr_c Add column entries: ekacec_c ekaced_c ekacei_c Update existing column entries: ekucec_c ekuced_c ekucei_c Execute fast write: ekifld_c ekffld_c ekaclc_c ekacld_c ekacli_c An EK opened for write access is also accessible for reading. The file may be accessed by the CSPICE EK readers ekrcec_c ekrced_c ekrcei_c and summary routines: eknseg_c ekssum_c An EK opened for write access cannot be queried. To make an EK available to the EK query system, the file must be loaded via EKLEF, rather than by this routine. See the EK Required Reading for further information.
1) Open the file MY.EK for write access: ekopw_c ( "my.ek", &handle );
1) No more than FTSIZE DAS files may be opened simultaneously. See dasfm_ for the value of FTSIZE.
1) If the indicated file cannot be opened, the error will be diagnosed by routines called by this routine. The new file will be deleted. 2) If the indicated file has the wrong architecture version, the error will be diagnosed by routines called by this routine. 3) If an I/O error occurs while reading or writing the indicated file, the error will be diagnosed by routines called by this routine.
See the EK Required Reading for a discussion of the EK file format.
N.J. Bachman (JPL)
None.
-CSPICE Version 1.0.1, 09-JAN-2002 (NJB) Documentation change: instances of the phrase "fast load" were replaced with "fast write." -CSPICE Version 1.0.0, 25-MAY-1999 (NJB)
open EK for writing