<div dir="ltr"><div>Hi,</div><div><br></div><div>Wow - I have never seen that error!  I looked at the source code, and it suggests that the variable "ntim" in your do-loop is not a scalar value, but perhaps an array?  Maybe do a printVarSummary(ntim) to make sure that value is what you think it should be.</div><div><br></div><div>Hope that helps...</div><div>Rick</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 29, 2021 at 7:51 PM 소윤영 via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.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"><p style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:돋움,Dotum,Helvetica,"Apple SD Gothic Neo",sans-serif;font-size:12px"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:10pt">Hi,</span> </p><div><span style="font-size:10pt">I want to write NetCDF file using multiple timeseries. I have tried do loop, but it doesn't work. Error massage is <b>'Loop end must be scalar, can't execute loop'.</b></span></div><div><span style="font-size:10pt">Below are the working example scripts. </span><span style="font-family:arial,sans-serif;font-size:10pt">It would be great if you can give me some ideas. </span></div><div><span style="font-family:arial,sans-serif;font-size:10pt"><br></span></div><div style="font-family:돋움,Dotum,Helvetica,"Apple SD Gothic Neo",sans-serif;font-size:12px"><font face="arial, sans-serif">-error message</font></div><div style="font-family:돋움,Dotum,Helvetica,"Apple SD Gothic Neo",sans-serif;font-size:12px"><font face="arial, sans-serif"><br></font></div><div><img src="cid:ii_krpotytg0" alt="image.png" width="542" height="98"><br></div><div><p style="margin:0px;padding:0px"><span style="font-family:arial,sans-serif;font-size:9pt"><br></span></p><p style="margin:0px;padding:0px"><span style="font-family:arial,sans-serif;font-size:9pt">Millions of thanks and best regards,</span></p><p style="margin:0px;padding:0px">Olivia</p></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>