<div dir="ltr"><div><div>Hi Gaurav,<br><br></div>The error means that you are assigning one array to another when they don't have the same number of dimensions.<br></div><div><br>Sample code that causes the error: <br> x = random_uniform(-10,10,(/3,2,2/)) ; x is 3 x 2 x 2<br> y = random_uniform(-20,20,(/4,5/)) ; y is 4 x 5<br> x = y <br><br></div><div>Hope it helps<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Izidine Pinto<br><br><br><br><br></div></div></div></div>
<br><div class="gmail_quote">On 4 May 2017 at 07:00, Gaurav Tiwari <span dir="ltr"><<a href="mailto:gaurav16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, I am running a NCL script to plot cyclone track, but I am getting following error, script is also attached below:<br><br>0) Check input data:1 .ne. 49<br><br>Variable: times<br>Type: string<br>Total Size: 392 bytes<br> 49 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [49]<br>Coordinates: <br>Number Of Attributes: 2<br> description : times in file<br> _FillValue : missing<br>(0) 2014-10-26_00:00:00<br>(1) 2014-10-26_03:00:00<br>(2) 2014-10-26_06:00:00<br>(3) 2014-10-26_09:00:00<br>(4) 2014-10-26_12:00:00<br>(5) 2014-10-26_15:00:00<br>(6) 2014-10-26_18:00:00<br>(7) 2014-10-26_21:00:00<br>(8) 2014-10-27_00:00:00<br>(9) 2014-10-27_03:00:00<br>(10) 2014-10-27_06:00:00<br>(11) 2014-10-27_09:00:00<br>(12) 2014-10-27_12:00:00<br>(13) 2014-10-27_15:00:00<br>(14) 2014-10-27_18:00:00<br>(15) 2014-10-27_21:00:00<br>(16) 2014-10-28_00:00:00<br>(17) 2014-10-28_03:00:00<br>(18) 2014-10-28_06:00:00<br>(19) 2014-10-28_09:00:00<br>(20) 2014-10-28_12:00:00<br>(21) 2014-10-28_15:00:00<br>(22) 2014-10-28_18:00:00<br>(23) 2014-10-28_21:00:00<br>(24) 2014-10-29_00:00:00<br>(25) 2014-10-29_03:00:00<br>(26) 2014-10-29_06:00:00<br>(27) 2014-10-29_09:00:00<br>(28) 2014-10-29_12:00:00<br>(29) 2014-10-29_15:00:00<br>(30) 2014-10-29_18:00:00<br>(31) 2014-10-29_21:00:00<br>(32) 2014-10-30_00:00:00<br>(33) 2014-10-30_03:00:00<br>(34) 2014-10-30_06:00:00<br>(35) 2014-10-30_09:00:00<br>(36) 2014-10-30_12:00:00<br>(37) 2014-10-30_15:00:00<br>(38) 2014-10-30_18:00:00<br>(39) 2014-10-30_21:00:00<br>(40) 2014-10-31_00:00:00<br>(41) 2014-10-31_03:00:00<br>(42) 2014-10-31_06:00:00<br>(43) 2014-10-31_09:00:00<br>(44) 2014-10-31_12:00:00<br>(45) 2014-10-31_15:00:00<br>(46) 2014-10-31_18:00:00<br>(47) 2014-10-31_21:00:00<br>(48) 2014-11-01_00:00:00<br>fatal:Dimension sizes on right hand side of assignment do not match dimension sizes of left hand side<br>fatal:["Execute.c":8640]:<wbr>Execute: Error occurred at or near line 49 in file trak.ncl<br> <br clear="all"></div><div><div><div><div class="m_-6600778883207579981gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><br><br>******************************<wbr>******************************<wbr>*************</div><b>Gaurav Tiwari</b><div>Research Scholar</div><div>Department of Earth and Environmental Sciences</div><div>Indian Institute of Science Education and Research Bhopal <br>(IISER B)</div><div>Bhopal- 462066, Madhya Pradesh</div><div>Email: <a href="mailto:saquib16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a></div><div>Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank">+91-7471112407</a><br><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank">LinkedIn</a> <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank">Research gate</a><br><br><br><br><br><b><i><span style="font-size:12pt;font-family:"times new roman","serif";color:green"><img src="cid:image001.png@01D23125.88F2F320" alt="Description: Description: Description: Description: Description: Description: Description: cid:image001.jpg@01CC2469.06E9E6A0" width="33" height="38" border="0"> </span></i></b><b><span style="font-size:10pt;font-family:"times new roman","serif";color:green" lang="EN-GB">Please consider the environment before printing this e-mail</span></b></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></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></div>