<div dir="ltr"><div>LSL,</div><div><br></div><div>NCL has a weakness when handling huge numbers of strings. I am not sure this is the problem. If it is, then do not do this inside a loop:</div><div><br></div><div> <span style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace,arial,sans-serif;font-size:14px;white-space:pre-wrap">strs_wrf = asciiread(fwrf,-1,"string")</span></div><div><br></div><div>Instead use any one of these approaches:</div><div><br></div><div>* Read each time series directly as float, not string.</div><div>* Convert time series files in advance to external numeric format, such as Netcdf.</div><div>* Run the plot script in a shell loop, and plot only one site in each iteration.</div><div><br></div><div>Also try delete (plot) after gsn_panel and before "end do". This is easy, maybe try this first.</div><div><br></div><div>--Dave</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2019 at 1:18 AM LSL <<a href="mailto:lslrsgis@whu.edu.cn">lslrsgis@whu.edu.cn</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 bgcolor="#FFFFFF">
<p> </p>
<p style="margin-bottom:0in;line-height:100%">Hi, everyone</p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;line-height:100%">I am using a
NCL script to plot timeseries for daily precipitation in one year.
However, the script is running very slow after generating around
10-15 figures.</p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;line-height:100%">Any
indications? Thanks in advance.</p></div>
</blockquote></div></div>