<div dir="ltr"><div>Hi,</div><div><br></div><div>The error message is telling you exactly the problem -- the dimensions of the expression on the right hand side of an assignment must match the dimensions of the variable on the left. More specifically, line 61 in your script is:</div><div><br></div><div> time(ifs) = wrf_user_list_times(f)</div><div><br></div><div>Time is a one dimension variable, declared as:</div><div><br></div><div> time = new(ndate,string)</div><div><br></div><div>and wrf_user_list_time() returns an array of available times, so line 61 is an attempt to assign an *element* of the time array to a 1D array of indeterminate length.</div><div><br></div><div>Hope that helps...</div><div>Rick<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 19, 2019 at 1:07 AM Saurav Dey Shuvo via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Respected Sir/Madam, <div>I am trying to plot a cyclone track. But I am getting this -</div><div><br></div><div>ncl WRF_track_1.ncl <br> Copyright (C) 1995-2017 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.4.0<br> The use of this software is governed by a License Agreement.<br> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>(0) Check input data:1 .ne. 8<br><br><br>Variable: times<br>Type: string<br>Total Size: 264 bytes<br> 33 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [33]<br>Coordinates: <br>Number Of Attributes: 2<br> description : times in file<br> _FillValue : missing<br>(0) 2017-10-17_00:00:00<br>(1) 2017-10-17_03:00:00<br>(2) 2017-10-17_06:00:00<br>(3) 2017-10-17_09:00:00<br>(4) 2017-10-17_12:00:00<br>(5) 2017-10-17_15:00:00<br>(6) 2017-10-17_18:00:00<br>(7) 2017-10-17_21:00:00<br>(8) 2017-10-18_00:00:00<br>(9) 2017-10-18_03:00:00<br>(10) 2017-10-18_06:00:00<br>(11) 2017-10-18_09:00:00<br>(12) 2017-10-18_12:00:00<br>(13) 2017-10-18_15:00:00<br>(14) 2017-10-18_18:00:00<br>(15) 2017-10-18_21:00:00<br>(16) 2017-10-19_00:00:00<br>(17) 2017-10-19_03:00:00<br>(18) 2017-10-19_06:00:00<br>(19) 2017-10-19_09:00:00<br>(20) 2017-10-19_12:00:00<br>(21) 2017-10-19_15:00:00<br>(22) 2017-10-19_18:00:00<br>(23) 2017-10-19_21:00:00<br>(24) 2017-10-20_00:00:00<br>(25) 2017-10-20_03:00:00<br>(26) 2017-10-20_06:00:00<br>(27) 2017-10-20_09:00:00<br>(28) 2017-10-20_12:00:00<br>(29) 2017-10-20_15:00:00<br>(30) 2017-10-20_18:00:00<br>(31) 2017-10-20_21:00:00<br>(32) 2017-10-21_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]:Execute: Error occurred at or near line 61 in file WRF_track_1.ncl<br><br><div>Could you please help me in sorting out my problem. </div><div><br></div><div>Sincerely -</div>-- <br><div dir="ltr" class="gmail-m_8358607927975396288gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px;margin:8px 0px 0px;padding:0px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><div><div dir="ltr"><span><font color="#888888"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif">Saurav Dey Shuvo</font><div><font face="comic sans ms, sans-serif">M.Sc. in Meteorology at Department of Meteorology, University of Dhaka</font></div><div><font face="comic sans ms, sans-serif">B.S. in Geography and Environment at </font><span style="font-family:"comic sans ms",sans-serif">Department of </span><span style="font-family:"comic sans ms",sans-serif">Geography and Environment, </span><span style="font-family:"comic sans ms",sans-serif">University of Dhaka</span></div><div><span style="font-family:"comic sans ms",sans-serif"><br></span></div></div></div></font></span></div><div></div></div></div><div style="font-size:12.8px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>