Changeset 1075 for trunk/UTIL/PYTHON/mcd/proto
- Timestamp:
- Oct 18, 2013, 5:24:05 PM (11 years ago)
- Location:
- trunk/UTIL/PYTHON/mcd/proto
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/mcd/proto/cgi-bin/mcdcgi.py
r971 r1075 145 145 if badrange: 146 146 errormess = errormess+"<li>One or several coordinate intervals are not... intervals. Set either a real range or an unique value." 147 if query.xdate == 666.: 148 errormess = "<li>CONGRATULATIONS! <br><img src='../surprise.jpg'><br> You reached secret mode.<br> You can <a href='http://www.youtube.com/watch?v=fTpQOZcNASw'>watch a nice video</a>." 147 149 148 150 # Get how many free dimensions we have … … 196 198 else: query.zonmean=False 197 199 200 islog = form.getvalue("islog") 201 if islog == "on": query.islog=True 202 else: query.islog=False 203 198 204 ### now, proceed... 199 205 if errormess == "": 200 206 201 207 # reference name (to test which figures are already in the database) 202 try: reference = query.getnameset()+str(var1)+str(var2)+str(var3)+str(var4)+str(iswind)+str(isfixedlt)+str(iszonmean)+query.colorm+str(query.min2d)+str(query.max2d)+str(query.dpi) 208 try: reference = query.getnameset()+str(var1)+str(var2)+str(var3)+str(var4)+str(iswind)+str(isfixedlt)+str(iszonmean)+query.colorm+str(query.min2d)+str(query.max2d)+str(query.dpi)+str(islog) 203 209 except: reference = "test" 204 210 if yeaheps: figname = '../img/'+reference+'.eps' -
trunk/UTIL/PYTHON/mcd/proto/index4.html
r971 r1075 286 286 <input type="radio" name="zonmean" value="on" /> on 287 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> 288 292 </ul> 289 293 </td> … … 303 307 <a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES.<br /> 304 308 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 /> 309 Javascript 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>). 305 310 </td> 306 311 </tr> -
trunk/UTIL/PYTHON/mcd/proto/index5.html
r1074 r1075 389 389 <input type="radio" name="zonmean" value="on" /> on 390 390 </li> 391 <li>Log(values) in 1D plots 392 <input type="radio" name="islog" value="off" checked /> off 393 <input type="radio" name="islog" value="on" /> on 394 </li> 391 395 </ul> 392 396 </td> … … 406 410 <a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES.<br /> 407 411 Interface written by <a href="http://www.lmd.jussieu.fr/~aslmd/">A. Spiga</a> (LMD) using Python.<br /> 412 Javascript 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>). 408 413 </td> 409 414 </tr>
Note: See TracChangeset
for help on using the changeset viewer.