<p>Hi, I suggest you first select the time range 11Feb1985 to 11July2015. Then you can select again from the data which had been selected in the first step.</p>
<br/><br/>------------------ 原始邮件 ------------------<br/><div style="font-size: 12px; background: none repeat scroll 0% rgb(239, 239, 239); padding: 8px;"><div id="menu_sender"><b>发件人:</b> "Sancta Fun via ncl-talk" <ncl-talk@ucar.edu>;</div><div><b>发送时间:</b> 2020年1月20日(星期一) 20:47</div><div><b>收件人:</b> "ncl-talk" <ncl-talk@ucar.edu>;</div><div><b>主题:</b> [ncl-talk] Select dates range in time calendar</div></div><br/><br/><div dir="ltr"><div>Hi,</div><div>I would like to select special dates: 11Feb1985 to 11 July 2015. but only dates in feb-mar-apr-may-jun-jul.</div><div><br  /></div><div>My code is below:</div><div><br  /></div><div>ymdh = ut_calendar(time, 0)<br  /></div><div> y =ind(ymdh(:,1).ge.2.and.ymdh(:,2).ge.11 .and. ymdh(:,1).le.7.and.ymdh(:,2).le.11 .and. ymdh(:,0).ge.1985 .and. ymdh(:,0).le.2015 )</div><div><br  /></div><div>What's wrong?<br  /></div></div>