mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-04 10:40:09 -06:00
merge with develop for jenkins build messages
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
MercuryRadius = 2.4397E6;
|
||||
|
||||
return {
|
||||
-- Mercury barycenter module
|
||||
{
|
||||
@@ -22,7 +24,7 @@ return {
|
||||
Body = "MERCURY",
|
||||
Geometry = {
|
||||
Type = "SimpleSphere",
|
||||
Radius = { 2.440, 6 },
|
||||
Radius = {MercuryRadius, 1.0},
|
||||
Segments = 100
|
||||
},
|
||||
Textures = {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
SaturnRadius = 5.8232E7;
|
||||
|
||||
|
||||
return {
|
||||
-- Saturn barycenter module
|
||||
{
|
||||
@@ -23,7 +26,7 @@ return {
|
||||
Body = "SATURN BARYCENTER",
|
||||
Geometry = {
|
||||
Type = "SimpleSphere",
|
||||
Radius = { 5.8232, 7 },
|
||||
Radius = {SaturnRadius, 0},
|
||||
Segments = 100
|
||||
},
|
||||
Textures = {
|
||||
|
||||
33
data/spice/iSWAKernels/openspace_mercury.ti
Normal file
33
data/spice/iSWAKernels/openspace_mercury.ti
Normal file
@@ -0,0 +1,33 @@
|
||||
OpenSpace ecliptic frames:
|
||||
Mercury-centric Solar Ecliptic (MERCURYSE) frame
|
||||
|
||||
These frames are only defined as helper frames for OpenSpace.
|
||||
|
||||
+X is parallel to the geometric planet-sun position vector.
|
||||
|
||||
-Y axis is the normalized component of the planet's orbital vector
|
||||
|
||||
+Z axis is parallel to the cross product of the frame's +X axis
|
||||
and the frame's +Y axis.
|
||||
|
||||
\begindata
|
||||
|
||||
FRAME_MERCURYSE = 4600199
|
||||
FRAME_4600199_NAME = 'MERCURYSE'
|
||||
FRAME_4600199_CLASS = 5
|
||||
FRAME_4600199_CLASS_ID = 4600199
|
||||
FRAME_4600199_CENTER = 199
|
||||
FRAME_4600199_RELATIVE = 'J2000'
|
||||
FRAME_4600199_DEF_STYLE = 'PARAMETERIZED'
|
||||
FRAME_4600199_FAMILY = 'TWO-VECTOR'
|
||||
FRAME_4600199_PRI_AXIS = 'X'
|
||||
FRAME_4600199_PRI_VECTOR_DEF = 'OBSERVER_TARGET_POSITION'
|
||||
FRAME_4600199_PRI_OBSERVER = 'MERCURY'
|
||||
FRAME_4600199_PRI_TARGET = 'SUN'
|
||||
FRAME_4600199_PRI_ABCORR = 'NONE'
|
||||
FRAME_4600199_SEC_AXIS = 'Y'
|
||||
FRAME_4600199_SEC_VECTOR_DEF = 'OBSERVER_TARGET_VELOCITY'
|
||||
FRAME_4600199_SEC_OBSERVER = 'MERCURY'
|
||||
FRAME_4600199_SEC_TARGET = 'SUN'
|
||||
FRAME_4600199_SEC_ABCORR = 'NONE'
|
||||
FRAME_4600199_SEC_FRAME = 'J2000'
|
||||
33
data/spice/iSWAKernels/openspace_saturn.ti
Normal file
33
data/spice/iSWAKernels/openspace_saturn.ti
Normal file
@@ -0,0 +1,33 @@
|
||||
OpenSpace ecliptic frames:
|
||||
Saturn-centric Solar Ecliptic (SATURNSE) frame
|
||||
|
||||
These frames are only defined as helper frames for OpenSpace.
|
||||
|
||||
+X is parallel to the geometric planet-sun position vector.
|
||||
|
||||
-Y axis is the normalized component of the planet's orbital vector
|
||||
|
||||
+Z axis is parallel to the cross product of the frame's +X axis
|
||||
and the frame's +Y axis.
|
||||
|
||||
\begindata
|
||||
|
||||
FRAME_SATURNSE = 4500699
|
||||
FRAME_4500699_NAME = 'SATURNSE'
|
||||
FRAME_4500699_CLASS = 5
|
||||
FRAME_4500699_CLASS_ID = 4500699
|
||||
FRAME_4500699_CENTER = 6
|
||||
FRAME_4500699_RELATIVE = 'J2000'
|
||||
FRAME_4500699_DEF_STYLE = 'PARAMETERIZED'
|
||||
FRAME_4500699_FAMILY = 'TWO-VECTOR'
|
||||
FRAME_4500699_PRI_AXIS = 'X'
|
||||
FRAME_4500699_PRI_VECTOR_DEF = 'OBSERVER_TARGET_POSITION'
|
||||
FRAME_4500699_PRI_OBSERVER = 'SATURN BARYCENTER'
|
||||
FRAME_4500699_PRI_TARGET = 'SUN'
|
||||
FRAME_4500699_PRI_ABCORR = 'NONE'
|
||||
FRAME_4500699_SEC_AXIS = 'Y'
|
||||
FRAME_4500699_SEC_VECTOR_DEF = 'OBSERVER_TARGET_VELOCITY'
|
||||
FRAME_4500699_SEC_OBSERVER = 'SATURN BARYCENTER'
|
||||
FRAME_4500699_SEC_TARGET = 'SUN'
|
||||
FRAME_4500699_SEC_ABCORR = 'NONE'
|
||||
FRAME_4500699_SEC_FRAME = 'J2000'
|
||||
3
data/tasks/default.task
Normal file
3
data/tasks/default.task
Normal file
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
"kameleonmetadatatojson"
|
||||
}
|
||||
59
data/web/kameleondocumentation/main.hbs
Normal file
59
data/web/kameleondocumentation/main.hbs
Normal file
@@ -0,0 +1,59 @@
|
||||
<div id="wrapper">
|
||||
<div id="sidebar-wrapper">
|
||||
<ul class="sidebar-nav">
|
||||
<li class="sidebar-brand">
|
||||
<a href="#">
|
||||
Attributes
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#global">Global</a>
|
||||
</li>
|
||||
{{#each kameleon.variableAttributes}}
|
||||
<li>
|
||||
<a href="#{{urlify @key}}">{{@key}}</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="page-content-wrapper">
|
||||
<div class="container-fluid documentation-container">
|
||||
<h1>OpenSpace Kameleon Documentation</h1>
|
||||
<p>Version: {{version}}</p>
|
||||
<p>CDF File: {{input}}</p>
|
||||
<h2><a href="#global" name="global">Global Attributes</a></h2>
|
||||
{{#each kameleon.globalAttributes}}
|
||||
<div class="documentation-item">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<p>
|
||||
<a href="#{{urlify @key}}" name="{{urlify @key}}">
|
||||
<span class="documentation-key">{{@key}}</span>
|
||||
</a>
|
||||
<p>{{this}}</p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
<h2>Variable Attributes</h2>
|
||||
{{#each kameleon.variableAttributes}}
|
||||
<h3><a href="#{{urlify @key}}" name="{{@key}}">{{@key}}</a></h3>
|
||||
{{#each this}}
|
||||
<div class="documentation-item">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<p>
|
||||
<a href="#{{urlify @key}}" name="{{urlify @key}}">
|
||||
<span class="documentation-key">{{@key}}</span>
|
||||
</a>
|
||||
<p>{{this}}</p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
23
data/web/kameleondocumentation/script.js
Normal file
23
data/web/kameleondocumentation/script.js
Normal file
@@ -0,0 +1,23 @@
|
||||
window.onload = function () {
|
||||
var mainTemplateElement = document.getElementById('mainTemplate');
|
||||
var mainTemplate = Handlebars.compile(mainTemplateElement.innerHTML);
|
||||
|
||||
Handlebars.registerHelper('urlify', function(options, context) {
|
||||
var data = context.data;
|
||||
var identifier = options.replace(" ", "-").toLowerCase();
|
||||
|
||||
while (data = data._parent) {
|
||||
if (data.key !== undefined) {
|
||||
identifier = data.key + "-" + identifier;
|
||||
}
|
||||
}
|
||||
|
||||
return identifier;
|
||||
});
|
||||
|
||||
var dataElement = document.getElementById('data');
|
||||
var data = JSON.parse(dataElement.innerHTML);
|
||||
|
||||
var contents = mainTemplate(data);
|
||||
document.body.innerHTML = contents;
|
||||
}
|
||||
Reference in New Issue
Block a user