[ncl-talk] No leap year

Rick Brownrigg brownrig at ucar.edu
Mon Jul 27 06:52:25 MDT 2020


Hi,

You might be able to get what you want from cd_calendar:

http://www.ncl.ucar.edu/Document/Functions/Built-in/cd_calendar.shtml

It does have a "noleap" option, but you might need to do a little
programming to make it produce what you need.

HTH
Rick

On Mon, Jul 27, 2020 at 3:54 AM Buzan, Jonathan via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Hi NCL-Talk,
>
> I am attempting to create a date in my 34 year daily streaming file for
> docn in CESM.
> My simulation does not have leap years.
>
> I found the function:
> yyyymmdd_time
>
> https://www.ncl.ucar.edu/Document/Functions/Contributed/yyyymmdd_time.shtml
>
> However, when I execute this function, it produces leap years. Is there
> are yyyymmdd_time that does not produce leap years?
>
> Cheers,
> -Jonathan
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200727/bc5e9cf5/attachment.html>


More information about the ncl-talk mailing list