<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);">&nbsp; &nbsp; &nbsp; <span style="line-height: 24px; text-align: justify;">Attached is my script and error,the nc file is wrfout file. when I modified the "</span>ntime" to 240 and "do i=1,nfile-1,1" to "do i=1,1,1" the script is ok. when the ntime is 8760 and the cycle is &nbsp;"<span style="line-height: 19.5px;">do i=1,nfile-1,1," 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/nclscripts/wrf/WRFUserARW.ncl is </span><span style="line-height: 1.5;">&nbsp;"dim4 = dims(nd-4)", 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">&nbsp; Variable: dims</font></span></div><div><font face="Times New Roman" size="4" style="background-color: rgb(255, 255, 255);">&nbsp; Type: long</font></div><div><font face="Times New Roman" size="4" style="background-color: rgb(255, 255, 255);">&nbsp; Total Size: 32 bytes</font></div><div><font face="Times New Roman" size="4" style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4 values</font></div><div><font face="Times New Roman" size="4" style="background-color: rgb(255, 255, 255);">&nbsp; Number of Dimensions: 1</font></div><div><font face="Times New Roman" size="4" style="background-color: rgb(255, 255, 255);">&nbsp; Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[4]</font></div><div><font size="4" face="Times New Roman" style="background-color: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp; When I modified the <span style="line-height: 1.5;">line 226 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl "</span><span style="line-height: 1.5;">dim4 = 1"</span><span style="line-height: 1.5;">&nbsp;to "</span><span style="line-height: 1.5;">dim4 = 1l</span><span style="line-height: 1.5;">" 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">&nbsp; &nbsp; &nbsp; </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'm looking forward to your reply, thank you very much!</font></span></div><div><br></div>