Skip to content
Browse files

added LTST for Opportunity

  • Loading branch information...
1 parent 5d1ee2a commit 503e8362599d8807c60c171779df6ec906c216b9 @jtauber committed Aug 16, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 index.html
View
7 index.html
@@ -161,6 +161,11 @@
<h3>Mission Time (HLST)</h3>
<div class="time opportunity_mission"></div>
</div>
+
+ <div class="clock">
+ <h3>Local True Solar Time</h3>
+ <div class="time opportunity_ltst"></div>
+ </div>
</div>
<div class="column">
@@ -450,6 +455,7 @@
var opportunity_sol_date = msd - 46235 - 0.042431;
var opportunity_sol = Math.floor(opportunity_sol_date);
var opportunity_mission = (24 * opportunity_sol_date) % 24;
+ var opportunity_ltst = within_24(opportunity_mission + eot * 24 / 360);
$(".millis").text(add_commas(millis));
$(".jd_ut").text(add_commas(jd_ut.toFixed(5)));
@@ -472,6 +478,7 @@
$(".curiosity_sol").text(curiosity_sol);
$(".opportunity_mission").text(h_to_hms(opportunity_mission));
+ $(".opportunity_ltst").text(h_to_hms(opportunity_ltst));
$(".opportunity_sol").text(opportunity_sol);
}
$(function() {

0 comments on commit 503e836

Please sign in to comment.
Something went wrong with that request. Please try again.