Ignore:
Timestamp:
Oct 18, 2013, 5:24:05 PM (11 years ago)
Author:
aslmd
Message:

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

Location:
trunk/UTIL/PYTHON/mcd/proto
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/mcd/proto/cgi-bin/mcdcgi.py

    r971 r1075  
    145145if badrange:
    146146    errormess = errormess+"<li>One or several coordinate intervals are not... intervals. Set either a real range or an unique value."
     147if 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>."
    147149
    148150# Get how many free dimensions we have
     
    196198else:                  query.zonmean=False
    197199
     200islog = form.getvalue("islog")
     201if islog  == "on": query.islog=True
     202else:              query.islog=False
     203
    198204### now, proceed...
    199205if errormess == "":
    200206
    201207 # 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)
    203209 except: reference = "test"
    204210 if yeaheps:  figname = '../img/'+reference+'.eps'
  • trunk/UTIL/PYTHON/mcd/proto/index4.html

    r971 r1075  
    286286<input type="radio" name="zonmean" value="on"          /> on
    287287</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>
    288292</ul>
    289293</td>
     
    303307<a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES.<br />
    304308Interface 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>).
    305310</td>
    306311</tr>
  • trunk/UTIL/PYTHON/mcd/proto/index5.html

    r1074 r1075  
    389389<input type="radio" name="zonmean" value="on"          /> on
    390390</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>
    391395</ul>
    392396</td>
     
    406410<a href="http://www-mars.lmd.jussieu.fr">Mars Climate Database</a> (c) LMD/OU/IAA/ESA/CNES.<br />
    407411Interface written by <a href="http://www.lmd.jussieu.fr/~aslmd/">A. Spiga</a> (LMD) using Python.<br />
     412Javascript 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>).
    408413</td>
    409414</tr>
Note: See TracChangeset for help on using the changeset viewer.