<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Xi,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">I think you want to do something like<br><br><blockquote type="cite"><div dir="ltr"><div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">x=(/2.1, 3.2, 4.3, -999, -999, 7.6, 8.7, 9.8/)</span></font></div><div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">x@_FillValue=-999</span></font></div></div></blockquote><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">first_index = x(0)</div><div id="AppleMailSignature">print(x(0))</div><br>Bye,</div><div id="AppleMailSignature">Karin<br><div><br></div></div><div><br>Am 05.05.2017 um 17:48 schrieb Xi Chang &lt;<a href="mailto:xi.chang01@gmail.com">xi.chang01@gmail.com</a>&gt;:<br><br></div><blockquote type="cite"><div><div dir="ltr">Dear NCL,<div><br></div><div>Could you suggest me how to get the first index in the sequence?</div><div>for instance:</div><div><br></div><div>x=<span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px">(/2.1, 3.2, 4.3, -999, -999, 7.6, 8.7, 9.8/)</span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px">x@_FillValue=-999</span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px">the first index in the sequence will be</span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px">(0) 2.1 and</span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px">(5) 7.6</span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px">I do appreaciate for your help.</span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:courier;font-size:13.3333px">Best,</span></div><div><font color="#000000" face="courier"><span style="font-size:13.3333px">Xi</span></font></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>ncl-talk mailing list</span><br><span><a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a></span><br><span>List instructions, subscriber options, unsubscribe:</span><br><span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></span><br></div></blockquote></body></html>