-- 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_LOLA_ClrSlope_NPole75N_120m_EQ = {
  Identifier = "LRO_LOLA_ClrSlope_NPole75N_120m_EQ",
  Name = [[LOLA Slope Northpole 120m, Colorized]],
  FilePath = asset.localResource("LOLA_Slope_Northpole_120m/Colorized.vrt"),
  Description = [[This is a colorized map of the original north polar surface slope of the Moon at a resolution of 16 m/pix by 16 m/pix, based on altimetry data acquired by the LOLA instrument. The LOLA Laser 1 and 2 data through mission phase LRO_SM_17 are the source for this data set. The bi-directional slope was calculated from a plane fit to three successive laser shots requiring n=5 to 15 profile returns. Depending on orbital velocity, probability of detection, and spacecraft altitude, the slope baseline may vary from 30 to 120 meters.]]
}

asset.onInitialize(function()
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", treks_LRO_LOLA_ClrSlope_NPole75N_120m_EQ)
end)

asset.onDeinitialize(function()
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", "treks_LRO_LOLA_ClrSlope_NPole75N_120m_EQ")
end)

asset.export("LRO_LOLA_ClrSlope_NPole75N_120m_EQ", treks_LRO_LOLA_ClrSlope_NPole75N_120m_EQ)


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