-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
119 lines (83 loc) · 4.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<html>
<head>
<meta name="author" content="Mathijs Koymans">
<link rel="stylesheet" href="./css/index.css">
<title>Gravity Solver</title>
</head>
<body>
<div style="text-align: center;">
<a href="https://knmi.nl"><img src="./png/knmi.png"></a>
</div>
<br>
<div class="body">
<div class="options">
<div class="options-child">
<input id="load-file" type="file">
<label for="load-file" class="custom-file-upload">
Select File
</label>
<select id="file-type">
<option value="default">Default</option>
<option value="CG5">CG-5</option>
<option value="CG5GPS">CG-5 (GPS)</option>
<option value="CG6">CG-6</option>
<option value="Jeanne">Jeanne</option>
</select>
<p>
Example files: <a href="./examples/example-CG5.txt">CG5</a>, <a href="./examples/example-CG6.txt">CG6</a>, <a href="./examples/example-default.txt">default</a>, <span id="demo"><a href="#">load demo</a></span>.
</div>
<div class="options-child">
Anchor:
<select id="select-anchor" title="Select an anchor for the values to be expressed to."></select>
<hr>
Drift Order:
<select id="inversion-order" title="Polynomial order of the instrumental drift (linear = 1)">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</div>
<div class="options-child">
</div>
<div class="options-child">
<input type="checkbox" id="remove-drift"><label for="remove-drift" title="Subtract drift from the inversion results to center around zero.">Subtract Drift</label>
<hr>
<input type="checkbox" id="uncertainty-bars"><label for="uncertainty-bars" title="Show uncerainty bars on microgravity inversion results.">Confidence Intervals</label>
</div>
<div class="options-child">
<input type="checkbox" id="correct-tide"><label for="correct-tide" title="Apply the solid Earth correction if available.">Correct Tide</label>
<hr>
<input type="checkbox" id="use-ols"><label for="use-ols" title="Use unit weight for the WLS (OLS).">Unit Weight</label>
</div>
<div class="options-child">
<input type="checkbox" id="tare-enabled"><label for="tare-enabled" title="Enable a tare (degree of freedom) after a particular measurement index.">Tare Offset</label> <input type="text" id="tare" size="4">
</div>
</div>
<div id="information">
<br>
<hr>
Select browse to load a data file.
</div>
<div id="graphs">
<br>
<hr>
<p> <b> Figure 1) </b> - Raw microgravity occupations from the campaign are shown below. The individual points can be clicked to toggle them on & off.
<div id="container-raw" style="width: 90%; margin: auto;"></div>
<p> <b> Figure 2) </b> - A weighted least squares inversion is applied to the data. No corrections are applied to the data: the microgravity values are taken as is from the input. The effective gravity benchmarks between the anchor <b><span id="anchor"></span></b> and bencharks has been removed. Solutions can be exported by clicking the exporting button in the top-right corner of the graph. The order of the drift can be changed and subtracted from the data to center around zero. An optional data tare beyond a particular sample can be enabled in the top menu.
<div id="container-solved" style="width: 90%; margin: auto;"></div>
<hr>
<div class="footer">
<small>Copyright Mathijs Koymans, 2022 - <a href="https://github.com/Jollyfant/g-campaign-solve-js">GitHub</a> - <span id="footer-info"></span></small>
</div>
</div>
</div>
</body>
<script src="js/lib/highcharts.min.js"></script>
<script src="js/lib/highcharts-more.min.js"></script>
<script src="js/lib/exporting.min.js"></script>
<script src="js/lib/offline-exporting.min.js"></script>
<script src="js/lib/chroma.min.js"></script>
<!-- optional -->
<script src="js/lib/mathjs.min.js"></script>
<script src="js/index.js"></script>
</html>