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

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

UTIL PYTHON MCDonline. Support for MCD5. Added eps figures. Various other informations added (diapo mode, text file with web arborescence).

File size: 19.1 KB
RevLine 
[639]1<!-- Author Aymeric Spiga LMD -->
2<!DOCTYPE html>
3<html>
4
5<head>
6<meta charset="utf-8" />
[781]7<title>Mars Climate Database: The Web Interface</title>
[639]8<script language="JavaScript" type="text/JavaScript" src="martian_time.js"></script>
9</head>
10
[761]11<body onload="DefaultDateValues();DefaultTimeValues();Convert2Ls();PlaceValues(0.,0.);DefaultSpaceTime()">
[639]12
[821]13<form name="calendar" action="./cgi-bin/mcdcgi.py" method="post" target="_blank"> 
[639]14<!-- aussi possible: get a la place de post. pour avoir un beau lien -->
15
[761]16<center>
[781]17<b style="font-size: 125%;">Mars Climate Database: The Web Interface</b><br>
[812]18<a href="index.html"><img src="PIA03610_red.jpg" height=80 width=1200></a><br>
[761]19</center>
20
[639]21<table align="center" border="1" width="1200" bgcolor="#F5DEB3">
[761]22
[639]23<tr>
24<td align="center">
[761]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">
[805]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 />
[821]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 />
[812]53<br />
[805]54<input type="radio" name="datekeyhtml" value="0">
55<b><font color="blue">EARTH date</font></b> 
56YY / MM / DD @ hh:mm:ss<br />
[639]57<input type="text" size="3" name="year"> / <input type="text" size="1" name="month"> / <input type="text" size="1" name="day"> @
[805]58<input type="text" size="1" name="hours">:<input type="text" size="1" name="minutes">:<input type="text" size="1" name="seconds">
59UTC<br />
[639]60</td>
61<td align="center">
[821]62If longitude is a free dimension, local time value is<br />
[812]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>
[639]66Earth Julian Date <input type="text" size="6" name="julian" readonly="readonly"><br />
[812]67Mars 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 />
[805]70<input type="button" value="EARTH DATE >>> MARS DATE" onClick="Convert2Ls();"><br />
[639]71</td>
72</tr>
73<tr>
74<td align="center">
[761]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/>
[821]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 />
[761]88<hr>
89</td>
90<td align="center">
91<b>CUSTOMIZE COORDINATES ON MARS</b><br />
[821]92<span style="font-size: 80%;">write a value (or) a range val1;val2 (or) 'all'</span><br />
[639]93<ul>
[805]94<li>Latitude <input type="text" size="7" name="latitude" value="0."> degree North
[797]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">
[812]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-->
[797]104</select>
[639]105</ul>
106</td>
107<td align="center">
108<ul>
[827]109<li>Dust scenario <select name="dust">
[859]110<option value="1"         >climatology min solar</option>
111<option value="2" selected>climatology ave solar</option>
112<option value="3"         >climatology 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>
[639]118</select></li>
[827]119<li>Interpolate using MOLA topography <input type="radio" name="hrkey" value="1" checked /> on <input type="radio" name="hrkey" value="0" /> off </li>
[859]120<li> <span style="font-size: 80%;"> Beta-testing (only for developers)
121<input type="radio" name="betatest" value="off" checked /> off
122<input type="radio" name="betatest" value="on"          /> on
123</span>
124</li>
[761]125</ul>
126</td>
127</tr>
128<tr>
129<td align="center">
130<b>4) INTEREST</b>
[821]131<input type="radio" name="yeah" value="Atmosphere" onClick="PlaceVar('t','p','none','none');ChooseColor('jet')" checked>Atmosphere<br />
132<input type="radio" name="yeah" value="Winds" onClick="PlaceVar('u','v','none','none');ChooseColor('RdBu_r')">Winds
133<input type="radio" name="yeah" value="Weather" onClick="PlaceVar('ps_ddv','rho_ddv','none','none');ChooseColor('RdBu_r')">Weather<br />
134<input type="radio" name="yeah" value="Water cycle" onClick="PlaceVar('h2ovap','mtot','h2oice','icetot');ChooseColor('Blues')">Water cycle
135<input type="radio" name="yeah" value="Chemistry" onClick="PlaceVar('o3','h2ovap','none','none');ChooseColor('jet')">Chemistry<br />
136<input type="radio" name="yeah" value="Landing engineering" onClick="PlaceVar('rho','visc','none','none');ChooseColor('YlOrRd')">Landing engineering<br />
137<input type="radio" name="yeah" value="Glaciology" onClick="PlaceVar('tsurfmn','tsurfmx','co2ice','icetot');ChooseColor('spectral')">Glaciology
138<input type="radio" name="yeah" value="Surface meteorology" onClick="PlaceVar('ps','tsurf','none','none');ChooseColor('jet')">Surface meteorology<br />
139<input type="radio" name="yeah" value="Radiative balance" onClick="PlaceVar('lwdown','swdown','lwup','swup');ChooseColor('hot')">Radiative balance<br />
[761]140</td>
141<td align="center">
142<b>CUSTOMIZE VARIABLE(S) TO BE DISPLAYED</b><br />
143<br />
144Variable 1 <select name="var1">
145<option value="t"     selected>Temperature (K)</option>
146<option value="p"             >Pressure (Pa)</option>
147<option value="rho"           >Density (kg/m3)</option>
148<option value="u"             >W-E wind component (m/s)</option>
149<option value="v"             >S-N wind component (m/s)</option>
150<option value="tsurf"         >Surface temperature (K)</option>
151<option value="ps"            >Surface pressure (Pa)</option>
152<option value="mtot"          >Water vapor column (kg/m2)</option>
153<option value="icetot"        >Water ice column (kg/m2)</option>
154<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
155<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
[812]156<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
[761]157<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
158<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
[812]159<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
[761]160<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
161<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
162<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
163<option value="swdown"        >solar flux to surface (W/m2)</option>
164<option value="lwup"          >thermal IR flux to space (W/m2)</option>
165<option value="swup"          >solar flux reflected to space (W/m2)</option>
166<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
167<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
168<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
169<option value="visc"          >Air viscosity estimation (N s m-2)</option>
[859]170<option value="pbl"           >(beta) Convective PBL height (m)</option>
171<option value="stress"        >(beta) Surf. wind stress (Kg/m/s2)</option>
172<option value="ar"            >(beta) Ar vol.mix.rat. (mol/mol)</option>
173<option value="updraft"       >(beta) Max PBL updraft wind (m/s)</option>
174<option value="downdraft"     >(beta) Max PBL downdraft wind (m/s)</option>
175<option value="pblwvar"       >(beta) PBL vert wind variance (m2/s2)</option>
176<option value="pblhvar"       >(beta) PBL eddy vert heat flux (m/s/K)</option>
[761]177</select>
178<br />
179Variable 2 <select name="var2">
180<option value="none"          >(None)</option>
181<option value="t"             >Temperature (K)</option>
182<option value="p"     selected>Pressure (Pa)</option>
183<option value="rho"           >Density (kg/m3)</option>
184<option value="u"             >W-E wind component (m/s)</option>
185<option value="v"             >S-N wind component (m/s)</option>
186<option value="tsurf"         >Surface temperature (K)</option>
187<option value="ps"            >Surface pressure (Pa)</option>
188<option value="mtot"          >Water vapor column (kg/m2)</option>
189<option value="icetot"        >Water ice column (kg/m2)</option>
190<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
191<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
[812]192<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
[761]193<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
194<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
[812]195<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
[761]196<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
197<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
198<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
199<option value="swdown"        >solar flux to surface (W/m2)</option>
200<option value="lwup"          >thermal IR flux to space (W/m2)</option>
201<option value="swup"          >solar flux reflected to space (W/m2)</option>
202<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
203<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
204<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
205<option value="visc"          >Air viscosity estimation (N s m-2)</option>
[859]206<option value="pbl"           >(beta) Convective PBL height (m)</option>
207<option value="stress"        >(beta) Surf. wind stress (Kg/m/s2)</option>
208<option value="ar"            >(beta) Ar vol.mix.rat. (mol/mol)</option>
209<option value="updraft"       >(beta) Max PBL updraft wind (m/s)</option>
210<option value="downdraft"     >(beta) Max PBL downdraft wind (m/s)</option>
211<option value="pblwvar"       >(beta) PBL vert wind variance (m2/s2)</option>
212<option value="pblhvar"       >(beta) PBL eddy vert heat flux (m/s/K)</option>
[761]213</select>
214<br />
215Variable 3 <select name="var3">
216<option value="none"  selected>(None)</option>
217<option value="t"             >Temperature (K)</option>
218<option value="p"             >Pressure (Pa)</option>
219<option value="rho"           >Density (kg/m3)</option>
220<option value="u"             >W-E wind component (m/s)</option>
221<option value="v"             >S-N wind component (m/s)</option>
222<option value="tsurf"         >Surface temperature (K)</option>
223<option value="ps"            >Surface pressure (Pa)</option>
224<option value="mtot"          >Water vapor column (kg/m2)</option>
225<option value="icetot"        >Water ice column (kg/m2)</option>
226<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
227<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
[812]228<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
[761]229<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
230<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
[812]231<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
[761]232<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
233<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
234<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
235<option value="swdown"        >solar flux to surface (W/m2)</option>
236<option value="lwup"          >thermal IR flux to space (W/m2)</option>
237<option value="swup"          >solar flux reflected to space (W/m2)</option>
238<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
239<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
240<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
241<option value="visc"          >Air viscosity estimation (N s m-2)</option>
[859]242<option value="pbl"           >(beta) Convective PBL height (m)</option>
243<option value="stress"        >(beta) Surf. wind stress (Kg/m/s2)</option>
244<option value="ar"            >(beta) Ar vol.mix.rat. (mol/mol)</option>
245<option value="updraft"       >(beta) Max PBL updraft wind (m/s)</option>
246<option value="downdraft"     >(beta) Max PBL downdraft wind (m/s)</option>
247<option value="pblwvar"       >(beta) PBL vert wind variance (m2/s2)</option>
248<option value="pblhvar"       >(beta) PBL eddy vert heat flux (m/s/K)</option>
[761]249</select>
250<br />
251Variable 4 <select name="var4">
252<option value="none"  selected>(None)</option>
253<option value="t"             >Temperature (K)</option>
254<option value="p"             >Pressure (Pa)</option>
255<option value="rho"           >Density (kg/m3)</option>
256<option value="u"             >W-E wind component (m/s)</option>
257<option value="v"             >S-N wind component (m/s)</option>
258<option value="tsurf"         >Surface temperature (K)</option>
259<option value="ps"            >Surface pressure (Pa)</option>
260<option value="mtot"          >Water vapor column (kg/m2)</option>
261<option value="icetot"        >Water ice column (kg/m2)</option>
262<option value="h2ovap"        >Water vapor vol. mixing ratio (mol/mol)</option>
263<option value="h2oice"        >Water ice mixing ratio (mol/mol)</option>
[812]264<option value="ps_ddv"        >Surf. pres. day to day variability (Pa)</option>
[761]265<option value="co2ice"        >surface CO2 ice layer (kg/m2)</option>
266<option value="cp"            >Air heat capacity Cp (J kg-1 K-1)</option>
[812]267<option value="rho_ddv"       >density day to day variability (kg/m^3)</option>
[761]268<option value="tsurfmx"       >daily max mean surf temperature (K)</option>
269<option value="tsurfmn"       >daily min mean surf temperature (K)</option>
270<option value="lwdown"        >thermal IR flux to surface (W/m2)</option>
271<option value="swdown"        >solar flux to surface (W/m2)</option>
272<option value="lwup"          >thermal IR flux to space (W/m2)</option>
273<option value="swup"          >solar flux reflected to space (W/m2)</option>
274<option value="o3"            >O3 ozone vol. mixing ratio (mol/mol)</option>
275<option value="o"             >[O] vol. mixing ratio (mol/mol)</option>
276<option value="co"            >[CO] vol. mixing ratio (mol/mol)</option>
277<option value="visc"          >Air viscosity estimation (N s m-2)</option>
[859]278<option value="pbl"           >(beta) Convective PBL height (m)</option>
279<option value="stress"        >(beta) Surf. wind stress (Kg/m/s2)</option>
280<option value="ar"            >(beta) Ar vol.mix.rat. (mol/mol)</option>
281<option value="updraft"       >(beta) Max PBL updraft wind (m/s)</option>
282<option value="downdraft"     >(beta) Max PBL downdraft wind (m/s)</option>
283<option value="pblwvar"       >(beta) PBL vert wind variance (m2/s2)</option>
284<option value="pblhvar"       >(beta) PBL eddy vert heat flux (m/s/K)</option>
[761]285</select>
286</td>
287<td align="center">
288<ul>
[827]289<li> Set picture resolution
290<input type="radio" name="dpi" value="80" checked> medium
291<input type="radio" name="dpi" value="160"> high
[859]292<input type="radio" name="dpi" value="eps"> eps
[821]293</li>
294<li> Set colormap
295<select name="colorm">
296<option value="jet"       selected>blue green yellow red</option>
297<option value="Greys"             >grey</option>
298<option value="Blues"             >blue</option>
299<option value="YlOrRd"            >yellow orange red</option>
300<option value="spectral"          >rainbow</option>
301<option value="hot"               >black red yellow</option>
302<option value="RdBu_r"            >blue white red</option>
[761]303</select>
[639]304</li>
[827]305<li> Set bounds in 2D plots
306<input type="text" size="2" name="minval"> min
307<input type="text" size="2" name="maxval"> max
[821]308</li>
[827]309<li> Wind vectors in lat/lon plot
310<input type="radio" name="iswind" value="off" checked /> off
311<input type="radio" name="iswind" value="on"          /> on</li> 
312</li>
313<li> Zonal average in lat/alt plot
314<input type="radio" name="zonmean" value="off" checked /> off
315<input type="radio" name="zonmean" value="on"          /> on
316</li>
[639]317</ul>
318</td>
319</tr>
320<tr>
321<td align="center">
[812]322<input type="button" value="Values" style="font-weight:bold" onClick="submit_form_beginner()"/>
323<input type="button" value="Daily cycle" style="font-weight:bold" onClick="PlaceValues2('all');submit_form_beginner()"/><br />
324<input type="button" value="Vertical profile" style="font-weight:bold" onClick="PlaceValues3('all');submit_form_beginner()"/>
325<input type="button" value="Global map" style="font-weight:bold" onClick="PlaceValues('all','all');submit_form_beginner()"/><br />
[639]326</td>
327<td align="center">
[821]328<input type="button" value="SUBMIT" style="font-weight:bold" onClick="submit_form()"/>
[812]329<input type="button" value="RESET" style="font-weight:bold" onClick="window.open('index.html','_self')"/><br />
[639]330</td>
[761]331<td align="center">
332<a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES.<br />
[821]333Interface written by <a href="http://www.lmd.jussieu.fr/~aslmd/">A. Spiga</a> (LMD) using <a href="http://www.python.org">Python</a>.<br />
[761]334</td>
[639]335</tr>
336</table>
337</body>
338</html>
339
340<!--
341<input type="checkbox" name="maths" value="on" /> Maths
342-->
Note: See TracBrowser for help on using the repository browser.