-- This file was automatically generated using a script found at
-- https://github.com/OpenSpace/scripts/treks-to-openspace. See the README.md file
-- in that repository for more information on how to run the script to update these
-- files. In particular in the case of errors, prefer to change that script rather
-- than the individual files

local globeIdentifier = asset.require("scene/solarsystem//planets/earth/moon/moon").Moon.Identifier

local treks_LRO_NAC_RockDen_17S173E_150cmp = {
  Identifier = "LRO_NAC_RockDen_17S173E_150cmp",
  Name = [[LRO LROC Rock Density, Aitken Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Aitken_Crater.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_13S358E_2mp = {
  Identifier = "LRO_NAC_RockDen_13S358E_2mp",
  Name = [[LRO LROC Rock Density, Alphonsus Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Alphonsus_Crater.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_73N350E_150cmp = {
  Identifier = "LRO_NAC_RockDen_73N350E_150cmp",
  Name = [[LRO LROC Rock Density, Anaxagoras Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Anaxagoras_Crater.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_26N004E_150cmp = {
  Identifier = "LRO_NAC_RockDen_26N004E_150cmp",
  Name = [[LRO LROC Rock Density, Apollo 15]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Apollo_15.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_09S015E_150cmp = {
  Identifier = "LRO_NAC_RockDen_09S015E_150cmp",
  Name = [[LRO LROC Rock Density, Apollo 16]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Apollo_16.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_37S206E_150cmp = {
  Identifier = "LRO_NAC_RockDen_37S206E_150cmp",
  Name = [[LRO LROC Rock Density, Apollo Basin]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Apollo_Basin.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_25N311E_2mp = {
  Identifier = "LRO_NAC_RockDen_25N311E_2mp",
  Name = [[LRO LROC Rock Density, Aristarchus 1]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Aristarchus_1.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_28N307E_150cmp = {
  Identifier = "LRO_NAC_RockDen_28N307E_150cmp",
  Name = [[LRO LROC Rock Density, Aristarchus 2]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Aristarchus_2.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_19S070E_150cmp = {
  Identifier = "LRO_NAC_RockDen_19S070E_150cmp",
  Name = [[LRO LROC Rock Density, Balmer Basin]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Balmer_Basin.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_20S337E_400cmp = {
  Identifier = "LRO_NAC_RockDen_20S337E_400cmp",
  Name = [[LRO LROC Rock Density, Bullialdus Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Bullialdus_Crater.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_36N320E_2mp = {
  Identifier = "LRO_NAC_RockDen_36N320E_2mp",
  Name = [[LRO LROC Rock Density, Gruithuisen Domes]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Gruithuisen_Domes.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDenHaz_17S173E_150cmp = {
  Identifier = "LRO_NAC_RockDenHaz_17S173E_150cmp",
  Name = [[LRO LROC Rock Density, Hazard Aitken Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Hazard_Aitken_Crater.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_00N234E_150cmp = {
  Identifier = "LRO_NAC_RockDen_00N234E_150cmp",
  Name = [[LRO LROC Rock Density, Hertzsprung]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Hertzsprung.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_08N332E_2mp = {
  Identifier = "LRO_NAC_RockDen_08N332E_2mp",
  Name = [[LRO LROC Rock Density, Hortensius Domes]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Hortensius_Domes.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_06N120E_200cmp = {
  Identifier = "LRO_NAC_RockDen_06N120E_200cmp",
  Name = [[LRO LROC Rock Density, King Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/King_Crater.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_32N292E_2mp = {
  Identifier = "LRO_NAC_RockDen_32N292E_2mp",
  Name = [[LRO LROC Rock Density, Lichtenberg Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Lichtenberg_Crater.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_10N058E_150cmp = {
  Identifier = "LRO_NAC_RockDen_10N058E_150cmp",
  Name = [[LRO LROC Rock Density, Mare Crisium]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Mare_Crisium.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_16S041E_150cmp = {
  Identifier = "LRO_NAC_RockDen_16S041E_150cmp",
  Name = [[LRO LROC Rock Density, Montes Pyrenaeus]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Montes_Pyrenaeus.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_26S265E_200cmp = {
  Identifier = "LRO_NAC_RockDen_26S265E_200cmp",
  Name = [[LRO LROC Rock Density, Orientale 1]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Orientale_1.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_53N354E_150cmp = {
  Identifier = "LRO_NAC_RockDen_53N354E_150cmp",
  Name = [[LRO LROC Rock Density, Plato Ejecta]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Plato_Ejecta.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_60S200E_150cmp = {
  Identifier = "LRO_NAC_RockDen_60S200E_150cmp",
  Name = [[LRO LROC Rock Density, South Pole-Aitken Basin Interior]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/South_Pole-Aitken_Basin_Interior.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_02S167E_150cmp = {
  Identifier = "LRO_NAC_RockDen_02S167E_150cmp",
  Name = [[LRO LROC Rock Density, Stratton (Dewar) High Fe Anomaly]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Stratton_Dewar_High_Fe_Anomaly.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_20N010E_2mp = {
  Identifier = "LRO_NAC_RockDen_20N010E_2mp",
  Name = [[LRO LROC Rock Density, Sulpicius Gallus]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Sulpicius_Gallus.vrt"),
  Description = [[]]
}

local treks_LRO_NAC_RockDen_43S349E_150cmp = {
  Identifier = "LRO_NAC_RockDen_43S349E_150cmp",
  Name = [[LRO LROC Rock Density, Tycho Crater]],
  FilePath = asset.localResource("LRO_LROC_Rock_Density/Tycho_Crater.vrt"),
  Description = [[]]
}

asset.onInitialize(function()
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_17S173E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_13S358E_2mp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_73N350E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_26N004E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_09S015E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_37S206E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_25N311E_2mp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_28N307E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_19S070E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_20S337E_400cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_36N320E_2mp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDenHaz_17S173E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_00N234E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_08N332E_2mp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_06N120E_200cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_32N292E_2mp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_10N058E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_16S041E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_26S265E_200cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_53N354E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_60S200E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_02S167E_150cmp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_20N010E_2mp)
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_NAC_RockDen_43S349E_150cmp)
end)

asset.onDeinitialize(function()
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_17S173E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_13S358E_2mp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_73N350E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_26N004E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_09S015E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_37S206E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_25N311E_2mp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_28N307E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_19S070E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_20S337E_400cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_36N320E_2mp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDenHaz_17S173E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_00N234E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_08N332E_2mp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_06N120E_200cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_32N292E_2mp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_10N058E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_16S041E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_26S265E_200cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_53N354E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_60S200E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_02S167E_150cmp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_20N010E_2mp")
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_NAC_RockDen_43S349E_150cmp")
end)

asset.export("LRO_NAC_RockDen_17S173E_150cmp", treks_LRO_NAC_RockDen_17S173E_150cmp)
asset.export("LRO_NAC_RockDen_13S358E_2mp", treks_LRO_NAC_RockDen_13S358E_2mp)
asset.export("LRO_NAC_RockDen_73N350E_150cmp", treks_LRO_NAC_RockDen_73N350E_150cmp)
asset.export("LRO_NAC_RockDen_26N004E_150cmp", treks_LRO_NAC_RockDen_26N004E_150cmp)
asset.export("LRO_NAC_RockDen_09S015E_150cmp", treks_LRO_NAC_RockDen_09S015E_150cmp)
asset.export("LRO_NAC_RockDen_37S206E_150cmp", treks_LRO_NAC_RockDen_37S206E_150cmp)
asset.export("LRO_NAC_RockDen_25N311E_2mp", treks_LRO_NAC_RockDen_25N311E_2mp)
asset.export("LRO_NAC_RockDen_28N307E_150cmp", treks_LRO_NAC_RockDen_28N307E_150cmp)
asset.export("LRO_NAC_RockDen_19S070E_150cmp", treks_LRO_NAC_RockDen_19S070E_150cmp)
asset.export("LRO_NAC_RockDen_20S337E_400cmp", treks_LRO_NAC_RockDen_20S337E_400cmp)
asset.export("LRO_NAC_RockDen_36N320E_2mp", treks_LRO_NAC_RockDen_36N320E_2mp)
asset.export("LRO_NAC_RockDenHaz_17S173E_150cmp", treks_LRO_NAC_RockDenHaz_17S173E_150cmp)
asset.export("LRO_NAC_RockDen_00N234E_150cmp", treks_LRO_NAC_RockDen_00N234E_150cmp)
asset.export("LRO_NAC_RockDen_08N332E_2mp", treks_LRO_NAC_RockDen_08N332E_2mp)
asset.export("LRO_NAC_RockDen_06N120E_200cmp", treks_LRO_NAC_RockDen_06N120E_200cmp)
asset.export("LRO_NAC_RockDen_32N292E_2mp", treks_LRO_NAC_RockDen_32N292E_2mp)
asset.export("LRO_NAC_RockDen_10N058E_150cmp", treks_LRO_NAC_RockDen_10N058E_150cmp)
asset.export("LRO_NAC_RockDen_16S041E_150cmp", treks_LRO_NAC_RockDen_16S041E_150cmp)
asset.export("LRO_NAC_RockDen_26S265E_200cmp", treks_LRO_NAC_RockDen_26S265E_200cmp)
asset.export("LRO_NAC_RockDen_53N354E_150cmp", treks_LRO_NAC_RockDen_53N354E_150cmp)
asset.export("LRO_NAC_RockDen_60S200E_150cmp", treks_LRO_NAC_RockDen_60S200E_150cmp)
asset.export("LRO_NAC_RockDen_02S167E_150cmp", treks_LRO_NAC_RockDen_02S167E_150cmp)
asset.export("LRO_NAC_RockDen_20N010E_2mp", treks_LRO_NAC_RockDen_20N010E_2mp)
asset.export("LRO_NAC_RockDen_43S349E_150cmp", treks_LRO_NAC_RockDen_43S349E_150cmp)


asset.meta = {
  Name = [[NASA Treks Layers for Moon LRO_LROC_Rock_Density],
  Version = "1.0",
  Author = "NASA/Treks",
  URL = "https://trek.nasa.gov/moon",
  License = "NASA/Treks",
  Description = [[LRO_LROC_Rock_Density layers from NASA/Treks for Moon]]
}
