<div dir="ltr"><div><div><div><div><div><div><div>Hi Azizul,<br><br></div>I see the problem now.  The error is coming from the do-loop:<br><br></div>   do i=0,9<br>   ...<br></div>   end do<br><br></div>Previously in the script, you created variables named &quot;a&quot; through &quot;j&quot; as file-variables.  Thus by the time the do-loop is encountered, a file-variable named &quot;i&quot; already exists, and thus can&#39;t be reassigned as an integer.  Make sense?<br></div></div><br>HTH<br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 10, 2014 at 4:38 AM, azizul haque <span dir="ltr">&lt;<a href="mailto:haque.azizul320@yahoo.com" target="_blank">haque.azizul320@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><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:&#39;times new roman&#39;,&#39;new york&#39;,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=""><div style="color:rgb(0,0,0);font-size:13px;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;background-color:transparent;font-style:normal"><span>***</span><span style="font-family:Menlo;font-size:11px">fatal:[&quot;NclVar.c&quot;:1390]:Assignment type mismatch, right hand side can&#39;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:[&quot;Execute.c&quot;: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></div></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">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></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 &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl&quot;</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=&quot;CNRM-CM5&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">  ; modi3=&quot;CESM1-BGC&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">   ;modi4=&quot;CCSM4&quot;</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=&quot;South Asia&quot;</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  = &quot;/Desktop/CMIP5/RCP85/&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">  ;filename = &quot;<a href="http://GPCP_1DD_v1.2_199610-201312.nc" target="_blank">GPCP_1DD_v1.2_199610-201312.nc</a>&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">   ; a      = addfile(dir+filename,&quot;r&quot;)  </div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> ;a=addfile(&quot;/Users/ahaque/Desktop/CMIP5/RCP85/<a href="http://GPCP_1DD_v1.2_199610-201312.nc" target="_blank">GPCP_1DD_v1.2_199610-201312.nc</a>&quot;,&quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"><br></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> ;prec   = a-&gt;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(&quot;/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/HadGEM2-ES/r1i1p1/pr_day_HadGEM2-ES_historical_r1i1p1_18591201-200511_sa.nc&quot;,&quot;r&quot;) </div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr0= a-&gt;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(&quot;/Users/ahaque/Desktop/CMIP5//historical/Daily/historical/CNRM-CM5/r1i1p1/pr_day_CNRM-CM5_historical_r1i1p1_18500101-20051231_sa.nc&quot;,&quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr1= b-&gt;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(&quot;/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/CESM1-BGC/r1i1p1/pr_day_CESM1-BGC_historical_r1i1p1_18500101-20051231_sa.nc&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr2= c-&gt;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 (&quot;/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/NorESM1-M/r1i1p1/pr_day_NorESM1-M_historical_r1i1p1_18500101-20051231_sa.nc&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr3= d-&gt;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 (&quot;/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/GFDL-ESM2M/r1i1p1/pr_day_GFDL-ESM2M_historical_r1i1p1_18610101-20051231_sa.nc&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr4= e-&gt;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 (&quot;//Users/ahaque/Desktop/CMIP5/historical/Daily/historical/GFDL-ESM2G/pr_day_GFDL-ESM2G_historical_r1i1p1_18610101-20051231_sa.nc&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr5= f-&gt;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 (&quot;//Users/ahaque/Desktop/CMIP5/historical/Daily/historical/MIROC-ESM/r1i1p1/pr_day_MIROC-ESM_historical_r1i1p1_18500101-20051231_sa.nc&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr6= g-&gt;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 (&quot;/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/MPI-ESM1-LR/r1i1p1/pr_day_MPI-ESM-LR_historical_r1i1p1_18500101-20051231_sa.nc&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr7= h-&gt;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 (&quot;/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/bcc-csm1-1-m/r1i1p1/<a href="http://pr_day_bcc-csm1-1-m_historical_r1i1p1_18500101-20121231_sa.nc" target="_blank">pr_day_bcc-csm1-1-m_historical_r1i1p1_18500101-20121231_sa.nc</a>&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr8= i-&gt;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 (&quot;/Users/ahaque/Desktop/CMIP5/historical/Daily/historical/<a href="http://GPCP_1DD_v1.2_199610-201312_sa.nc" target="_blank">GPCP_1DD_v1.2_199610-201312_sa.nc</a>&quot;, &quot;r&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"> pr9= j-&gt;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 = (/&quot;HadGEM2-ES&quot;,&quot;CNRM-CM5&quot;,&quot;CESM1-BGC&quot;,&quot;NorESM1-M&quot;,&quot;GFDL-ESM2M&quot;,&quot;GFDL-ESM2G&quot;,&quot;MIROC-ESM&quot;,&quot;MPI-ESM-LR&quot;,&quot;bcc-csm1-1-m&quot;,&quot;GPCP&quot;/)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">pre_mm= (/&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;,&quot;pr(mm/day&quot;/)</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= &quot;mm/day&quot; ;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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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 = &quot;mm/day&quot;</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></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(&quot;x11&quot;,&quot;Smalllat1&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">gsn_define_colormap(wks,&quot;rainbow&quot;)</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"><br></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></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 = &quot;&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">res1@gsnRightString = &quot;&quot;</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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"><br></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 = &quot;ManualLevels&quot;  ; 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 =
 &quot;ExplicitLevels&quot;</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/) ; &quot;mm/day&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"><br></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">;res1@lbOrientation   = &quot;Vertical&quot;      ; 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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">res1@mpLimitMode     = &quot;LatLon&quot; </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       = &quot;LambertConformal&quot;</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 = &quot;postdraw&quot; ; 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 = &quot;GeophysicalAndUSStates&quot;  ;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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">res1@pmTickMarkDisplayMode       = &quot;Always&quot; ; 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=""><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></div></span><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      res1@gsnCenterString = mod_names(i)+&quot;       &quot;+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></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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent"><br></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnLeftString = &quot;HadGEM2-ES: Pr: (&quot;+pr0Dayavg@units+&quot;)&quot;</div><div><div class="h5"><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr0Dayavg@units+&quot;)&quot;      </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 = &quot;CNRM-CM5: Pr: (&quot;+pr1Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr1Dayavg@units+&quot;)&quot;</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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnLeftString = &quot;CESM1-BGC: Pr: (&quot;+pr2Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr2Dayavg@units+&quot;)&quot;</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 = &quot;NorESM1-M: Pr: (&quot;+pr3Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr3Dayavg@units+&quot;)&quot;</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 = &quot;GFDL-ESM2M: Pr: (&quot;+pr4Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr4Dayavg@units+&quot;)&quot;</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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnLeftString = &quot;GFDL-ESM2G: Pr: (&quot;+pr5Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr5Dayavg@units+&quot;)&quot;</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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnLeftString = &quot;MIROC-ESM: Pr: (&quot;+pr6Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr6Dayavg@units+&quot;)&quot;</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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnLeftString = &quot;MPI-ESM1-LR: Pr: (&quot;+pr7Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr7Dayavg@units+&quot;)&quot;</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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnLeftString = &quot;bcc-csm1-1-m: Pr: (&quot;+pr8Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily Mean:(&quot;+pr8Dayavg@units+&quot;)&quot;</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></div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnLeftString = &quot;GPCP: Pr: (&quot;+pr9Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;background-color:transparent">      ;res1@gsnRightString = &quot;Daily
 Mean:(&quot;+pr9Dayavg@units+&quot;)&quot;</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 = &quot;Daily Mean Precipitation by Historical in South Asia from CMIP 5 Models&quot;</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   = &quot;Vertical&quot;      ; 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 = &quot;mm/d&quot; </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></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,&quot;Source: Azizul Haque, NOAA ESRL&quot;,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="h5"> <div><br><br></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 &lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt; wrote:<br> </font> </div>  <br><br> <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&#39;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">&lt;<a rel="nofollow" shape="rect" href="mailto:haque.azizul320@yahoo.com" target="_blank">haque.azizul320@yahoo.com</a>&gt;</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:#000;background-color:#fff;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:[&quot;NclVar.c&quot;:1390]:Assignment type mismatch, right hand side can&#39;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:[&quot;Execute.c&quot;: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 = &quot;HadGEM2-ES: Pr: (&quot;+pr0Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo"> 
     res1@gsnRightString = &quot;Daily Mean:(&quot;+pr0Dayavg@units+&quot;)&quot;</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 = &quot;CNRM-CM5: Pr: (&quot;+pr1Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo"> 
     res1@gsnRightString = &quot;Daily Mean:(&quot;+pr1Dayavg@units+&quot;)&quot;</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 = &quot;CESM1-BGC: Pr:
 (&quot;+pr2Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString = &quot;Daily Mean:(&quot;+pr2Dayavg@units+&quot;)&quot;</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 = &quot;NorESM1-M: Pr: (&quot;+pr3Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString = &quot;Daily Mean:(&quot;+pr3Dayavg@units+&quot;)&quot;</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
 = &quot;GFDL-ESM2M: Pr: (&quot;+pr4Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString = &quot;Daily Mean:(&quot;+pr4Dayavg@units+&quot;)&quot;</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 = &quot;GFDL-ESM2G: Pr: (&quot;+pr5Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString = &quot;Daily Mean:(&quot;+pr5Dayavg@units+&quot;)&quot;</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 = &quot;MIROC-ESM: Pr: (&quot;+pr6Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString = &quot;Daily Mean:(&quot;+pr6Dayavg@units+&quot;)&quot;</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 = &quot;MPI-ESM1-LR: Pr: (&quot;+pr7Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString = &quot;Daily Mean:(&quot;+pr7Dayavg@units+&quot;)&quot;</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 = &quot;bcc-csm1-1-m: Pr: (&quot;+pr8Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString =
 &quot;Daily
 Mean:(&quot;+pr8Dayavg@units+&quot;)&quot;</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 = &quot;GPCP: Pr: (&quot;+pr9Dayavg@units+&quot;)&quot;</div><div style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo">      res1@gsnRightString = &quot;Daily Mean:(&quot;+pr9Dayavg@units+&quot;)&quot;</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" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div> </div></div></div></div></blockquote></div><br></div>