<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>I have tried to take all rainfall data
<span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px">for each latitude and longitude point and made 2 dimensions from 3 dimensions. I am getting the following errors.</span></div><div><div>fatal:_NclBuildArray: each element of a literal array must have the same dimension sizes, at least one item doesn't</div></div><div><br></div><div>The main code:</div><div><br></div><div><div>f = addfile("<a href="http://bob_vscs.nc">bob_vscs.nc</a>","r")</div><div> ntim =f->time</div><div> nlat =f->latitude</div><div> nlon =f->longitude</div><div> TRMM = f->pcp(:,{0:30},{75:100}) ;TRMM(time 390, latitude 120, longitude 100) </div><div> </div><div> Rain =new((/nlat,nlon/),"float")</div><div> </div><div> do nl=0,nlat-1 </div><div> do ml=0,nlon-1</div><div><span style="white-space:pre"> </span>do nt=0,ntim-1</div><div><span style="white-space:pre"> </span>Rain(nl,ml) = TRMM(nt,nl,ml)</div><div><span style="white-space:pre"> </span>end do</div><div><span style="white-space:pre"> </span> end do<span style="white-space:pre"> </span></div><div> end do</div></div><div> </div><div>Could you help me to solve the problem, please?</div><div><br></div><div>Best Regards,</div><div>Jalal<br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>