Changeset 800 for trunk/UTIL/PYTHON/mcd/proto/cgi-bin/mcdcgi.py
- Timestamp:
- Oct 1, 2012, 7:38:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/mcd/proto/cgi-bin/mcdcgi.py
r797 r800 109 109 reference = query.getnameset()+str(var1)+str(var2)+str(var3)+str(var4)+str(iswind)+str(isfixedlt) 110 110 figname = '../img/'+reference+'.png' 111 112 111 testexist = daos.path.isfile(figname) 113 112 … … 126 125 127 126 ### generic building of figure 128 query.htmlplot1d(vartoplot, vertplot=isaltfree,figname=figname)127 query.htmlplot1d(vartoplot,figname=figname) 129 128 #mpl.savefig("img/temp.png",dpi=85,bbox_inches='tight',pad_inches=0.25) 130 129 #Image.open("../img/temp.png").save(figname,'JPEG') … … 138 137 139 138 ### figure 140 zetitle = "MCD v4.3 - Dust scenario "+str(query.dust)+" - Date is "+str(query.xdate) 141 query.htmlmap2d(vartoplot,incwind=iswindlog,fixedlt=input_fixedlt,figname=figname,title=zetitle) 139 query.htmlmap2d(vartoplot,incwind=iswindlog,fixedlt=input_fixedlt,figname=figname) 142 140 #mpl.savefig("img/temp.png",dpi=110,bbox_inches='tight',pad_inches=0.4) 143 141 #Image.open("img/temp.png").save(figname,'JPEG') ##lighter images
Note: See TracChangeset
for help on using the changeset viewer.