using SPICE Part one
Posted: 24.10.2012, 00:41
--- edit----
Real-time 3D visualization of space
https://celestiaproject.space/forum/
https://celestiaproject.space/forum/viewtopic.php?f=21&t=17116
Code: Select all
Modify "Uranus" "Sol"
{
Timeline
[
# Before SPICE
{
Ending "1950 01 01 00:01"
CustomOrbit "vsop87-uranus"
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-uranus"
}
# URA083
{
Ending "2050 01 01 00:00"
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
SpiceOrbit
{
Kernel "ura083.bsp"
Target "799"
Origin "7"
BoundingRadius 1e10
}
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-uranus"
}
# After SPICE
{
CustomOrbit "vsop87-uranus"
BodyFrame { EquatorJ2000 { Center "Sol" } }
CustomRotation "iau-uranus"
}
]
}
Modify "Miranda" "Sol/Uranus"
{
SemiAxes [ 240 234.2 232.9 ]
Color [ 1 1 1 ]
Timeline
[
# Before SPICE
{
CustomOrbit "miranda"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 33.92350159 # enforce sync rotation
Inclination 0.0
MeridianAngle 144.3
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 33.92350159 # enforce sync rotation
Inclination 0.0
MeridianAngle 328
}
# BodyFrame { EclipticJ2000 { } }
# SpiceRotation
# {
# Kernel "pck00008.tpc"
# Frame "IAU_MIRANDA"
# BaseFrame "eclipJ2000"
# Period 33.92350159
# }
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "705"
Origin "7"
Period 1.413479
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "miranda"
UniformRotation
{
Period 33.92350159 # enforce sync rotation
Inclination 0.0
MeridianAngle 144.3
}
}
]
}
Modify "Ariel" "Sol/Uranus"
{
SemiAxes [ 581.1 577.9 577.7 ]
Timeline
[
# Before SPICE
{
CustomOrbit "ariel"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 60.48909292 # enforce sync rotation
Inclination 0.0
MeridianAngle 18.8
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 60.48909292 # enforce sync rotation
Inclination 0.0
MeridianAngle 203
}
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "701"
Origin "7"
Period 2.521
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "ariel"
UniformRotation
{
Period 60.48909292 # enforce sync rotation
Inclination 0.0
MeridianAngle 18.8
}
}
]
}
Modify "Umbriel" "Sol/Uranus"
{
Timeline
[
# Before SPICE
{
CustomOrbit "umbriel"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 99.46022991 # enforce sync rotation
Inclination 0.0
MeridianAngle 66.9
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 99.46022991 # enforce sync rotation
Inclination 0.0
MeridianAngle 251.4
}
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "702"
Origin "7"
Period 4.145
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "umbriel"
UniformRotation
{
Period 99.46022991 # enforce sync rotation
Inclination 0.0
MeridianAngle 66.9
}
}
]
}
Modify "Titania" "Sol/Uranus"
{
Timeline
[
# Before SPICE
{
CustomOrbit "titania"
Ending "1950 01 01 00:01"
UniformRotation
{
Period 208.94077099 # enforce sync rotation
Inclination 0.0
MeridianAngle 97.2
}
}
# URA083
{
OrbitFrame { EclipticJ2000 { Center "Sol/Uranus_bary"}}
UniformRotation
{
Period 208.94077099 # enforce sync rotation
Inclination 0.0
MeridianAngle 281.7
}
Ending "2050 01 01 00:00"
SpiceOrbit
{
Kernel "ura083.bsp"
Target "703"
Origin "7"
Period 8.7059
BoundingRadius 1e10
}
}
# After SPICE
{
CustomOrbit "titania"
UniformRotation
{
Period 208.94077099 # enforce sync rotation
Inclination 0.0
MeridianAngle 97.2
}
}
]
}