1 | |
---|
2 | <!-- Author Aymeric Spiga LMD --> |
---|
3 | |
---|
4 | <!DOCTYPE html> |
---|
5 | <html> |
---|
6 | |
---|
7 | <head> |
---|
8 | <meta charset="utf-8" /> |
---|
9 | <title>MCD. Simple Python interface</title> |
---|
10 | <script language="JavaScript" type="text/JavaScript" src="martian_time.js"></script> |
---|
11 | </head> |
---|
12 | |
---|
13 | <body onload="DefaultDateValues();DefaultTimeValues();Convert2Ls();PlaceValues(0.,0.)"> |
---|
14 | |
---|
15 | <!-- aussi possible: get a la place de post. pour avoir un beau lien --> |
---|
16 | |
---|
17 | <form name="calendar" action="./cgi-bin/mcdcgi.py" method="post"> |
---|
18 | |
---|
19 | <table align="center" border="1" width="1200" bgcolor="#F5DEB3"> |
---|
20 | <tr> |
---|
21 | <td align="center"> |
---|
22 | <b>Step 1 : CHOOSE EARTH TIME</b><br /> |
---|
23 | Year / Month / Day @ hh:mm:ss [UTC time]<br /> |
---|
24 | <input type="text" size="3" name="year"> / <input type="text" size="1" name="month"> / <input type="text" size="1" name="day"> @ |
---|
25 | <input type="text" size="1" name="hours">:<input type="text" size="1" name="minutes">:<input type="text" size="1" name="seconds"><br /> |
---|
26 | <input type="button" value="SAVE CHANGES" onClick="Convert2Ls();" style="font-weight:bold"><br /> |
---|
27 | </td> |
---|
28 | <td align="center"> |
---|
29 | Earth Julian Date <input type="text" size="6" name="julian" readonly="readonly"><br /> |
---|
30 | Martian year <input type="text" size="1" name="martianyear" readonly="readonly"> <br /> |
---|
31 | Martian month <input type="text" size="1" name="martianmonth" readonly="readonly"> / 12<br /> |
---|
32 | Martian sol <input type="text" size="2" name="sol" readonly="readonly"> / 669 |
---|
33 | </td> |
---|
34 | </tr> |
---|
35 | <tr> |
---|
36 | <td align="center"> |
---|
37 | <b>Step 2 : CHOOSE COORDINATES ON MARS</b><br /> |
---|
38 | <ul> |
---|
39 | <li>Latitude |
---|
40 | <input type="radio" name="islatfree" value="0" checked> Value: <input type="text" size="2" name="latitude" value="0."> |
---|
41 | <input type="radio" name="islatfree" value="1"> All [-90 ; 90] |
---|
42 | </li> |
---|
43 | <li>Longitude |
---|
44 | <input type="radio" name="islonfree" value="0" checked> Value: <input type="text" size="2" name="longitude" value="0."> |
---|
45 | <input type="radio" name="islonfree" value="1"> All [-180 ; 180] |
---|
46 | </li> |
---|
47 | <li>Local Time |
---|
48 | <input type="radio" name="isloctfree" value="0" checked> Value: <input type="text" size="2" name="localtime" value="0."> |
---|
49 | <input type="radio" name="isloctfree" value="1"> All [0 ; 24] |
---|
50 | </li> |
---|
51 | <li>Altitude |
---|
52 | <input type="radio" name="isaltfree" value="0" checked> Value: <input type="text" size="2" name="altitude" value="10."> |
---|
53 | <input type="radio" name="isaltfree" value="1"> All [0 ; 100000] km |
---|
54 | </li> |
---|
55 | </ul> |
---|
56 | </td> |
---|
57 | <td align="center"> |
---|
58 | [Advanced settings for well-informed Martians]<br /> |
---|
59 | <ul> |
---|
60 | <li>Force Martian solar longitude to be <input type="text" size="3" name="ls"> degrees</li> |
---|
61 | <li>High resolution topography? <input type="radio" name="hrkey" value="1" checked /> Yes <input type="radio" name="hrkey" value="0" /> No </li> |
---|
62 | <li>Dust scenario? <select name="dust"> |
---|
63 | <option value="1" >MY24 min solar</option> |
---|
64 | <option value="2" selected>MY24 ave solar</option> |
---|
65 | <option value="3" >MY24 max solar</option> |
---|
66 | <option value="4" >dust storm tau=4 min solar</option> |
---|
67 | <option value="5" >dust storm tau=4 ave solar</option> |
---|
68 | <option value="6" >dust storm tau=4 max solar</option> |
---|
69 | <option value="7" >warm scenario (dusty, max solar)</option> |
---|
70 | <option value="8" >cold scenario (low dust, min solar)</option> |
---|
71 | </select></li> |
---|
72 | <li>Presets |
---|
73 | <!--<input type="button" value="Now!" onClick="DefaultDateValues();DefaultTimeValues();Convert2Ls();">--> |
---|
74 | <input type="button" value="Curiosity" onClick="DateAndTimeValues(2012,8,6,00,00,00);Convert2Ls();PlaceValues(137.2,-4.6)"> |
---|
75 | <input type="button" value="Phoenix" onClick="DateAndTimeValues(2008,5,25,23,38,23);Convert2Ls();PlaceValues(234.25,68.22)"> |
---|
76 | <input type="button" value="Opportunity" onClick="DateAndTimeValues(2004,1,25,4,55,0);Convert2Ls();PlaceValues(354.47,-1.95)"> |
---|
77 | <input type="button" value="Spirit" onClick="DateAndTimeValues(2004,1,4,4,26,0);Convert2Ls();PlaceValues(175.48,-14.57)"><br /> |
---|
78 | <input type="button" value="Pathfinder" onClick="DateAndTimeValues(1997,7,4,16,56,55);Convert2Ls();PlaceValues(-33.22,19.13)"> |
---|
79 | <input type="button" value="Viking Lander 2" onClick="DateAndTimeValues(1976,9,3,22,58,20);Convert2Ls();PlaceValues(-225.74,47.97)"> |
---|
80 | <input type="button" value="Viking Lander 1" onClick="DateAndTimeValues(1976,7,20,11,53,6);Convert2Ls();PlaceValues(-49.97,22.48)"> |
---|
81 | </li> |
---|
82 | </ul> |
---|
83 | </td> |
---|
84 | </tr> |
---|
85 | <tr> |
---|
86 | <td align="center"> |
---|
87 | <b>Step 3 : </b> <input type="submit" value="SUBMIT" style="font-weight:bold"/> |
---|
88 | </td> |
---|
89 | <td align="center"> |
---|
90 | Based on the <a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES. |
---|
91 | </td> |
---|
92 | </tr> |
---|
93 | |
---|
94 | |
---|
95 | </table> |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | </body> |
---|
100 | </html> |
---|
101 | |
---|
102 | <!-- |
---|
103 | <form action="/cgi-bin/checkbox.cgi" method="POST" target="_blank"> |
---|
104 | <input type="checkbox" name="maths" value="on" /> Maths |
---|
105 | <input type="checkbox" name="physics" value="on" /> Physics |
---|
106 | <input type="submit" value="Select Subject" /> |
---|
107 | </form> |
---|
108 | --> |
---|