Ignore:
Timestamp:
Oct 1, 2012, 8:45:43 AM (12 years ago)
Author:
aslmd
Message:

UTIL PYTHON: mcd interface, a more compact code. and added online handling of various vertical coordinates.

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

Legend:

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

    r796 r797  
    7575try: query.dust = int(form.getvalue("dust"))
    7676except: query.dust  = int(1)
    77 #        self.zkey      = 3  # specify that xz is the altitude above surface (m)
     77try: query.zkey = int(form.getvalue("zkey"))
     78except: query.zkey = int(3)
    7879#        self.perturkey = 0  #integer perturkey ! perturbation type (0: none)
    7980#        self.seedin    = 1  #random number generator seed (unused if perturkey=0)
     
    154155
    155156print header
     157#print query.printset()
     158#print "<br />"
    156159
    157160## Now the part which differs
  • trunk/UTIL/PYTHON/mcd/proto/index.html

    r796 r797  
    9696<td align="center">
    9797<b>CUSTOMIZE COORDINATES ON MARS</b><br />
    98 please give: a value (or) a range val1;val2 (or) 'all'<br />
     98write a value (or) a range val1;val2 (or) 'all'<br />
    9999<ul>
    100 <li>North Latitude <input type="text" size="7" name="latitude" value="0.">
    101 <li>East Longitude <input type="text" size="7" name="longitude" value="0.">
    102 <li>Local Time <input type="text" size="7" name="localtime" value="0.">
    103 <li>Altitude (m) <input type="text" size="7" name="altitude" value="10.">
     100<li>Latitude <input type="text" size="7" name="latitude" value="0."> degree North
     101<li>Longitude <input type="text" size="7" name="longitude" value="0."> degree East
     102<li>Local Time <input type="text" size="7" name="localtime" value="0."> Martian hour
     103<li>Altitude <input type="text" size="9" name="altitude" value="10."> <select name="zkey">
     104<option value="1"         >m (O: Mars center)</option>
     105<option value="2"         >m (O: "sea level")</option>
     106<option value="3" selected>m (O: surface)</option>
     107<option value="4"         >Pa (pressure)</option>
     108<option value="5"         >m (O: 3396 km)</option>
     109</select>
    104110<!--
    105111<li>Latitude   
Note: See TracChangeset for help on using the changeset viewer.