A SPICE tutorial
Posted: 22.09.2022, 12:45
Over the next month as i update my SPICE ssc files i will post an in-depth SPICE tutorial
( replacing the Celestialmatters one)
first up will be installing C-SPICE and then the barycenters , then the planets and moons
##########################################
You will need two programs from C-SPICE
"brief" and "ckbrief" , these read the metadata from the two spice kernels the orbit and the rotation kernels
You can get c-spice from here
https://naif.jpl.nasa.gov/pub/naif/toolkit/C/
download the archive for your OS
-- for linux install to /
the same for Apple
for Microsoft extract it to C://
next add the "exe" folder to your SYSTEM $PATH !!!!
use google for your OS on how to do this
for linux i made a text file called "/etc/profile.local" and added it to the existing paths in there
i also included the " $LD_LIBRARY_PATH" for the libs
on apple i think it is a bit simalure
on windows there is a GUI tool someplace in the system settings ( it has been 18 years since i used Microsoft)
.
( replacing the Celestialmatters one)
first up will be installing C-SPICE and then the barycenters , then the planets and moons
##########################################
You will need two programs from C-SPICE
"brief" and "ckbrief" , these read the metadata from the two spice kernels the orbit and the rotation kernels
You can get c-spice from here
https://naif.jpl.nasa.gov/pub/naif/toolkit/C/
download the archive for your OS
-- for linux install to /
the same for Apple
for Microsoft extract it to C://
next add the "exe" folder to your SYSTEM $PATH !!!!
use google for your OS on how to do this
for linux i made a text file called "/etc/profile.local" and added it to the existing paths in there
Code: Select all
PATH=$PATH:/DATA/SUSE/bin:/DATA/SUSE/lib64:/DATA/SUSE/cspice/exe:/DATA/SUSE/cspice/lib:/DATA/SUSE/cspice/include
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/DATA/SUSE/lib64:/DATA/SUSE/cspice/lib
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/DATA/SUSE/lib64/pkgconfig
export PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
i also included the " $LD_LIBRARY_PATH" for the libs
on apple i think it is a bit simalure
on windows there is a GUI tool someplace in the system settings ( it has been 18 years since i used Microsoft)
.