<div dir="ltr">Hi Ipshita,<div><br></div><div>That&#39;s not possible in NCL. What you can do is either set those values to a missing value using the &#39;where&#39; function, or create a new array that only has those indices from the old array, e.g. if ind_list is your list of indices,</div><div><br></div><div>new_array = old_array(ind_list)</div><div>delete(old_array)</div><div><br></div><div>Hope that helps,</div><div><br></div><div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1421</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Fri, Nov 14, 2014 at 11:03 AM, Ipshita Majhi <span dir="ltr">&lt;<a href="mailto:ipmajhi@alaska.edu" target="_blank">ipmajhi@alaska.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<div>I have a list  of indices and i want to delete elements in an array which match those indices . </div><div>I saw delete but it seems to be deleting the variable</div><div>Thank you in advance</div><div>Best regards</div><span class="HOEnZb"><font color="#888888"><div>Ipshita</div>
</font></span><br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>