source: trunk/UTIL/PYTHON/mcd/proto/index4.html @ 1077

Last change on this file since 1077 was 1075, checked in by aslmd, 11 years ago

UTIL PYTHON. MCD online. previous changes after progress meeting were not committed.

File size: 17.3 KB
Line 
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> 
50Solar longitude <input type="text" size="3" name="ls"> degrees<br />
51Local 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> 
56YY / 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">
59UTC<br />
60</td>
61<td align="center">
62If 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>
66Earth Julian Date <input type="text" size="6" name="julian" readonly="readonly" style="background-color : #F5DEB3;"><br />
67Mars year <input type="text" size="1" name="martianyear" readonly="readonly" style="background-color : #F5DEB3;"> 
68 - month <input type="text" size="1" name="martianmonth" readonly="readonly" style="background-color : #F5DEB3;"><span style="font-size: 75%;"> / 12</span>
69 - sol <input type="text" size="2" name="sol" readonly="readonly" style="background-color : #F5DEB3;"><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 min solar</option>
114<option value="5"         >dust storm ave solar</option>
115<option value="6"         >dust storm max solar</option>
116<option value="7"         >warm (dusty, max solar)</option>
117<option value="8"         >cold (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<li> MCD version
121<input type="radio" name="betatest" value="off" checked /> 4.3
122</span>
123</li>
124</ul>
125</td>
126</tr>
127<tr>
128<td align="center">
129<b>4) INTEREST</b>
130<input type="radio" name="yeah" value="Atmosphere" onClick="PlaceVar('t','p','none','none');ChooseColor('jet')" checked>Atmosphere<br />
131<input type="radio" name="yeah" value="Winds" onClick="PlaceVar('u','v','none','none');ChooseColor('RdBu_r')">Winds
132<input type="radio" name="yeah" value="Weather" onClick="PlaceVar('ps_ddv','rho_ddv','none','none');ChooseColor('RdBu_r')">Weather<br />
133<input type="radio" name="yeah" value="Water cycle" onClick="PlaceVar('h2ovap','mtot','h2oice','icetot');ChooseColor('Blues')">Water cycle
134<input type="radio" name="yeah" value="Chemistry" onClick="PlaceVar('o3','h2ovap','none','none');ChooseColor('jet')">Chemistry<br />
135<input type="radio" name="yeah" value="Landing engineering" onClick="PlaceVar('rho','visc','none','none');ChooseColor('YlOrRd')">Landing engineering<br />
136<input type="radio" name="yeah" value="Glaciology" onClick="PlaceVar('tsurfmn','tsurfmx','co2ice','icetot');ChooseColor('spectral')">Glaciology
137<input type="radio" name="yeah" value="Surface meteorology" onClick="PlaceVar('ps','tsurf','none','none');ChooseColor('jet')">Surface meteorology<br />
138<input type="radio" name="yeah" value="Radiative balance" onClick="PlaceVar('lwdown','swdown','lwup','swup');ChooseColor('hot')">Radiative balance<br />
139</td>
140<td align="center">
141<b>CUSTOMIZE VARIABLE(S) TO BE DISPLAYED</b><br />
142<br />
143Variable 1 <select name="var1">
144<option value="t"     selected>Temperature (K)</option>
145<option value="p"             >Pressure (Pa)</option>
146<option value="rho"           >Density (kg/m3)</option>
147<option value="u"             >W-E wind component (m/s)</option>
148<option value="v"             >S-N wind component (m/s)</option>
149<option value="tsurf"         >Surface temperature (K)</option>
150<option value="ps"            >Surface pressure (Pa)</option>
151<option value="mtot"          >Water vapor column (kg/m2)</option>
152<option value="icetot"        >Water ice column (kg/m2)</option>
153<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
154<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
155<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
156<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
157<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
158<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
159<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
160<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
161<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
162<option value="swdown"        >solar flux to surface (W/m2)</option>
163<option value="lwup"          >thermal IR flux to space (W/m2)</option>
164<option value="swup"          >solar flux reflected to space (W/m2)</option>
165<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
166<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
167<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
168<option value="visc"          >Air viscosity estimation (N s m-2)</option>
169</select>
170<br />
171Variable 2 <select name="var2">
172<option value="none"          >(None)</option>
173<option value="t"             >Temperature (K)</option>
174<option value="p"     selected>Pressure (Pa)</option>
175<option value="rho"           >Density (kg/m3)</option>
176<option value="u"             >W-E wind component (m/s)</option>
177<option value="v"             >S-N wind component (m/s)</option>
178<option value="tsurf"         >Surface temperature (K)</option>
179<option value="ps"            >Surface pressure (Pa)</option>
180<option value="mtot"          >Water vapor column (kg/m2)</option>
181<option value="icetot"        >Water ice column (kg/m2)</option>
182<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
183<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
184<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
185<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
186<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
187<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
188<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
189<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
190<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
191<option value="swdown"        >solar flux to surface (W/m2)</option>
192<option value="lwup"          >thermal IR flux to space (W/m2)</option>
193<option value="swup"          >solar flux reflected to space (W/m2)</option>
194<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
195<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
196<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
197<option value="visc"          >Air viscosity estimation (N s m-2)</option>
198</select>
199<br />
200Variable 3 <select name="var3">
201<option value="none"  selected>(None)</option>
202<option value="t"             >Temperature (K)</option>
203<option value="p"             >Pressure (Pa)</option>
204<option value="rho"           >Density (kg/m3)</option>
205<option value="u"             >W-E wind component (m/s)</option>
206<option value="v"             >S-N wind component (m/s)</option>
207<option value="tsurf"         >Surface temperature (K)</option>
208<option value="ps"            >Surface pressure (Pa)</option>
209<option value="mtot"          >Water vapor column (kg/m2)</option>
210<option value="icetot"        >Water ice column (kg/m2)</option>
211<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
212<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
213<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
214<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
215<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
216<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
217<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
218<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
219<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
220<option value="swdown"        >solar flux to surface (W/m2)</option>
221<option value="lwup"          >thermal IR flux to space (W/m2)</option>
222<option value="swup"          >solar flux reflected to space (W/m2)</option>
223<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
224<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
225<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
226<option value="visc"          >Air viscosity estimation (N s m-2)</option>
227</select>
228<br />
229Variable 4 <select name="var4">
230<option value="none"  selected>(None)</option>
231<option value="t"             >Temperature (K)</option>
232<option value="p"             >Pressure (Pa)</option>
233<option value="rho"           >Density (kg/m3)</option>
234<option value="u"             >W-E wind component (m/s)</option>
235<option value="v"             >S-N wind component (m/s)</option>
236<option value="tsurf"         >Surface temperature (K)</option>
237<option value="ps"            >Surface pressure (Pa)</option>
238<option value="mtot"          >Water vapor column (kg/m2)</option>
239<option value="icetot"        >Water ice column (kg/m2)</option>
240<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
241<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
242<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
243<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
244<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
245<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
246<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
247<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
248<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
249<option value="swdown"        >solar flux to surface (W/m2)</option>
250<option value="lwup"          >thermal IR flux to space (W/m2)</option>
251<option value="swup"          >solar flux reflected to space (W/m2)</option>
252<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
253<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
254<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
255<option value="visc"          >Air viscosity estimation (N s m-2)</option>
256</select>
257</td>
258<td align="center">
259<ul>
260<li> Set picture resolution
261<input type="radio" name="dpi" value="80" checked> medium
262<input type="radio" name="dpi" value="160"> high
263<input type="radio" name="dpi" value="eps"> eps
264</li>
265<li> Set colormap
266<select name="colorm">
267<option value="jet"       selected>blue green yellow red</option>
268<option value="Greys"             >grey</option>
269<option value="Blues"             >blue</option>
270<option value="YlOrRd"            >yellow orange red</option>
271<option value="spectral"          >rainbow</option>
272<option value="hot"               >black red yellow</option>
273<option value="RdBu_r"            >blue white red</option>
274</select>
275</li>
276<li> Set bounds in 2D plots
277<input type="text" size="2" name="minval"> min
278<input type="text" size="2" name="maxval"> max
279</li>
280<li> Wind vectors in lat/lon plot
281<input type="radio" name="iswind" value="off" checked /> off
282<input type="radio" name="iswind" value="on"          /> on</li> 
283</li>
284<li> Zonal average in lat/alt plot
285<input type="radio" name="zonmean" value="off" checked /> off
286<input type="radio" name="zonmean" value="on"          /> on
287</li>
288<li>Log(values) in 1D plots
289<input type="radio" name="islog" value="off" checked /> off
290<input type="radio" name="islog" value="on" /> on
291</li>
292</ul>
293</td>
294</tr>
295<tr>
296<td align="center">
297<input type="button" value="Values" style="font-weight:bold" onClick="submit_form_beginner()"/>
298<input type="button" value="Daily cycle" style="font-weight:bold" onClick="PlaceValues2('all');submit_form_beginner()"/><br />
299<input type="button" value="Vertical profile" style="font-weight:bold" onClick="PlaceValues3('all');submit_form_beginner()"/>
300<input type="button" value="Global map" style="font-weight:bold" onClick="PlaceValues('all','all');submit_form_beginner()"/><br />
301</td>
302<td align="center">
303<input type="button" value="SUBMIT" style="font-weight:bold" onClick="submit_form()"/>
304<input type="button" value="RESET" style="font-weight:bold" onClick="window.open('index.html','_self')"/><br />
305</td>
306<td align="center">
307<a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES.<br />
308Interface written by <a href="http://www.lmd.jussieu.fr/~aslmd/">A. Spiga</a> (LMD) using <a href="http://www.python.org">Python</a>.<br />
309Javascript time conversion by <a href="http://www.lmd.jussieu.fr/~emlmd">E. Millour</a> (<a href="http://www-mars.lmd.jussieu.fr/mars/time/martian_time.html">link</a>).
310</td>
311</tr>
312</table>
313</body>
314</html>
315
316<!--
317<input type="checkbox" name="maths" value="on" /> Maths
318-->
Note: See TracBrowser for help on using the repository browser.