[ncl-talk] Select dates range in time calendar

Sancta Fun sanctavega at gmail.com
Mon Jan 20 05:47:55 MST 2020


Hi,
 I would like to select special dates: 11Feb1985 to 11 July 2015. but only
dates in feb-mar-apr-may-jun-jul.

My code is below:

 ymdh = ut_calendar(time, 0)
  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 )

What's wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200120/a2a86a03/attachment.html>


More information about the ncl-talk mailing list