Post #26by cartrite » 20.09.2006, 19:00
I don't know if this would help but one of my ISIS3 data folders, /odyssey/kernels/spk/ contains a file called makedb that looks like this
Code: Select all
#!/bin/csh
#
# Generate kernel database from existing kernels
kerneldbgen to='kernels.????.db' type=SPK \
recondir='$odyssey/kernels/spk' reconfilter='m01_*.bsp' \
lsk='$base/kernels/lsk/naif0008.tls'
This generates a file that looks like this
Code: Select all
Object = SpacecraftPosition
RunTime = 2006-07-26T11:57:35
Group = Dependencies
Leapsecond Kernel = $base/kernels/lsk/naif0008.tls
End_Group
Group = Selection
Time = ("2002 APR 01 00:00:00.000 TDB", "2002 JUL 01 01:00:00.000 TDB")
File = $odyssey/kernels/spk/m01_map2.bsp
Type = Reconstructed
End_Group
Group = Selection
Time = ("2002 JUL 01 00:00:00.000 TDB", "2002 OCT 01 01:00:00.000 TDB")
File = $odyssey/kernels/spk/m01_map3.bsp
Type = Reconstructed
End_Group
...........................................
Group = Selection
Time = ("2005 OCT 01 00:00:00.000 TDB", "2006 JAN 01 01:00:00.000 TDB")
File = $odyssey/kernels/spk/m01_ext5.bsp
Type = Reconstructed
End_Group
Group = Selection
Time = ("2006 JAN 01 00:00:00.000 TDB", "2006 APR 01 01:00:00.000 TDB")
File = $odyssey/kernels/spk/m01_ext6.bsp
Type = Reconstructed
End_Group
End_Object
End
There are also files with a .lbl extension that coorespond to the .bsp files that contain a lot of info.
Code: Select all
MISSION_NAME = "CASSINI"
SPACECRAFT_NAME = "CASSINI"
DATA_SET_ID = "SPICE_SPK_FILE"
KERNEL_TYPE_ID = "SPK"
PRODUCT_ID = "050825R_SCPSE_05186_05205.xsp"
PRODUCT_CREATION_TIME = 2005-08-25T11:22:26
PRODUCER_ID = "CASSINI_NAV_TEAM"
MISSION_PHASE_NAME = "TOUR"
PRODUCT_VERSION_TYPE = "RECONSTRUCTION"
PLATFORM_OR_MOUNTING_NAME = "N/A"
START_TIME = 2005-07-05T11:58:56
STOP_TIME = 2005-07-24T11:58:56
SPACECRAFT_CLOCK_START_COUNT = "N/A"
SPACECRAFT_CLOCK_STOP_COUNT = "N/A"
TARGET_NAME = {
"CASSINI",
"EARTH BARYCENTER",
"JUPITER BARYCENTER",
"SATURN BARYCENTER",
"SUN",
"MOON",
"EARTH",
"MIMAS",
"ENCELADUS",
"TETHYS",
"DIONE",
"RHEA",
"TITAN",
"HYPERION",
"IAPETUS",
"PHOEBE",
"SATURN"
}
INSTRUMENT_NAME = "N/A"
INSTRUMENT_ID = "N/A"
SOURCE_PRODUCT_ID = "SEE COMMENTS"
NOTE = "SPICE transfer format SPK file."
; 050825R_SCPSE_05186_05205.BSP LOG FILE
;
; Created 2005-08-25/11:22:25.00.
;
; BEGIN NIOSPK COMMANDS
LEAPSECONDS_FILE = /cnav/software/internal/leapseconds.dat
SPK_FILE = 050825R_SCPSE_05186_05205.BSP
SPK_LOG_FILE = 050825R_SCPSE_05186_05205.log
INCLUDE_TEXT_FILE = 050825R_COMMENT_05186_05205.TXT
SOURCE_NIO_FILE = 050825R_SK_05186_05205.NIO
BODIES = -82
BEGIN_TIME = CAL-ET 2005 JUL 05 12:00:00.000
END_TIME = CAL-ET 2005 JUL 24 12:00:00.000
SOURCE_NIO_FILE = /cnav/OD/deliveries/reconstruction/050802_012Sa/odstuff/pe_941124-161222_050802.nio
BODIES = 3 5 6 10 301 399
BEGIN_TIME = CAL-ET 2005 JUL 05 12:00:00.000
END_TIME = CAL-ET 2005 JUL 24 12:00:00.000
SOURCE_NIO_FILE = /cnav/OD/deliveries/reconstruction/050802_012Sa/odstuff/se_040102-150116_050802.nio
BEGIN_TIME = CAL-ET 2005 JUL 05 12:00:00.000
END_TIME = CAL-ET 2005 JUL 24 12:00:00.000
; END NIOSPK COMMANDS
FILENAME: 050825R_SCPSE_05186_05205.XSP
................................
A couple of questions.
Is Spice going to be supported in Linux verions of Celestia too? I have a data library for ISIS3 that is about 12 GB and it primarily contains Spice kernels.
How was the win32 include and lib folders created for Spice?
What would be needed for linux verions? "SpiceUsr.h"
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4