<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>NCL is strongly typed. By default, NCL will not allow different size arrays to the left and right of the assignment operator [ <span style="color:rgb(255,0,0)"><b>=</b></span> ].</div><div><br></div><div>Use NCL's reassignment operator <span style="color:rgb(0,0,255)"><b>:=</b></span></div><div><br></div><div>WRF_gridpoints <span style="color:rgb(0,0,255)"><b>:=</b></span> f_in[:]->PREC_ACC_NC(s_time3:e_time3,553,412)</div><div>===</div><div><a href="https://www.ncl.ucar.edu/Document/Language/varb_assign.shtml"><b>https://www.ncl.ucar.edu/Document/Language/varb_assign.shtml</b></a><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 8, 2019 at 7:02 PM Zach Rieck <<a href="mailto:zrr817@gmail.com">zrr817@gmail.com</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">To Whom it May Concern-<div><br></div><div>I have a loop where I am trying to pull precip for different time periods for each winter. The loop is successfully pulling in the write dates and totals, and runs EXACTLY how it is supposed to until the 3rd pass through. I'm confused by this since if the loop wasn't repeatable it should error out no later than the 2nd pass. The error I am getting is that on the 3rd pass, the left and right side dimensions do not match when I try to pull in the gridpoint data</div><div><br></div><div>I have verified the lengths on my variable and all are long enough to pass through the loop as they are meant to. The loop is at the end of the code, from ~ line 73-78. </div><div><br></div><div>Thanks for the help!</div><div><br></div><div><div><div dir="ltr" class="gmail-m_-8178197976068923978gmail_signature"><div dir="ltr">-Zach Rieck<div><a href="mailto:zrr817@gmail.com" target="_blank">zrr817@gmail.com</a></div><div>(513)-502-5652</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>