<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span>Hi Rick,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Thanks. I did accordingly. Its work. However, the page(x11 windows, PDF or png) is empty. I mean reading is ok but I cannot see any visualization. I really do not know the problem is going on.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Please guide me.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px;
font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Regards</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Azizul</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Wednesday, September 10, 2014 9:16 AM, Rick Brownrigg <brownrig@ucar.edu> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv1929880468"><div><div dir="ltr"><div><div><div><div><div><div><div>Hi Azizul,<br clear="none"><br clear="none"></div>I see the problem
now. The error is coming from the do-loop:<br clear="none"><br clear="none"></div> do i=0,9<br clear="none"> ...<br clear="none"></div> end do<br clear="none"><br clear="none"></div>Previously in the script, you created variables named "a" through "j" as file-variables. Thus by the time the do-loop is encountered, a file-variable named "i" already exists, and thus can't be reassigned as an integer. Make sense?<br clear="none"></div></div><br clear="none">HTH<br clear="none"></div>Rick<br clear="none"></div><div class="yiv1929880468yqt1023827516" id="yiv1929880468yqt90118"><div class="yiv1929880468gmail_extra"><br clear="none"><div class="yiv1929880468gmail_quote">On Wed, Sep 10, 2014 at 4:38 AM, azizul haque <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:haque.azizul320@yahoo.com" target="_blank" href="mailto:haque.azizul320@yahoo.com">haque.azizul320@yahoo.com</a>></span>
wrote:<br clear="none"><blockquote class="yiv1929880468gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"><div><span>Hi Rick,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Thanks for your reply. I am still having same problem in runing following script and getting error include</span></div><span class="yiv1929880468"></span><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>***</span><span style="font-family: Menlo; font-size: 11px;">fatal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type
of left hand side</span></div>
<div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">fatal:["Execute.c":8567]:Execute: Error occurred at or near line 199 in file cmipdaily5sa.ncl****</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Script is follows for you kind looking up</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Load Libraries::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px;
font-family: Menlo; background-color: transparent;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">begin</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;
modi1=”GPCP”</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ; modi2="CNRM-CM5"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ; modi3="CESM1-BGC"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;modi4="CCSM4"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ; timi=”1850-2005”</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ; region="South Asia"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;::::Open file and read data</div><div style="margin-top:
0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ; dir = "/Desktop/CMIP5/RCP85/"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;filename = "<a rel="nofollow" shape="rect" target="_blank" href="http://gpcp_1dd_v1.2_199610-201312.nc/">GPCP_1DD_v1.2_199610-201312.nc</a>"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ; a = addfile(dir+filename,"r") </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;a=addfile("/Users/ahaque/Desktop/CMIP5/RCP85/<a rel="nofollow" shape="rect" target="_blank" href="http://gpcp_1dd_v1.2_199610-201312.nc/">GPCP_1DD_v1.2_199610-201312.nc</a>","r")</div><div style="margin-top: 0px;
margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;prec = a->PREC ; dimensions and size ; 6301x180x360 ; timexlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> a =addfile("/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/HadGEM2-ES/r1i1p1/pr_day_HadGEM2-ES_historical_r1i1p1_18591201-200511_sa.nc","r") </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr0= a->pr ;dimensions and size; 105120x43x55 ;time xlatxlon </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> b=addfile("/Users/ahaque/Desktop/CMIP5//historical/Daily/historical/CNRM-CM5/r1i1p1/pr_day_CNRM-CM5_historical_r1i1p1_18500101-20051231_sa.nc","r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr1= b->pr ;dimensions and size;56978x43x55 ;timexlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> c=addfile("/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/CESM1-BGC/r1i1p1/pr_day_CESM1-BGC_historical_r1i1p1_18500101-20051231_sa.nc", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr2= c->pr ;dimensions and size;56940x43x55 ;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> d=addfile ("/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/NorESM1-M/r1i1p1/pr_day_NorESM1-M_historical_r1i1p1_18500101-20051231_sa.nc", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr3= d->pr;dimensions and size; 56940x43x55 ;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> e=addfile ("/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/GFDL-ESM2M/r1i1p1/pr_day_GFDL-ESM2M_historical_r1i1p1_18610101-20051231_sa.nc", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr4= e->pr;dimensions and size; 56940x43x55 ;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> f=addfile ("//Users/ahaque/Desktop/CMIP5/historical/Daily/historical/GFDL-ESM2G/pr_day_GFDL-ESM2G_historical_r1i1p1_18610101-20051231_sa.nc", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr5= f->pr;dimensions and size; 56940x43x55 ;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> g=addfile ("//Users/ahaque/Desktop/CMIP5/historical/Daily/historical/MIROC-ESM/r1i1p1/pr_day_MIROC-ESM_historical_r1i1p1_18500101-20051231_sa.nc", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr6= g->pr;dimensions and size; 56940x43x55 ;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> h=addfile ("/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/MPI-ESM1-LR/r1i1p1/pr_day_MPI-ESM-LR_historical_r1i1p1_18500101-20051231_sa.nc", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr7= h->pr;dimensions and size; 56940x43x55 ;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> i=addfile ("/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/bcc-csm1-1-m/r1i1p1/<a rel="nofollow" shape="rect" target="_blank" href="http://pr_day_bcc-csm1-1-m_historical_r1i1p1_18500101-20121231_sa.nc/">pr_day_bcc-csm1-1-m_historical_r1i1p1_18500101-20121231_sa.nc</a>", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr8= i->pr;dimensions and size; 56940x43x55
;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> j=addfile ("/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/<a rel="nofollow" shape="rect" target="_blank" href="http://gpcp_1dd_v1.2_199610-201312_sa.nc/">GPCP_1DD_v1.2_199610-201312_sa.nc</a>", "r")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr9= j->PREC;dimensions and size; 56940x43x55 ;time xlatxlon</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">mod_names =
(/"HadGEM2-ES","CNRM-CM5","CESM1-BGC","NorESM1-M","GFDL-ESM2M","GFDL-ESM2G","MIROC-ESM","MPI-ESM-LR","bcc-csm1-1-m","GPCP"/)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">pre_mm= (/"pr(mm/day","pr(mm/day","pr(mm/day","pr(mm/day","pr(mm/day","pr(mm/day","pr(mm/day","pr(mm/day","pr(mm/day","pr(mm/day"/)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;:::: Convert units kg/(m2-s) to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> ;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr0=pr0*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr0@units= "mm/day" ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr0)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr0,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;">;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr1 =
pr1*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr1@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr1,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr2 =
pr2*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr2@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr2)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr2,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr3 = pr3*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">
pr3@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr3)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr3,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr4 = pr4*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr4@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> printVarSummary(pr4)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr4,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr5 = pr5*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr5@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr5)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;
background-color: transparent;"> printMinMax(pr5,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr6 = pr6*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr6@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">
printVarSummary(pr6)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr6,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr7 = pr7*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr7@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr7)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> printMinMax(pr7,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr8 = pr8*86400.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr8@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr8)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">
printMinMax(pr8,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Convert units kg/(m2-s) ;to mm/day;</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr9 = pr9*1.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr9@units = "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr9)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr9,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;">;::::Compute daily long term mean </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr0Dayavg=dim_avg_n_Wrap(pr0,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr0Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr0Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">
pr1Dayavg=dim_avg_n_Wrap(pr1,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr1Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr1Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr2Dayavg=dim_avg_n_Wrap(pr2,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr2Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px;
font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr2Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr3Dayavg=dim_avg_n_Wrap(pr3,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr3Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr3Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div
style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr4Dayavg=dim_avg_n_Wrap(pr4,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr4Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr4Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">
pr5Dayavg=dim_avg_n_Wrap(pr5,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr5Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr5Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr6Dayavg=dim_avg_n_Wrap(pr6,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr6Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px;
font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr6Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr7Dayavg=dim_avg_n_Wrap(pr7,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr7Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr7Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div
style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> pr8Dayavg=dim_avg_n_Wrap(pr8,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr8Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr8Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::Compute daily long term mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">
pr9Dayavg=dim_avg_n_Wrap(pr9,0); daily mean</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printVarSummary(pr9Dayavg)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> printMinMax(pr9Dayavg,1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;:::Setting resources for
Plotting </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">wks = gsn_open_wks("x11","Smalllat1")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">gsn_define_colormap(wks,"rainbow")</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1 = True ; Variable to hold plot options</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family:
Menlo; background-color: transparent;">res1@gsnMaximize = True ; Maximize plot in frame.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@gsnSpreadColors = True ; Span full color map </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@gsnLeftString = ""</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@gsnRightString = ""</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@gsnMajorLonSpacing = 10 ;labeling lat and lon spacing on
the map</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@gsnMajorLatSpacing = 10</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@gsnAddCyclic = False</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@gsnDraw = False ; do not draw the plot</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@gsnFrame = False ; do not advance the frame </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br
clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@cnLinesOn = False ; turn off contour line color</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@cnLineLabelsOn = False</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@cnFillOn = True ; Contour fill on</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@cnLevelSelectionMode = "ManualLevels" ; manual contour
levels</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@cnMinLevelValF = 5.0 ; min level</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@cnMaxLevelValF = 100.0 ; max level</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@cnLevelSpacingF = 5 ; interval</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@cnLevelSelectionMode =
"ExplicitLevels"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@cnLevels = (/0.1,1,2.5,5,10,15,20,25,50,75/) ; "mm/day"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@lbOrientation = "Vertical" ; Move labelbar to side</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@lbLableBarFontHeightF=0.01</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@lbLableBarOrthogonalposF=-0.030</div><div style="margin-top: 0px; margin-bottom: 0px;
font-size: 11px; font-family: Menlo; background-color: transparent;">res1@lbLabelBarOn = False ; added procedure to do a single label bar for the panel</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@mpLimitMode = "LatLon" </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@mpMinLatF = 20 ;min(lat2d)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@mpMaxLatF = 35
;max(lat2d)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@mpMinLonF = 70 ;min(lon2d)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@mpMaxLonF = 90 ;max(lon2d)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@mpProjection = "LambertConformal"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@mpLambertMeridianF = 0.5*res1@mpMinLonF + 0.5*res1@mpMaxLonF</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@mpLambertParallel1F =
0.7*res1@mpMinLatF + 0.3*res1@mpMaxLatF</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@mpLambertParallel2F = 0.3*res1@mpMinLatF + 0.7*res1@mpMaxLatF</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@mpOutlineDrawOrder = "postdraw" ; predraw, draw, postdraw </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@mpUSStateLineDashPattern = 4 </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@mpOutlineBoundarySets = "GeophysicalAndUSStates" ;turn on state boundaries </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;">;res1@mpLabelsOn = True</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">res1@pmTickMarkDisplayMode = "Always" ; turn on tick marks </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@tmXBLabelsOnF = True ; do not draw bottom labels </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@tmYRLabelsOn = False ; no right labels </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@tmYLLabelsOnF
= True ; yes left labels </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@tmXBOnF = True ; yes bottom tickmarks </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@tmXTOn = False </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@tmYLOnF = True </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@tmYROnF = True </div><div
style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@vpWidthF = 1.80 ; plot width</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;res1@vpHeightF= 0.50 ; plot height</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: </div><span class="yiv1929880468"></span><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px;
font-family: Menlo; background-color: transparent;">;plotting procedure</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> plot = new(10,graphic)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> do i=0,9</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> res1@gsnCenterString = mod_names(i)+" "+pre_mm(i)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> res1@gsnCenterStringFontHeightF = 0.022 </div><div style="margin-top: 0px; margin-bottom: 0px;
font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> plot(i) = gsn_csm_contour_map(wks,t(i,:,:),res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">end do</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "HadGEM2-ES: Pr: ("+pr0Dayavg@units+")"</div><div><div class="yiv1929880468h5"><div style="margin-top: 0px;
margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr0Dayavg@units+")" </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftStringFontHeightF = 0.010 </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightStringFontHeightF = 0.010</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(0) = gsn_csm_contour_map(wks,pr0Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> </div><div style="margin-top: 0px; margin-bottom: 0px;
font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "CNRM-CM5: Pr: ("+pr1Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr1Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(1) = gsn_csm_contour_map(wks,pr1Dayavg,res1) </div><div style="margin-top: 0px;
margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "CESM1-BGC: Pr: ("+pr2Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr2Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family:
Menlo; background-color: transparent;"> ;plot(2) = gsn_csm_contour_map(wks,pr2Dayavg,res1) </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "NorESM1-M: Pr: ("+pr3Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr3Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(3) = gsn_csm_contour_map(wks,pr3Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "GFDL-ESM2M: Pr: ("+pr4Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr4Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(4) = gsn_csm_contour_map(wks,pr4Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "GFDL-ESM2G: Pr:
("+pr5Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr5Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(5) = gsn_csm_contour_map(wks,pr5Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "MIROC-ESM: Pr: ("+pr6Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily
Mean:("+pr6Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(6) = gsn_csm_contour_map(wks,pr6Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "MPI-ESM1-LR: Pr: ("+pr7Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr7Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(7) =
gsn_csm_contour_map(wks,pr7Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "bcc-csm1-1-m: Pr: ("+pr8Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily Mean:("+pr8Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(8) = gsn_csm_contour_map(wks,pr8Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px;
margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnLeftString = "GPCP: Pr: ("+pr9Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;res1@gsnRightString = "Daily
Mean:("+pr9Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;plot(9) = gsn_csm_contour_map(wks,pr9Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;end do</div></div></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">; panelling </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color:
transparent;"> resP = True </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@txString = "Daily Mean Precipitation by Historical in South Asia from CMIP 5 Models"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@gsnFrame= True</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@txFontHeightF = 0.0125</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@gsnPanelLabelBar = True ; add common colorbar</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@lbOrientation = "Vertical" ; Move labelbar to
side</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@gsnMaximize = True ; maximize plots</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@lbTitleString = "mm/d" </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;resP@lbTitleFontHeightF = 0.15</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;resP@lbTitleOffsetF = 0.08</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@lbLabelAutoStride = True</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px;
font-family: Menlo; background-color: transparent;"> resP@lbLabelFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> resP@lbBoxLinesOn = False</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;resP@lbBoxMinorExtentF = 0.7</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;resP@pmLabelBarWidthF = 0.5</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;resP@pmLabelBarOrthogonalPosF = -0.05</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> ;resP@pmLabelBarParallelPosF = 0.6,5/),resP) ; not draw as one plot</div><div style="margin-top: 0px;
margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> txres =True</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> txres@gsnFrame= False ; do not advance the frame</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> txres@txFontHeightF = 0.0321</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">
gsn_text_ndc(wks,"Source: Azizul Haque, NOAA ESRL",087,024, txres)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;"> frame(wks)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; background-color: transparent;">end</div><div><div class="yiv1929880468h5"> <div><br clear="none"><br clear="none"></div><div style="display:block;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial"> On Tuesday, September 9, 2014 6:25 AM, Rick Brownrigg <<a rel="nofollow" shape="rect" ymailto="mailto:brownrig@ucar.edu" target="_blank" href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>> wrote:<br clear="none"> </font> </div> <br clear="none"><br
clear="none"> <div><div><div><div dir="ltr"><div>Hi,<br clear="none"><br clear="none">Its almost impossible to say with certainty, as we have no idea what line 199 corresponds to in your script fragment. However as a general comment, you have a do-loop and within that are explicitly making the same 10 plots on each iteration. I can't recall offhand if one can re-assign a plot variable without first deleting its previous value.<br clear="none"><br clear="none"></div>Rick<br clear="none"><br clear="none"></div><div><br clear="none"><div>On Tue, Sep 9, 2014 at 1:42 AM, azizul haque <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:haque.azizul320@yahoo.com" target="_blank" href="mailto:haque.azizul320@yahoo.com">haque.azizul320@yahoo.com</a>></span> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"><div>Hi All,</div><div>I am plotting 10 plots from CMIP5(5/2). dat reading is fine and during visualization it shows following error message. </div><div>****<span style="font-family: Menlo; font-size: 11px;">fatal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side</span></div>
<div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">fatal:["Execute.c":8567]:Execute: Error occurred at or near line 199 in file cmipdaily5sa.ncl************</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">You can find a parts of the script at the line 199</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">;plotting procedure</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot = new(10,graphic)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> do i=0,9</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "HadGEM2-ES: Pr: ("+pr0Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">
res1@gsnRightString = "Daily Mean:("+pr0Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftStringFontHeightF = 0.010</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightStringFontHeightF = 0.010</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(0) = gsn_csm_contour_map(wks,pr0Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "CNRM-CM5: Pr: ("+pr1Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">
res1@gsnRightString = "Daily Mean:("+pr1Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> ;res1@gsnLeftStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> ;res1@gsnRightStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(1) = gsn_csm_contour_map(wks,pr1Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "CESM1-BGC: Pr:
("+pr2Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString = "Daily Mean:("+pr2Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> ;res1@gsnLeftStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> ;res1@gsnRightStringFontHeightF = 0.015</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">
</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(2) = gsn_csm_contour_map(wks,pr2Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">res1@gsnLeftString = "NorESM1-M: Pr: ("+pr3Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString = "Daily Mean:("+pr3Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(3) = gsn_csm_contour_map(wks,pr3Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString
= "GFDL-ESM2M: Pr: ("+pr4Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString = "Daily Mean:("+pr4Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(4) = gsn_csm_contour_map(wks,pr4Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "GFDL-ESM2G: Pr: ("+pr5Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString = "Daily Mean:("+pr5Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(5)
= gsn_csm_contour_map(wks,pr5Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "MIROC-ESM: Pr: ("+pr6Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString = "Daily Mean:("+pr6Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(6) = gsn_csm_contour_map(wks,pr6Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "MPI-ESM1-LR: Pr:
("+pr7Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString = "Daily Mean:("+pr7Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(7) = gsn_csm_contour_map(wks,pr7Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "bcc-csm1-1-m: Pr: ("+pr8Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString =
"Daily
Mean:("+pr8Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">
</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(8) = gsn_csm_contour_map(wks,pr8Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> </div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnLeftString = "GPCP: Pr: ("+pr9Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> res1@gsnRightString = "Daily Mean:("+pr9Dayavg@units+")"</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> plot(9) = gsn_csm_contour_map(wks,pr9Dayavg,res1)</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;">
</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"> end do</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo;"><br clear="none"></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Your suggestion are highly appreciated.</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Regards</div><span><font color="#888888"></font></span><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; font-family: Menlo; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">azizul</div><div><br clear="none"></div><div><br clear="none"></div></div></div></div><br clear="none">_______________________________________________<br
clear="none">
ncl-talk mailing list<br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div> </div></div></div></div></blockquote></div><br clear="none"></div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>