Changeset 1077 for trunk/UTIL/PYTHON/mcd/proto/cgi-bin/mcdcgi.py
- Timestamp:
- Oct 18, 2013, 6:33:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/mcd/proto/cgi-bin/mcdcgi.py
r1075 r1077 92 92 isloctfree, query.loct, query.locts, query.locte = gethtmlcoord( form.getvalue("localtime"), 0., 24. ) 93 93 isaltfree, query.xz, query.xzs, query.xze = gethtmlcoord( form.getvalue("altitude"), minxz, maxxz) 94 if minxz < 0.1: minxz=0.1 # otherwise bug with values smaller than 0.1m 95 96 94 97 95 98 try: query.datekey = int(form.getvalue("datekeyhtml")) … … 168 171 except: query.max2d = None 169 172 170 try: query.dpi = form.getvalue("dpi") 171 except: query.dpi = 80. 172 if query.dpi == "eps": yeaheps = True ; query.dpi = 300. 173 else: yeaheps = False ; query.dpi = float(query.dpi) 173 try: 174 query.dpi = form.getvalue("dpi") 175 if query.dpi == "eps": yeaheps = True ; query.dpi = 300. 176 else: yeaheps = False ; query.dpi = float(query.dpi) 177 except: 178 query.dpi = 80 179 yeaheps = False 174 180 175 181 # Get variables to plot
Note: See TracChangeset
for help on using the changeset viewer.