<div dir="ltr"><div><div><div><div><div><div>Hi Nabeela,<br><br></div>Its hard to say offhand without looking at your data. But in the do-loop around line 80, where the error comes from, you might try:<br><br></div>i) printVarSummary(NOR1) just prior to the loop<br></div>ii) print the values of str_times(n) and end_times(n) and n each time through the loop<br></div>iii) and see for what value of n the error occurs, and try and reconcile the str/end-times with the printVarSummary(NOR1)<br><br></div>Make sense? -- Hope that helps...<br></div>Rick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 27, 2017 at 6:59 PM, Nabeela Sadaf <span dir="ltr"><<a href="mailto:nh16@mails.tsinghua.edu.cn" target="_blank">nh16@mails.tsinghua.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>I am new to NCL. I want to make composite of strong monsoon years(precipitation). In this script i have selected strong monsoon years  as  0.5 standard deviation above mean. when i try to run this script, it gives following error<div><br></div><div><br>"<span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo;font-size:13px">fatal:<wbr>NclOneDValGetClosestIndex: finish coordinate index out of range, can't continue</span><p class="m_2423908406628450561p1" style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span class="m_2423908406628450561s1" style="font-variant-ligatures:no-common-ligatures">fatal:Could not obtain coordinate indexes, unable to perform subscript</span></p><p class="m_2423908406628450561p1" style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span class="m_2423908406628450561s1" style="font-variant-ligatures:no-common-ligatures">fatal:["Execute.c":8575]:<wbr>Execute: Error occurred at or near line 80 in file composite.ncl"<br><br>My script is attached herewith.<span class="HOEnZb"><font color="#888888"><br><br></font></span></span></p><span class="HOEnZb"><font color="#888888"><p class="m_2423908406628450561p1" style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo"><span class="m_2423908406628450561s1" style="font-variant-ligatures:no-common-ligatures">Nabeela</span></p></font></span></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>