<div dir="ltr">I don&#39;t think ncl-talk can  answer based on your email. It is suggested that you use print and/or printVarSummary prior to line 90.<br><div><br>Prior to line 90 you have:<br><br>varT  = new( (/40,dims(1),dims(2)/), typeof(p0))<br></div><div>printVarSummary(varT)   ; make sure this is what you think it should be<br><br></div><div>[SNIP]<br></div><div>You have printVarSummary(tc_plane)<br></div><div><br>print(itimes)<br><br>   varT(itimes,:,:) =  tc_plane<br><br></div><div>Do dimension sizes match?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 1:21 AM, afwande juliet <span dir="ltr">&lt;<a href="mailto:afwandej965@gmail.com" target="_blank">afwandej965@gmail.com</a>&gt;</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><div>Dear all <br></div>I am extracting upper levels winds(ua and va), RH, temp and vertical velocity(wa) at 850mb, 500mb and 200mb levels using ncl script. I have reduced the timestep to avoid the  memory problems.  However I cant understand why I get subscript error out of range. Could it be the way I write the longitude and latitude .Attached is the script <br><br><br>fatal:Subscript out of range, error in subscript #0<br>fatal:[&quot;Execute.c&quot;:8575]:<wbr>Execute: Error occurred at or near line 90 in file z850hPaPlots.ncl<br><br></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>