Add two new assets for the two different types

This commit is contained in:
Ylva Selling
2023-02-02 16:30:17 -05:00
parent 47193d7f7f
commit 12398c4b1e
2 changed files with 34 additions and 0 deletions

View File

@@ -4,6 +4,9 @@ local layer = {
StartTime = '2023 01 29 20:00:00',
EndTime = '2023 01 29 21:00:00',
Name = "Test Video",
AnimationMode = "MapToSimulationTime",
Duration = 41.0,
Resolution = { 2048, 1024 },
Enabled = asset.enabled,
Type = "VideoTileLayer",
Description = [[Testing video]]

View File

@@ -0,0 +1,31 @@
local layer = {
Identifier = "TestVideoLoop",
File = "C:/Users/ylvaselling/Documents/Work/Testmovies/black_carbon_sulfate.mp4",
StartTime = '2023 01 29 20:00:00',
EndTime = '2023 01 29 21:00:00',
Name = "Test Video",
AnimationMode = "RealTimeLoop",
Resolution = { 2048, 1024 },
Enabled = asset.enabled,
Type = "VideoTileLayer",
Description = [[Testing video]]
}
asset.onInitialize(function()
openspace.globebrowsing.addLayer("Earth", "ColorLayers", layer)
end)
asset.onDeinitialize(function()
openspace.globebrowsing.deleteLayer("Earth", "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
Name = "Aqua Modis (Temporal)",
Version = "1.1",
Description = "GIBS hosted layer",
Author = "NASA EOSDIS Global Imagery Browse Services",
URL = "https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/gibs",
License = "NASA"
}