IPB
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

Mars Clocks, How exactly ...
dmuller
post Sep 15 2008, 03:46 AM
Post #1


Member
***

Group: Members
Posts: 340
Joined: 11-April 08
From: Sydney, Australia
Member No.: 4093



Upon request from someone here at UMSF I have created some quick and dirty Mars Clocks for MER-A,B,PHX at http://www.dmuller.net/mars Trying to verify my results, however, I found that virtually every Mars clock provided on the net gives a different time. So which one is correct?

As for the calculation, the way I understand it, all that is required is:
  1. The Earth UTC time of midnight on the landing spot of the spacecraft (i.e. SOL 0, 00:00:00 - or SOL 1 00:00:00 for the MERs)
  2. Calculating from that base using that 1 Mars second has 1027.49125 Earth milliseconds


I have not found any references to (1), so I trial&error until my results match one of the more official looking Mars clocks. But ... which one is the correct / appropriate one?


--------------------
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
djellison
post Sep 15 2008, 07:45 AM
Post #2


Founder
****

Group: Chairman
Posts: 14457
Joined: 8-February 04
Member No.: 1



The someone was me wink.gif It makes a great replacement for web-clip chunks of different websites I've taken to try and keep on top of things. Mars 24 is all-powerful BUT a resource hog ( seriously - the Mac version gets the fans on my MBP racing!! ).

Only problem is it's online only. If we can nail the local-time issues, package it up for offline use, I know a whole bunch of people who would find it useful smile.gif
Go to the top of the page
 
+Quote Post
dmuller
post Sep 15 2008, 09:05 AM
Post #3


Member
***

Group: Members
Posts: 340
Joined: 11-April 08
From: Sydney, Australia
Member No.: 4093



QUOTE (djellison @ Sep 15 2008, 05:45 PM) *
Only problem is it's online only. If we can nail the local-time issues, package it up for offline use, I know a whole bunch of people who would find it useful smile.gif

No problem, functionality has been built in the script all the time (I forgot to tell about it, though) ... just load it as http://www.dmuller.net/realtime/mars.php?offline=true (same url as for online viewing, just add ?...) and then in your browser choose "Save Page As ... web-page, complete ... and give it a .htm or .html suffix". Let me know if it causes issues, and visit the online version occasionally in case there are updates.

I made a minor change to the Mars Clocks, however, and they now update more frequently than at the previous 1 second interval.

The things with my scripts being based on server time (which requires more programming than having it on browser time) has a long history back to MEX MOI / Beagle2 EDL. I was in some sort of discussion with some ESA IT staff, and they said that their policy (then) was not to have javascripts because anything time based could go haywire if the user's browser time is off ... so I developed a small personal php script (I dont think ESA ever took it rolleyes.gif ) to deal with that, and it still lives on. Needless to say, at that time I did not know about UMSF and its predecessors!

EDIT: I probably should put the download instructions on the website itself, or provide another one-click solution. I'll try working on it tonite ...


--------------------
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 17th December 2024 - 02:42 AM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.