<commit_before>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",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      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 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 January 1st,
      2030. Data from JPL Horizons.]]
  }
}

local voyager2 = {
  Identifier = "Voyager2",
  Parent = "SolarSystemBarycenter",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      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 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 January 1st, 2030.
    Data from JPL Horizons.]]
  }
}

local pioneer10 = {
  Identifier = "Pioneer10",
  Parent = "SolarSystemBarycenter",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      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 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 January 1st, 2030.
    Data from JPL Horizons.]]
  }
}

local pioneer11 ={
  Identifier = "Pioneer11",
  Parent = "SolarSystemBarycenter",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      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 },<commit_msg>Update location of Voyager and Pioneer data<commit_after>local sampleInterval = 24*60*60

local voyager_horizons = asset.syncedResource({
  Name = "Voyager horizons",
  Type = "HttpSynchronization",
  Identifier = "voyager_horizons",
  Version = 1
})

local pioneer_horizons = asset.syncedResource({
  Name = "Pioneer horizons",
  Type = "HttpSynchronization",
  Identifier = "pioneer_horizons",
  Version = 1
})

local voyager1 = {
  Identifier = "Voyager1",
  Parent = "SolarSystemBarycenter",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      HorizonsTextFile = voyager_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 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 January 1st,
      2030. Data from JPL Horizons.]]
  }
}

local voyager2 = {
  Identifier = "Voyager2",
  Parent = "SolarSystemBarycenter",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      HorizonsTextFile = voyager_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 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 January 1st, 2030.
    Data from JPL Horizons.]]
  }
}

local pioneer10 = {
  Identifier = "Pioneer10",
  Parent = "SolarSystemBarycenter",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      HorizonsTextFile = pioneer_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 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 January 1st, 2030.
    Data from JPL Horizons.]]
  }
}

local pioneer11 ={
  Identifier = "Pioneer11",
  Parent = "SolarSystemBarycenter",
  Renderable = {
    Type = "RenderableTrailTrajectory",
    Enabled = false,
    Translation = {
      Type = "HorizonsTranslation",
      HorizonsTextFile = pioneer_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 },
{'fraction_non_alphanumeric': 0.12962962962962962, 'fraction_numerical': 0.07954545454545454, 'mean_word_length': 2.6169457128361238, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1569634', 'n_tokens_mistral': 2982, 'n_tokens_neox': 2499, 'n_words': 657}