Update assets that use Horiozns data

* Including updating the data itself too
This commit is contained in:
Malin E
2022-03-15 11:07:37 +01:00
parent 561e2a69cc
commit c6da82ea27
9 changed files with 174 additions and 72 deletions
@@ -4,7 +4,7 @@ local trajectory = asset.syncedResource({
Name = "C-2019 Q4 Borisov Trajectory",
Type = "HttpSynchronization",
Identifier = "borisov_horizons",
Version = 1
Version = 2
})
local C2019Q4BorisovTrail = {
@@ -14,18 +14,23 @@ local C2019Q4BorisovTrail = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "horizons_c2019q4borisov.dat"
HorizonsTextFile = trajectory .. "horizons_c2019q4borisov.hrz"
-- Target: Borisov (C/2019 Q4)
-- Observer: SSB
-- Start time: 2015-Jan-01 00:00:00 (first data point)
-- End time: 2050-Jan-01 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.9, 0.0 },
StartTime = "2015 JAN 01 00:00:00",
EndTime = "2024 JAN 01 00:00:00",
SampleInterval = 60 * 60 * 24 * 7
EndTime = "2050 JAN 01 00:00:00",
SampleInterval = 60*60*24 -- = 86 400 seconds in 1 day
},
GUI = {
Name = "C/2019 Q4 Borisov Trail",
Path = "/Solar System/Interstellar",
Description = [[Trail of C-2019 Q4 Borisov from 2015 JAN 01 00:00:00
to 2024 JAN 01 00:00:00. Data from JPL Horizons]]
to 2050 JAN 01 00:00:00. Data from JPL Horizons]]
}
}
@@ -35,14 +40,14 @@ local C2019Q4BorisovPosition = {
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "horizons_c2019q4borisov.dat"
HorizonsTextFile = trajectory .. "horizons_c2019q4borisov.hrz"
}
},
GUI = {
Name = "C/2019 Q4 Borisov",
Path = "/Solar System/Interstellar",
Description = [[Position of C-2019 Q4 Borisov from 2015 JAN 01 00:00:00
to 2024 JAN 01 00:00:00. Data from JPL Horizons]]
to 2050 JAN 01 00:00:00. Data from JPL Horizons]]
}
}
@@ -63,10 +68,10 @@ asset.export(C2019Q4BorisovTrail)
asset.meta = {
Name = "C/2019 Q4 Borisov",
Version = "1.1",
Version = "1.2",
Description = [[ This asset contains the trail
and position of C-2019 Q4 Borisov from 2015 JAN 01 00:00:00
to 2024 JAN 01 00:00:00. Data from JPL Horizons']],
to 2050 JAN 01 00:00:00. Data from JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = [[ JPL-authored documents are sponsored by NASA under Contract
@@ -4,7 +4,7 @@ local trajectory = asset.syncedResource({
Name = "'Oumuamua Trajectory",
Type = "HttpSynchronization",
Identifier = "oumuamua_horizons",
Version = 1
Version = 2
})
local OumuamuaTrail = {
@@ -14,18 +14,23 @@ local OumuamuaTrail = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "horizons_oumuamua.dat"
HorizonsTextFile = trajectory .. "horizons_oumuamua.hrz"
-- Target: 1I/'Oumuamua (A/2017 U1)
-- Observer: SSB
-- Start time: 2014-Jan-01 00:00:00 (first data point)
-- End time: 2050-Jan-01 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.9, 0.0 },
StartTime = "2014 JAN 01 00:00:00",
EndTime = "2023 JAN 01 00:00:00",
SampleInterval = 7000,
EndTime = "2050 JAN 01 00:00:00",
SampleInterval = 86400,
TimeStampSubsampleFactor = 1
},
GUI = {
Name = "'Oumuamua Trail",
Path = "/Solar System/Interstellar",
Description = [[Trail of 'Oumuamua from 2014 JAN 01 00:00:00 to 2023 JAN 01 00:00:00.
Description = [[Trail of 'Oumuamua from 2014 JAN 01 00:00:00 to 2050 JAN 01 00:00:00.
Data from JPL Horizons']],
}
}
@@ -36,13 +41,13 @@ local OumuamuaPosition = {
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "horizons_oumuamua.dat"
HorizonsTextFile = trajectory .. "horizons_oumuamua.hrz"
},
},
GUI = {
Name = "'Oumuamua",
Path = "/Solar System/Interstellar",
Description = [[ Position of 'Oumuamua from 2014 JAN 01 00:00:00 to 2023 JAN 01
Description = [[ Position of 'Oumuamua from 2014 JAN 01 00:00:00 to 2050 JAN 01
00:00:00. Data from JPL Horizons']],
}
}
@@ -64,9 +69,9 @@ asset.export(OumuamuaTrail)
asset.meta = {
Name = "'Oumuamua",
Version = "1.1",
Version = "1.2",
Description = [[ This asset contains the trail and position of 'Oumuamua from 2014
JAN 01 00:00:00 to 2023 JAN 01 00:00:00. Data from JPL Horizons']],
JAN 01 00:00:00 to 2050 JAN 01 00:00:00. Data from JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = "NASA"
@@ -5,7 +5,7 @@ local trail = asset.syncedResource({
Name = "Gaia Trail",
Type = "HttpSynchronization",
Identifier = "gaia_trail",
Version = 2
Version = 3
})
local GaiaTrail = {
@@ -15,14 +15,23 @@ local GaiaTrail = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trail .. "gaia_orbit_horizons.dat"
HorizonsTextFile = {
trail .. "gaia_orbit_horizons_1.hrz", --2013-12-19 09:55:27 to 2019-06-20 05:55:27
trail .. "gaia_orbit_horizons_2.hrz", --2019-06-20 05:55:27 to 2024-12-31 23:55:27
trail .. "gaia_orbit_horizons_3.hrz", --2024-12-31 23:55:27 to 2026-09-14 21:15:27
-- Target: Gaia (spacecraft) (-139479)
-- Observer: Earth (399 GEOCENTRIC)
-- Start time: 2013-Dec-19 09:55:27 (first data point)
-- End time: 2026-Sep-14 21:15:27 (last data point)
-- Step size: 40 minutes
}
},
Color = { 0.0, 0.8, 0.7 },
ShowFullTrail = false,
StartTime = "2013 DEC 19 09:55:10",
EndTime = "2019 JUN 20 05:55:10",
StartTime = "2013 DEC 19 09:55:27",
EndTime = "2026 SEP 14 21:15:27",
PointSize = 5,
SampleInterval = 12000,
SampleInterval = 2400, -- 40 minutes in seconds
TimeStampSubsampleFactor = 1,
EnableFade = true,
Rendering = "Lines"
@@ -41,14 +50,19 @@ local GaiaTrailEclip = {
Enabled = false,
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trail .. "gaia_orbit_horizons_sun.dat"
HorizonsTextFile = trail .. "gaia_orbit_horizons_sun.hrz"
-- Target: Gaia (spacecraft) (-139479)
-- Observer: Sun (10 BODYCENTRIC)
-- Start time: 2013-Dec-20 00:00:00 (first data point)
-- End time: 2026-Sep-14 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 1.0, 0.0, 0.0 },
ShowFullTrail = false,
StartTime = "2013 DEC 19 09:55:10",
EndTime = "2019 JUN 20 05:55:10",
StartTime = "2013 DEC 20 00:00:00",
EndTime = "2026 SEP 14 00:00:00",
PointSize = 5,
SampleInterval = 6000,
SampleInterval = 86400,
TimeStampSubsampleFactor = 1,
EnableFade = true,
Rendering = "Lines"
@@ -71,3 +85,14 @@ end)
asset.export(GaiaTrail)
asset.export(GaiaTrailEclip)
asset.meta = {
Name = "Gaia Trail",
Version = "1.0",
Description = [[ This asset contains the trail of Gaia around both Earth and the Sun.
Data from JPL Horizons from 2013 DEC 19 09:55:27 to 2026 SEP 14 21:15:27]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = "NASA"
}
@@ -5,7 +5,7 @@ local trail = asset.syncedResource({
Name = "Gaia Trail",
Type = "HttpSynchronization",
Identifier = "gaia_trail",
Version = 1
Version = 3
})
local GaiaPosition = {
@@ -14,7 +14,16 @@ local GaiaPosition = {
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trail .. "gaia_orbit_horizons.dat"
HorizonsTextFile = {
trail .. "gaia_orbit_horizons_1.hrz", --2013-12-19 09:55:27 to 2019-06-20 05:55:27
trail .. "gaia_orbit_horizons_2.hrz", --2019-06-20 05:55:27 to 2024-12-31 23:55:27
trail .. "gaia_orbit_horizons_3.hrz", --2024-12-31 23:55:27 to 2026-09-14 21:15:27
-- Target: Gaia (spacecraft) (-139479)
-- Observer: Earth (399 GEOCENTRIC)
-- Start time: 2013-Dec-19 09:55:27 (first data point)
-- End time: 2026-Sep-14 21:15:27 (last data point)
-- Step size: 40 minutes
}
},
},
GUI = {
@@ -32,3 +41,14 @@ asset.onDeinitialize(function()
end)
asset.export(GaiaPosition)
asset.meta = {
Name = "Gaia Transform",
Version = "1.0",
Description = [[ This asset contains the position of Gaia from 2013
DEC 19 09:55:27 to 2026 SEP 14 21:15:27. Data from JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = "NASA"
}
@@ -1,5 +1,12 @@
local sampleInterval = 24*60*60
local horizons = asset.syncedResource({
Name = "Voyager & Pioneer horizons",
Type = "HttpSynchronization",
Identifier = "voyager_pioneer_horizons",
Version = 1
})
local voyager1 = {
Identifier = "Voyager1",
Parent = "SolarSystemBarycenter",
@@ -8,19 +15,24 @@ local voyager1 = {
Enabled = false,
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = asset.localResource("voyager_1.txt")
HorizonsTextFile = horizons .. "voyager_1.hrz"
-- Target: Voyager 1 (spacecraft) (-31)
-- Observer: SSB
-- Start time: 1977-Sep-06 00:00:00 (first data point)
-- End time: 2030-Jan-01 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.9, 0.0 },
Fade = 5.0,
StartTime = "1977 SEP 06 00:00:00",
EndTime = "2030 DEC 31 00:00:00",
EndTime = "2030 JAN 01 00:00:00",
SampleInterval = sampleInterval,
TimeStampSubsampleFactor = 1
},
GUI = {
Name = "Voyager 1 Trail",
Path = "/Solar System/Missions/Voyager",
Description = [[Voyager 1 Trail, spanning September 6th, 1977 to December 31st,
Description = [[Voyager 1 Trail, spanning September 6th, 1977 to January 1st,
2030. Data from JPL Horizons.]]
}
}
@@ -33,19 +45,24 @@ local voyager2 = {
Enabled = false,
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = asset.localResource("voyager_2.txt")
HorizonsTextFile = horizons .. "voyager_2.hrz"
-- Target: Voyager 2 (spacecraft) (-32)
-- Observer: SSB
-- Start time: 1977-Aug-21 00:00:00 (first data point)
-- End time: 2030-Jan-01 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.9, 0.0 },
Fade = 5.0,
StartTime = "1977 AUG 21 00:00:00",
EndTime = "2030 DEC 31 00:00:00",
EndTime = "2030 JAN 01 00:00:00",
SampleInterval = sampleInterval,
TimeStampSubsampleFactor = 1
},
GUI = {
Name = "Voyager 2 Trail",
Path = "/Solar System/Missions/Voyager",
Description = [[Voyager 2 Trail, spanning August 21st, 1977 to December 31st, 2030.
Description = [[Voyager 2 Trail, spanning August 21st, 1977 to January 1st, 2030.
Data from JPL Horizons.]]
}
}
@@ -58,19 +75,24 @@ local pioneer10 = {
Enabled = false,
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = asset.localResource("pioneer_10.txt")
HorizonsTextFile = horizons .. "pioneer_10.hrz"
-- Target: Pioneer 10 (spacecraft) (-23)
-- Observer: SSB
-- Start time: 1972-Mar-04 00:00:00 (first data point)
-- End time: 2030-Jan-01 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.3, 0.0 },
Fade = 5.0,
StartTime = "1972 MAR 04 00:00:00",
EndTime = "2030 DEC 31 00:00:00",
EndTime = "2030 JAN 01 00:00:00",
SampleInterval = sampleInterval,
TimeStampSubsampleFactor = 1
},
GUI = {
Name = "Pioneer 10 Trail",
Path = "/Solar System/Missions/Pioneer",
Description = [[Pioneer 10 Trail, spanning March 4th, 1972 to December 31st, 2030.
Description = [[Pioneer 10 Trail, spanning March 4th, 1972 to January 1st, 2030.
Data from JPL Horizons.]]
}
}
@@ -83,19 +105,24 @@ local pioneer11 ={
Enabled = false,
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = asset.localResource("pioneer_11.txt")
HorizonsTextFile = horizons .. "pioneer_11.hrz"
-- Target: Pioneer 11 (spacecraft) (-24)
-- Observer: SSB
-- Start time: 1973-Apr-07 00:00:00 (first data point)
-- End time: 2030-Jan-01 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.3, 0.0 },
Fade = 5.0,
StartTime = "1973 APR 07 00:00:00",
EndTime = "2030 DEC 31 00:00:00",
EndTime = "2030 JAN 01 00:00:00",
SampleInterval = sampleInterval,
TimeStampSubsampleFactor = 1
},
GUI = {
Name = "Pioneer 11 Trail",
Path = "/Solar System/Missions/Pioneer",
Description = [[Pioneer 11 Trail, spanning April 7th, 1973 to December 31st, 2030.
Description = [[Pioneer 11 Trail, spanning April 7th, 1973 to January 1st, 2030.
Data from JPL Horizons.]]
}
}
@@ -123,10 +150,10 @@ asset.export(pioneer11)
asset.meta = {
Name = "Pioneer and Voyager Trails",
Version = "1.0",
Version = "1.1",
Description = [[ Pioneer 10, Pioneer 11, Voyager 1 and Voyager 2 trails. Driven by JPL
Horizons data for better performance then spice but lower resolution. Data is from
shortly after mission launches until December 31st, 2030.]],
shortly after mission launches until January 1st, 2030.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
@@ -5,7 +5,7 @@ local trajectory = asset.syncedResource({
Type = "HttpSynchronization",
Identifier = "astraea_horizons",
Version = 1
})
})
local AstraeaTrail = {
Identifier = "AstraeaTrail",
@@ -14,12 +14,17 @@ local AstraeaTrail = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "horizons_astraea.dat"
HorizonsTextFile = trajectory .. "horizons_astraea.hrz"
-- Target: 5 Astraea (A845 XA)
-- Observer: SSB
-- Start time: 2014-Jan-01 00:00 (first data point)
-- End time: 2050-Jan-01 00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.9, 0.0 },
StartTime = "2014 JAN 01 00:00:00",
EndTime = "2023 JAN 01 00:00:00",
SampleInterval = 7000,
EndTime = "2050 JAN 01 00:00:00",
SampleInterval = 86400,
TimeStampSubsampleFactor = 1
},
GUI = {
@@ -34,7 +39,7 @@ local AstraeaPosition = {
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "horizons_astraea.dat"
HorizonsTextFile = trajectory .. "horizons_astraea.hrz"
}
},
GUI = {
@@ -60,10 +65,10 @@ asset.export(AstraeaTrail)
asset.meta = {
Name = "5 Astraea",
Version = "1.1",
Version = "1.2",
Description = [[ This asset contains the trail
and position of 5 Astraea from 2014 JAN 01 00:00:00
to 2023 JAN 01 00:00:00. Data from JPL Horizons']],
to 2050 JAN 01 00:00:00. Data from JPL Horizons']],
Author = "Zach Shaffer",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = [[ JPL-authored documents are sponsored by NASA under Contract
@@ -4,8 +4,8 @@ local orbit = asset.syncedResource({
Name = "Comet C/2019 Y4 ATLAS",
Type = "HttpSynchronization",
Identifier = "horizons_c2019y4atlas",
Version = 1
}) .. "c2019y4atlas.txt"
Version = 2
}) .. "c2019y4atlas.hrz"
local C2019Y4AtlasTrail = {
Identifier = "C2019Y4AtlasTrail",
@@ -15,12 +15,17 @@ local C2019Y4AtlasTrail = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = orbit
-- Target: ATLAS (C/2019 Y4)
-- Observer: SSB
-- Start time: 1950-Jan-01 00:00:00.000 (first data point)
-- End time: 2099-Dec-31 23:59:59.9985 (last data point)
-- Step size: 90 000 steps
},
Color = { 0.533333, 0.850980, 0.996078 },
EnableFade = false,
StartTime = "1950 JAN 1 0:00:00",
EndTime = "2100 JAN 1 00:00:00",
SampleInterval = 35000,
SampleInterval = 52595, -- About 14h 36m 35.5200s in seconds
TimeStampSubsampleFactor = 1
},
GUI = {
@@ -62,7 +67,7 @@ asset.export(C2019Y4AtlasTrail)
asset.meta = {
Name = "C/2019 Y4 Atlas",
Version = "1.1",
Version = "1.2",
Description = [[ This asset contains the trail and position of C/2019 Y4 Atlas from
1950 JAN 01 00:00:00 to 2100 JAN 01 00:00:00. Data from JPL Horizons]],
Author = "OpenSpace Team",
@@ -4,7 +4,7 @@ local sync = asset.syncedResource({
Name = "Swift Tuttle Orbit",
Type = "HttpSynchronization",
Identifier = "swift_tuttle_horizons",
Version = 1
Version = 2
})
local SwiftTuttleTrail = {
@@ -14,12 +14,17 @@ local SwiftTuttleTrail = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = sync .. "horizons_swifttuttle.dat"
HorizonsTextFile = sync .. "horizons_swifttuttle.hrz"
-- Target: 109P/Swift-Tuttle (1995 epoch)
-- Observer: SSB
-- Start time: 1879-Jun-27 00:00:00 (first data point)
-- End time: 2050-Jan-01 00:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.9, 0.0 },
StartTime = "1879 JUN 27 00:00:00",
EndTime = "1879 JUN 27 00:00:00",
SampleInterval = 60
EndTime = "2050 JAN 01 00:00:00",
SampleInterval = 86400
},
GUI = {
Name = "Swift Tuttle Trail",
@@ -33,7 +38,7 @@ local SwiftTuttlePosition = {
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = sync .. "horizons_swifttuttle.dat"
HorizonsTextFile = sync .. "horizons_swifttuttle.hrz"
}
},
GUI = {
@@ -59,9 +64,9 @@ asset.export(SwiftTuttleTrail)
asset.meta = {
Name = "Swift Tuttle",
Version = "1.1",
Version = "1.2",
Description = [[ Position and Trail of Swift Tuttle from 1879 JUN 27
to 1879 JUN 27. Data from JPL Horizons]],
to 2050 JAN 01. Data from JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = [[ JPL-authored documents are sponsored by NASA under Contract
@@ -4,7 +4,7 @@ local orbit = asset.syncedResource({
Name = "Tesla Roadster Orbit",
Type = "HttpSynchronization",
Identifier = "tesla_horizons",
Version = 1
Version = 2
})
local TeslaRoadsterTrail = {
@@ -14,12 +14,17 @@ local TeslaRoadsterTrail = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = orbit .. "horizons_tesla.dat"
HorizonsTextFile = orbit .. "horizons_tesla.hrz"
-- Target: SpaceX Roadster (spacecraft) (-143205)
-- Observer: SSB
-- Start time: 2018-Feb-07 03:00:00 (first data point)
-- End time: 2089-Dec-31 03:00:00 (last data point)
-- Step size: 1 day
},
Color = { 0.9, 0.9, 0.0 },
StartTime = "2018 FEB 8 00:00:00",
EndTime = "2022 FEB 7 00:00:00",
SampleInterval = 3000,
StartTime = "2018 FEB 7 03:00:00",
EndTime = "2089 DEC 31 03:00:00",
SampleInterval = 86400,
TimeStampSubsampleFactor = 1
},
GUI = {
@@ -34,14 +39,14 @@ local TeslaPosition = {
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = orbit .. "horizons_tesla.dat"
HorizonsTextFile = orbit .. "horizons_tesla.hrz"
}
},
GUI = {
Name = "Tesla Roadster",
Path = "/Solar System/SSSB",
Description = [[Position and Trail of Tesla Roadster from 2018 FEB 8
to 2022 FEB 7 00:00:00. Data from JPL Horizons.]]
Description = [[Position and Trail of Tesla Roadster from 2018 FEB 7 03:00:00
to 2089 DEC 31 03:00:00. Data from JPL Horizons.]]
}
}
@@ -62,9 +67,9 @@ asset.export(TeslaRoadsterTrail)
asset.meta = {
Name = "Tesla Roadster",
Version = "1.1",
Description = [[ Position and Trail of Tesla Roadster from 2018 FEB 8
to 2022 FEB 7 00:00:00. Data from JPL Horizons.]],
Version = "1.2",
Description = [[ Position and Trail of Tesla Roadster from 2018 FEB 7 03:00:00
to 2089 DEC 31 03:00:00. Data from JPL Horizons.]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = [[ JPL-authored documents are sponsored by NASA under Contract