source: trunk/UTIL/PYTHON/mcd/proto/index.html @ 805

Last change on this file since 805 was 805, checked in by aslmd, 12 years ago

UTIL PYTHON mcd online. improved interface for time (earth and mars). improved titles.

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