local globeIdentifier = asset.require("../../moon").Moon.Identifier

local layer = {
  Identifier = "ClemUvvis_Utah",
  Name = "Clem Uvvis [Utah]",
  Enabled = asset.enabled,
  FilePath = asset.localResource("clemuvvis_utah.wms"),
  Settings = {
    Gamma = 1.14,
    Multiplier = 1.4
  },
  Description = [[The Clementine Ultraviolet/Visible (UVVIS) Version 2 mosaic is a 
    grayscale data set representing the albedo (brightness of the lunar surface) as 
    measured at the 750 nanometer (nm) wavelength by the UVVIS camera (Lee, et al., 2009). 
    Resolution of this mosaic is 118 meters per pixel (m)]]
}

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

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

asset.export("layer", layer)




asset.meta = {
  Name = "Clem Uvvis [Utah]",
  Version = "1.1",
  Description = [[Moon Clementine UVVIS Global Mosaic 118m v2 map of the Moon. This map 
    is hosted on the OpenSpace server in Utah]],
  Author = "USGS",
  URL = "https://astrogeology.usgs.gov/search/map/Moon/Clementine/UVVIS/Lunar_Clementine_UVVIS_750nm_Global_Mosaic_118m_v2",
  License = "NASA/PDS"
}
