<div dir="ltr">Hello:<div><br></div><div>I am not sure I can help you, but if you could provide a bit more information then maybe I can make a suggestion.</div><div><br></div><div>Is there a reason why you read in all the variables at once, instead of reading a time slice and writing to your nc files one time slice/one-level at a time?</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 23, 2016 at 3:22 AM, 亽小笨蜑■ɑ <span dir="ltr">&lt;<a href="mailto:674057237@qq.com" target="_blank">674057237@qq.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><font face="Times New Roman" size="4" style="background-color:rgb(255,255,255)">Hello:</font></div><div><font face="Times New Roman" size="4" style="background-color:rgb(255,255,255)">      <span style="line-height:24px;text-align:justify">Attached is my script and error,the nc file is wrfout file. when I modified the &quot;</span>ntime&quot; to 240 and &quot;do i=1,nfile-1,1&quot; to &quot;do i=1,1,1&quot; the script is ok. when the ntime is 8760 and the cycle is  &quot;<span style="line-height:19.5px">do i=1,nfile-1,1,&quot; the error information is in the log. It prompt l</span><span style="line-height:1.5">ine 229 in file $NCARG_ROOT/lib/ncarg/<wbr>nclscripts/wrf/WRFUserARW.ncl is </span><span style="line-height:1.5"> &quot;dim4 = dims(nd-4)&quot;, I printVarSummary</span><span style="line-height:1.5">(dims), it is</span></font></div><div><span style="line-height:1.5;background-color:rgb(255,255,255)"><font face="Times New Roman" size="4">  Variable: dims</font></span></div><div><font face="Times New Roman" size="4" style="background-color:rgb(255,255,255)">  Type: long</font></div><div><font face="Times New Roman" size="4" style="background-color:rgb(255,255,255)">  Total Size: 32 bytes</font></div><div><font face="Times New Roman" size="4" style="background-color:rgb(255,255,255)">                 4 values</font></div><div><font face="Times New Roman" size="4" style="background-color:rgb(255,255,255)">  Number of Dimensions: 1</font></div><div><font face="Times New Roman" size="4" style="background-color:rgb(255,255,255)">  Dimensions and sizes:<span class="m_-5709202777358409354Apple-tab-span" style="white-space:pre-wrap">        </span>[4]</font></div><div><font size="4" face="Times New Roman" style="background-color:rgb(255,255,255)">      When I modified the <span style="line-height:1.5">line 226 in file $NCARG_ROOT/lib/ncarg/<wbr>nclscripts/wrf/WRFUserARW.ncl &quot;</span><span style="line-height:1.5">dim4 = 1&quot;</span><span style="line-height:1.5"> to &quot;</span><span style="line-height:1.5">dim4 = 1l</span><span style="line-height:1.5">&quot; the error disappear. </span><span style="line-height:24px;text-align:justify"></span><span style="line-height:24px;text-align:justify">I wonder the reason, so how could I modify the script?</span></font></div><div><span style="line-height:24px;text-align:justify;background-color:rgb(255,255,255)"><font face="Times New Roman" size="4">      </font></span><span style="line-height:24px;text-align:justify"><font size="4" face="Times New Roman" style="background-color:rgb(255,255,255)">I&#39;m looking forward to your reply, thank you very much!</font></span></div><div><br></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div>