<div dir="ltr">.and. ===> .or.<br><div><div><div><div><br>iTim = ind (<a href="http://ymd.ge.19790101.and.ymd.lt">ymd.ge.19790101.and.ymd.lt</a>.<wbr>20110101 .or. ymd.ge.20120101.<wbr>and.ymd.lt.20130101)<br></div><div>or<br>iTim = ind (.not.(ymd.gt.20110000.and.ymd.lt.20120000))<br><br>---<br></div><div>; eliminate from original data<br></div><div> X3 = f->X(iTim,:,:) ; no 2011<br></div><div> Z4 = f->Z(iTim,:,:,:)<br><br><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 3, 2017 at 11:48 PM, Priyanka Silva <span dir="ltr"><<a href="mailto:priyankakeraminiya6@gmail.com" target="_blank">priyankakeraminiya6@gmail.com</a>></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>Hello All,</div><div>I have 1979 to 2012 data and I want to remove 2011 data. I used ind function but I got an error.</div><div><span style="font-size:12.8px">Could someone help me.</span><br></div><div><span style="font-size:12.8px">Thanks.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Priyanka</span></div><div><br></div><div><br></div><div><br></div><div>fin = addfile(f, "r")</div><div>time = fin->time</div><div>ymd = cd_calendar(time,2)</div><div><br></div><div>iTim = ind (<a href="http://ymd.ge.19790101.and.ymd.lt">ymd.ge.19790101.and.ymd.lt</a>.<wbr>20110101.and.ymd.ge.20120101.<wbr>and.ymd.lt.20130101)</div><div><br></div></div><div id="m_4999420893943258754DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tbody><tr>
<td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" style="width:46px;height:29px" width="46" height="29"></a></td>
<td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" style="color:#4453ea" target="_blank">www.avast.com</a>
</td>
</tr>
</tbody></table><a href="#m_4999420893943258754_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></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>