1 | <!-- Author Aymeric Spiga LMD --> |
---|
2 | <!DOCTYPE html> |
---|
3 | <html> |
---|
4 | |
---|
5 | <head> |
---|
6 | <meta charset="utf-8" /> |
---|
7 | <title>Mars Climate Database: The Web Interface</title> |
---|
8 | <script language="JavaScript" type="text/JavaScript" src="martian_time.js"></script> |
---|
9 | </head> |
---|
10 | |
---|
11 | <body onload="DefaultDateValues();DefaultTimeValues();Convert2Ls();PlaceValues(0.,0.);DefaultSpaceTime()"> |
---|
12 | |
---|
13 | <form name="calendar" action="./cgi-bin/mcdcgi.py" method="post" target="_blank"> |
---|
14 | <!-- aussi possible: get a la place de post. pour avoir un beau lien --> |
---|
15 | |
---|
16 | <center> |
---|
17 | <b style="font-size: 125%;">Mars Climate Database: The Web Interface</b><br> |
---|
18 | <a href="index.html"><img src="PIA03610_red.jpg" height=80 width=1200></a><br> |
---|
19 | </center> |
---|
20 | |
---|
21 | <table align="center" border="1" width="1200" bgcolor="#F5DEB3"> |
---|
22 | |
---|
23 | <tr> |
---|
24 | <td align="center"> |
---|
25 | <i>Beginners' column (1-click presets)</i> |
---|
26 | </td> |
---|
27 | <td align="center"> |
---|
28 | <i>Regular users' column</i> |
---|
29 | </td> |
---|
30 | <td align="center"> |
---|
31 | <i>Advanced settings and information</i> |
---|
32 | </td> |
---|
33 | </tr> |
---|
34 | <tr><td align="center"></td><td align="center"></td><td align="center"></td></tr> |
---|
35 | <tr> |
---|
36 | <td align="center"> |
---|
37 | <b>1) LANDING DATE</b> |
---|
38 | <input type="radio" name="lander" value="Now!" onClick="DefaultDateValues();DefaultTimeValues();Convert2Ls();PlaceValues(0.0,0.0)" checked>Land now!<br /> |
---|
39 | <input type="radio" name="lander" value="Curiosity" onClick="DateAndTimeValues(2012,8,6,05,17,57);Convert2Ls();PlaceValues(137.4,-4.6)">Curiosity |
---|
40 | <input type="radio" name="lander" value="Phoenix" onClick="DateAndTimeValues(2008,5,25,23,38,23);Convert2Ls();PlaceValues(234.25,68.22)">Phoenix<br /> |
---|
41 | <input type="radio" name="lander" value="Opportunity" onClick="DateAndTimeValues(2004,1,25,4,55,0);Convert2Ls();PlaceValues(354.47,-1.95)">Opportunity |
---|
42 | <input type="radio" name="lander" value="Spirit" onClick="DateAndTimeValues(2004,1,4,4,26,0);Convert2Ls();PlaceValues(175.48,-14.57)">Spirit |
---|
43 | <input type="radio" name="lander" value="Pathfinder" onClick="DateAndTimeValues(1997,7,4,16,56,55);Convert2Ls();PlaceValues(-33.22,19.13)">Pathfinder <br /> |
---|
44 | <input type="radio" name="lander" value="Viking Lander 2" onClick="DateAndTimeValues(1976,9,3,22,58,20);Convert2Ls();PlaceValues(-225.74,47.97)">Viking Lander 2 |
---|
45 | <input type="radio" name="lander" value="Viking Lander 1" onClick="DateAndTimeValues(1976,7,20,11,53,6);Convert2Ls();PlaceValues(-49.97,22.48)">Viking Lander 1<br /> |
---|
46 | </td> |
---|
47 | <td align="center"> |
---|
48 | <input type="radio" name="datekeyhtml" value="1" checked> |
---|
49 | <b><font color="red">MARS date</font></b> |
---|
50 | Solar longitude <input type="text" size="3" name="ls"> degrees<br /> |
---|
51 | Local Time <input type="text" size="3" name="localtime" value="0."> Martian hour<br /> |
---|
52 | <span style="font-size: 80%;">write a value (or) a range val1;val2 (or) 'all'</span><br /> |
---|
53 | <br /> |
---|
54 | <input type="radio" name="datekeyhtml" value="0"> |
---|
55 | <b><font color="blue">EARTH date</font></b> |
---|
56 | YY / MM / DD @ hh:mm:ss<br /> |
---|
57 | <input type="text" size="3" name="year"> / <input type="text" size="1" name="month"> / <input type="text" size="1" name="day"> @ |
---|
58 | <input type="text" size="1" name="hours">:<input type="text" size="1" name="minutes">:<input type="text" size="1" name="seconds"> |
---|
59 | UTC<br /> |
---|
60 | </td> |
---|
61 | <td align="center"> |
---|
62 | If longitude is a free dimension, local time value is<br /> |
---|
63 | <input type="radio" name="isfixedlt" value="off" checked /> at longitude 0 |
---|
64 | <input type="radio" name="isfixedlt" value="on" /> fixed for the whole planet<br /> |
---|
65 | <hr> |
---|
66 | Earth Julian Date <input type="text" size="6" name="julian" readonly="readonly"><br /> |
---|
67 | Mars year <input type="text" size="1" name="martianyear" readonly="readonly"> |
---|
68 | - month <input type="text" size="1" name="martianmonth" readonly="readonly"><span style="font-size: 75%;"> / 12</span> |
---|
69 | - sol <input type="text" size="2" name="sol" readonly="readonly"><span style="font-size: 75%;"> / 669</span><br /> |
---|
70 | <input type="button" value="EARTH DATE >>> MARS DATE" onClick="Convert2Ls();"><br /> |
---|
71 | </td> |
---|
72 | </tr> |
---|
73 | <tr> |
---|
74 | <td align="center"> |
---|
75 | <hr> |
---|
76 | <b>2) TIME</b> |
---|
77 | <input type="radio" name="tata" value="Morning" onClick="PlaceValues2(9.)" checked>Morning |
---|
78 | <input type="radio" name="tata" value="Afternoon" onClick="PlaceValues2(15.)">Afternoon<br /> |
---|
79 | <input type="radio" name="tata" value="Evening" onClick="PlaceValues2(21.)">Evening |
---|
80 | <input type="radio" name="tata" value="Night" onClick="PlaceValues2(3.)">Night<br /> |
---|
81 | <hr> |
---|
82 | <b>3) ALTITUDE</b> |
---|
83 | <input type="radio" name="toto" value="Near surface" onClick="PlaceValues3(2.)" checked>Near-surface<br /> |
---|
84 | <input type="radio" name="toto" value="Boundary layer" onClick="PlaceValues3(1000.)">Boundary layer |
---|
85 | <input type="radio" name="toto" value="Troposphere" onClick="PlaceValues3(10000.)">Troposphere<br/> |
---|
86 | <input type="radio" name="toto" value="Mesophere" onClick="PlaceValues3(80000.)">Mesosphere |
---|
87 | <input type="radio" name="toto" value="Thermosphere" onClick="PlaceValues3(180000.)">Thermosphere<br /> |
---|
88 | <hr> |
---|
89 | </td> |
---|
90 | <td align="center"> |
---|
91 | <b>CUSTOMIZE COORDINATES ON MARS</b><br /> |
---|
92 | <span style="font-size: 80%;">write a value (or) a range val1;val2 (or) 'all'</span><br /> |
---|
93 | <ul> |
---|
94 | <li>Latitude <input type="text" size="7" name="latitude" value="0."> degree North |
---|
95 | <li>Longitude <input type="text" size="7" name="longitude" value="0."> degree East |
---|
96 | <li>Altitude <input type="text" size="9" name="altitude" value="10."> <select name="zkey"> |
---|
97 | <option value="3" selected>m above surface</option> |
---|
98 | <option value="2" >m above "sea level"</option> |
---|
99 | <option value="1" >m from Mars center</option> |
---|
100 | <option value="4" >Pa (pressure level)</option> |
---|
101 | <!-- |
---|
102 | <option value="5" >above 3396 km from Mars center</option> |
---|
103 | --> |
---|
104 | </select> |
---|
105 | </ul> |
---|
106 | </td> |
---|
107 | <td align="center"> |
---|
108 | <ul> |
---|
109 | <li>Dust scenario <select name="dust"> |
---|
110 | <option value="1" >MY24 min solar</option> |
---|
111 | <option value="2" selected>MY24 ave solar</option> |
---|
112 | <option value="3" >MY24 max solar</option> |
---|
113 | <option value="4" >dust storm tau=4 min solar</option> |
---|
114 | <option value="5" >dust storm tau=4 ave solar</option> |
---|
115 | <option value="6" >dust storm tau=4 max solar</option> |
---|
116 | <option value="7" >warm scenario (dusty, max solar)</option> |
---|
117 | <option value="8" >cold scenario (low dust, min solar)</option> |
---|
118 | </select></li> |
---|
119 | <li>Interpolate using MOLA topography <input type="radio" name="hrkey" value="1" checked /> on <input type="radio" name="hrkey" value="0" /> off </li> |
---|
120 | </ul> |
---|
121 | </td> |
---|
122 | </tr> |
---|
123 | <tr> |
---|
124 | <td align="center"> |
---|
125 | <b>4) INTEREST</b> |
---|
126 | <input type="radio" name="yeah" value="Atmosphere" onClick="PlaceVar('t','p','none','none');ChooseColor('jet')" checked>Atmosphere<br /> |
---|
127 | <input type="radio" name="yeah" value="Winds" onClick="PlaceVar('u','v','none','none');ChooseColor('RdBu_r')">Winds |
---|
128 | <input type="radio" name="yeah" value="Weather" onClick="PlaceVar('ps_ddv','rho_ddv','none','none');ChooseColor('RdBu_r')">Weather<br /> |
---|
129 | <input type="radio" name="yeah" value="Water cycle" onClick="PlaceVar('h2ovap','mtot','h2oice','icetot');ChooseColor('Blues')">Water cycle |
---|
130 | <input type="radio" name="yeah" value="Chemistry" onClick="PlaceVar('o3','h2ovap','none','none');ChooseColor('jet')">Chemistry<br /> |
---|
131 | <input type="radio" name="yeah" value="Landing engineering" onClick="PlaceVar('rho','visc','none','none');ChooseColor('YlOrRd')">Landing engineering<br /> |
---|
132 | <input type="radio" name="yeah" value="Glaciology" onClick="PlaceVar('tsurfmn','tsurfmx','co2ice','icetot');ChooseColor('spectral')">Glaciology |
---|
133 | <input type="radio" name="yeah" value="Surface meteorology" onClick="PlaceVar('ps','tsurf','none','none');ChooseColor('jet')">Surface meteorology<br /> |
---|
134 | <input type="radio" name="yeah" value="Radiative balance" onClick="PlaceVar('lwdown','swdown','lwup','swup');ChooseColor('hot')">Radiative balance<br /> |
---|
135 | </td> |
---|
136 | <td align="center"> |
---|
137 | <b>CUSTOMIZE VARIABLE(S) TO BE DISPLAYED</b><br /> |
---|
138 | <br /> |
---|
139 | Variable 1 <select name="var1"> |
---|
140 | <option value="t" selected>Temperature (K)</option> |
---|
141 | <option value="p" >Pressure (Pa)</option> |
---|
142 | <option value="rho" >Density (kg/m3)</option> |
---|
143 | <option value="u" >W-E wind component (m/s)</option> |
---|
144 | <option value="v" >S-N wind component (m/s)</option> |
---|
145 | <option value="tsurf" >Surface temperature (K)</option> |
---|
146 | <option value="ps" >Surface pressure (Pa)</option> |
---|
147 | <option value="mtot" >Water vapor column (kg/m2)</option> |
---|
148 | <option value="icetot" >Water ice column (kg/m2)</option> |
---|
149 | <option value="h2ovap" >Water vapor vol. mixing ratio (mol/mol)</option> |
---|
150 | <option value="h2oice" >Water ice mixing ratio (mol/mol)</option> |
---|
151 | <option value="ps_ddv" >Surf. pres. day to day variability (Pa)</option> |
---|
152 | <option value="co2ice" >surface CO2 ice layer (kg/m2)</option> |
---|
153 | <option value="cp" >Air heat capacity Cp (J kg-1 K-1)</option> |
---|
154 | <option value="rho_ddv" >density day to day variability (kg/m^3)</option> |
---|
155 | <option value="tsurfmx" >daily max mean surf temperature (K)</option> |
---|
156 | <option value="tsurfmn" >daily min mean surf temperature (K)</option> |
---|
157 | <option value="lwdown" >thermal IR flux to surface (W/m2)</option> |
---|
158 | <option value="swdown" >solar flux to surface (W/m2)</option> |
---|
159 | <option value="lwup" >thermal IR flux to space (W/m2)</option> |
---|
160 | <option value="swup" >solar flux reflected to space (W/m2)</option> |
---|
161 | <option value="o3" >O3 ozone vol. mixing ratio (mol/mol)</option> |
---|
162 | <option value="o" >[O] vol. mixing ratio (mol/mol)</option> |
---|
163 | <option value="co" >[CO] vol. mixing ratio (mol/mol)</option> |
---|
164 | <option value="visc" >Air viscosity estimation (N s m-2)</option> |
---|
165 | </select> |
---|
166 | <br /> |
---|
167 | Variable 2 <select name="var2"> |
---|
168 | <option value="none" >(None)</option> |
---|
169 | <option value="t" >Temperature (K)</option> |
---|
170 | <option value="p" selected>Pressure (Pa)</option> |
---|
171 | <option value="rho" >Density (kg/m3)</option> |
---|
172 | <option value="u" >W-E wind component (m/s)</option> |
---|
173 | <option value="v" >S-N wind component (m/s)</option> |
---|
174 | <option value="tsurf" >Surface temperature (K)</option> |
---|
175 | <option value="ps" >Surface pressure (Pa)</option> |
---|
176 | <option value="mtot" >Water vapor column (kg/m2)</option> |
---|
177 | <option value="icetot" >Water ice column (kg/m2)</option> |
---|
178 | <option value="h2ovap" >Water vapor vol. mixing ratio (mol/mol)</option> |
---|
179 | <option value="h2oice" >Water ice mixing ratio (mol/mol)</option> |
---|
180 | <option value="ps_ddv" >Surf. pres. day to day variability (Pa)</option> |
---|
181 | <option value="co2ice" >surface CO2 ice layer (kg/m2)</option> |
---|
182 | <option value="cp" >Air heat capacity Cp (J kg-1 K-1)</option> |
---|
183 | <option value="rho_ddv" >density day to day variability (kg/m^3)</option> |
---|
184 | <option value="tsurfmx" >daily max mean surf temperature (K)</option> |
---|
185 | <option value="tsurfmn" >daily min mean surf temperature (K)</option> |
---|
186 | <option value="lwdown" >thermal IR flux to surface (W/m2)</option> |
---|
187 | <option value="swdown" >solar flux to surface (W/m2)</option> |
---|
188 | <option value="lwup" >thermal IR flux to space (W/m2)</option> |
---|
189 | <option value="swup" >solar flux reflected to space (W/m2)</option> |
---|
190 | <option value="o3" >O3 ozone vol. mixing ratio (mol/mol)</option> |
---|
191 | <option value="o" >[O] vol. mixing ratio (mol/mol)</option> |
---|
192 | <option value="co" >[CO] vol. mixing ratio (mol/mol)</option> |
---|
193 | <option value="visc" >Air viscosity estimation (N s m-2)</option> |
---|
194 | </select> |
---|
195 | <br /> |
---|
196 | Variable 3 <select name="var3"> |
---|
197 | <option value="none" selected>(None)</option> |
---|
198 | <option value="t" >Temperature (K)</option> |
---|
199 | <option value="p" >Pressure (Pa)</option> |
---|
200 | <option value="rho" >Density (kg/m3)</option> |
---|
201 | <option value="u" >W-E wind component (m/s)</option> |
---|
202 | <option value="v" >S-N wind component (m/s)</option> |
---|
203 | <option value="tsurf" >Surface temperature (K)</option> |
---|
204 | <option value="ps" >Surface pressure (Pa)</option> |
---|
205 | <option value="mtot" >Water vapor column (kg/m2)</option> |
---|
206 | <option value="icetot" >Water ice column (kg/m2)</option> |
---|
207 | <option value="h2ovap" >Water vapor vol. mixing ratio (mol/mol)</option> |
---|
208 | <option value="h2oice" >Water ice mixing ratio (mol/mol)</option> |
---|
209 | <option value="ps_ddv" >Surf. pres. day to day variability (Pa)</option> |
---|
210 | <option value="co2ice" >surface CO2 ice layer (kg/m2)</option> |
---|
211 | <option value="cp" >Air heat capacity Cp (J kg-1 K-1)</option> |
---|
212 | <option value="rho_ddv" >density day to day variability (kg/m^3)</option> |
---|
213 | <option value="tsurfmx" >daily max mean surf temperature (K)</option> |
---|
214 | <option value="tsurfmn" >daily min mean surf temperature (K)</option> |
---|
215 | <option value="lwdown" >thermal IR flux to surface (W/m2)</option> |
---|
216 | <option value="swdown" >solar flux to surface (W/m2)</option> |
---|
217 | <option value="lwup" >thermal IR flux to space (W/m2)</option> |
---|
218 | <option value="swup" >solar flux reflected to space (W/m2)</option> |
---|
219 | <option value="o3" >O3 ozone vol. mixing ratio (mol/mol)</option> |
---|
220 | <option value="o" >[O] vol. mixing ratio (mol/mol)</option> |
---|
221 | <option value="co" >[CO] vol. mixing ratio (mol/mol)</option> |
---|
222 | <option value="visc" >Air viscosity estimation (N s m-2)</option> |
---|
223 | </select> |
---|
224 | <br /> |
---|
225 | Variable 4 <select name="var4"> |
---|
226 | <option value="none" selected>(None)</option> |
---|
227 | <option value="t" >Temperature (K)</option> |
---|
228 | <option value="p" >Pressure (Pa)</option> |
---|
229 | <option value="rho" >Density (kg/m3)</option> |
---|
230 | <option value="u" >W-E wind component (m/s)</option> |
---|
231 | <option value="v" >S-N wind component (m/s)</option> |
---|
232 | <option value="tsurf" >Surface temperature (K)</option> |
---|
233 | <option value="ps" >Surface pressure (Pa)</option> |
---|
234 | <option value="mtot" >Water vapor column (kg/m2)</option> |
---|
235 | <option value="icetot" >Water ice column (kg/m2)</option> |
---|
236 | <option value="h2ovap" >Water vapor vol. mixing ratio (mol/mol)</option> |
---|
237 | <option value="h2oice" >Water ice mixing ratio (mol/mol)</option> |
---|
238 | <option value="ps_ddv" >Surf. pres. day to day variability (Pa)</option> |
---|
239 | <option value="co2ice" >surface CO2 ice layer (kg/m2)</option> |
---|
240 | <option value="cp" >Air heat capacity Cp (J kg-1 K-1)</option> |
---|
241 | <option value="rho_ddv" >density day to day variability (kg/m^3)</option> |
---|
242 | <option value="tsurfmx" >daily max mean surf temperature (K)</option> |
---|
243 | <option value="tsurfmn" >daily min mean surf temperature (K)</option> |
---|
244 | <option value="lwdown" >thermal IR flux to surface (W/m2)</option> |
---|
245 | <option value="swdown" >solar flux to surface (W/m2)</option> |
---|
246 | <option value="lwup" >thermal IR flux to space (W/m2)</option> |
---|
247 | <option value="swup" >solar flux reflected to space (W/m2)</option> |
---|
248 | <option value="o3" >O3 ozone vol. mixing ratio (mol/mol)</option> |
---|
249 | <option value="o" >[O] vol. mixing ratio (mol/mol)</option> |
---|
250 | <option value="co" >[CO] vol. mixing ratio (mol/mol)</option> |
---|
251 | <option value="visc" >Air viscosity estimation (N s m-2)</option> |
---|
252 | </select> |
---|
253 | </td> |
---|
254 | <td align="center"> |
---|
255 | <ul> |
---|
256 | <li> Set picture resolution |
---|
257 | <input type="radio" name="dpi" value="80" checked> medium |
---|
258 | <input type="radio" name="dpi" value="160"> high |
---|
259 | </li> |
---|
260 | <li> Set colormap |
---|
261 | <select name="colorm"> |
---|
262 | <option value="jet" selected>blue green yellow red</option> |
---|
263 | <option value="Greys" >grey</option> |
---|
264 | <option value="Blues" >blue</option> |
---|
265 | <option value="YlOrRd" >yellow orange red</option> |
---|
266 | <option value="spectral" >rainbow</option> |
---|
267 | <option value="hot" >black red yellow</option> |
---|
268 | <option value="RdBu_r" >blue white red</option> |
---|
269 | </select> |
---|
270 | </li> |
---|
271 | <li> Set bounds in 2D plots |
---|
272 | <input type="text" size="2" name="minval"> min |
---|
273 | <input type="text" size="2" name="maxval"> max |
---|
274 | </li> |
---|
275 | <li> Wind vectors in lat/lon plot |
---|
276 | <input type="radio" name="iswind" value="off" checked /> off |
---|
277 | <input type="radio" name="iswind" value="on" /> on</li> |
---|
278 | </li> |
---|
279 | <li> Zonal average in lat/alt plot |
---|
280 | <input type="radio" name="zonmean" value="off" checked /> off |
---|
281 | <input type="radio" name="zonmean" value="on" /> on |
---|
282 | </li> |
---|
283 | </ul> |
---|
284 | </td> |
---|
285 | </tr> |
---|
286 | <tr> |
---|
287 | <td align="center"> |
---|
288 | <input type="button" value="Values" style="font-weight:bold" onClick="submit_form_beginner()"/> |
---|
289 | <input type="button" value="Daily cycle" style="font-weight:bold" onClick="PlaceValues2('all');submit_form_beginner()"/><br /> |
---|
290 | <input type="button" value="Vertical profile" style="font-weight:bold" onClick="PlaceValues3('all');submit_form_beginner()"/> |
---|
291 | <input type="button" value="Global map" style="font-weight:bold" onClick="PlaceValues('all','all');submit_form_beginner()"/><br /> |
---|
292 | </td> |
---|
293 | <td align="center"> |
---|
294 | <input type="button" value="SUBMIT" style="font-weight:bold" onClick="submit_form()"/> |
---|
295 | <input type="button" value="RESET" style="font-weight:bold" onClick="window.open('index.html','_self')"/><br /> |
---|
296 | </td> |
---|
297 | <td align="center"> |
---|
298 | <a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES.<br /> |
---|
299 | Interface written by <a href="http://www.lmd.jussieu.fr/~aslmd/">A. Spiga</a> (LMD) using <a href="http://www.python.org">Python</a>.<br /> |
---|
300 | </td> |
---|
301 | </tr> |
---|
302 | </table> |
---|
303 | </body> |
---|
304 | </html> |
---|
305 | |
---|
306 | <!-- |
---|
307 | <input type="checkbox" name="maths" value="on" /> Maths |
---|
308 | --> |
---|