Ignore:
Timestamp:
Oct 1, 2012, 7:38:09 PM (12 years ago)
Author:
aslmd
Message:

UTIL PYTHON : mcd interface. handling of all vertical coordinates. added title.

File:
1 edited

Legend:

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

    r797 r800  
    109109reference = query.getnameset()+str(var1)+str(var2)+str(var3)+str(var4)+str(iswind)+str(isfixedlt)
    110110figname = '../img/'+reference+'.png'
    111 
    112111testexist = daos.path.isfile(figname)
    113112
     
    126125
    127126    ### generic building of figure
    128     query.htmlplot1d(vartoplot,vertplot=isaltfree,figname=figname)
     127    query.htmlplot1d(vartoplot,figname=figname)
    129128    #mpl.savefig("img/temp.png",dpi=85,bbox_inches='tight',pad_inches=0.25)
    130129    #Image.open("../img/temp.png").save(figname,'JPEG')
     
    138137
    139138    ### 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)
    142140    #mpl.savefig("img/temp.png",dpi=110,bbox_inches='tight',pad_inches=0.4)
    143141    #Image.open("img/temp.png").save(figname,'JPEG') ##lighter images   
Note: See TracChangeset for help on using the changeset viewer.