--- Edit on 07-25-2018
combined Mercury,Venus,Earth,Mars into one file
-- new as of 07-25-2018 --- -- google docs ( Mercury is part of the inner solar system spice ssc )
https://drive.google.com/file/d/1vrUtd1 ... sp=sharingMercury
( the below code is out of date and only an example
Code:
Replace "Mercury" "Sol"
{
Texture "Mercury.7.08.ctx"
Radius 2440
Timeline
[
# Before SPICE
{
BodyFrame { EquatorJ2000 { Center "Sol" } }
Ending "1550 02 27 00:00:00.000" # add 2 months for orbit drawing
CustomOrbit "vsop87-mercury"
CustomRotation "iau-mercury"
}
# Spice
{
OrbitFrame { EclipticJ2000 { Center "Sol/Mercury_bary" }}
BodyFrame { EclipticJ2000 { Center "Sol" }}
Ending "2649 11 25 00:00:00.000" # less 2 month for orbit drawing
SpiceOrbit
{
Kernel "de438.bsp"
Target "199"
Origin "1"
Period 0.2441 # earth years
BoundingRadius 1e10
}
#CustomRotation "iau-mercury"
SpiceRotation
{
Kernel [ "pck00010.tpc" "naif0012.tls" ]
Frame "IAU_MERCURY"
}
}
# After SPICE
{
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomOrbit "vsop87-mercury"
CustomRotation "iau-mercury"
}
]
Albedo 0.06
}
You already download the rotational model and leap second files from this thread
viewtopic.php?f=18&t=554-- de438.bsp --
ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/-- pck00010.tpc --
ftp://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/-- naif0012.tls --
ftp://naif.jpl.nasa.gov/pub/naif/generic_kernels/lsk/the barycenter ssc is needed BEFORE planets can be added
viewtopic.php?f=18&t=551you will notice that i am using the default celestia orbit and rotational model for the BEFORE and AFTER "spice"
for the planets it is almost spot on you might notice a small shift or turn but not much
the real BIG changes are with the moons ( but not "The Moon" )
PS.
a note of WARNING!!!!!!!
the times for "Ending " for the pre and spice sections
the pre spice has 2 months added for the orbit drawing and the post sipce is less 2 months
BE VERY CAREFUL on the days and months , not every month has 31 days
there is 28/29 , 30 ,and 31
if you list too many days you WILL get an error
Feb 31 will give you an error
WARNING - for Linux and maybe Apple users ( Apple is an unknown at this time )
this file needs to be part of a single "SolarSystem.SPICE.ssc file
the c-Language read order is in affect on these Operating Systems