<div dir="ltr">Dear NCL developers,<div><br></div><div>I have a library that uses cd_inv_calendar for some critical parts. Once in a blue moon, my</div><div>script crashes due to problems with values returned by cd_inv_calendar.  Instead of returning</div><div>a whole number (for example 37785 days since 1900-01-01 return value is double), it sometimes returns a fraction (37784.xxxx).</div><div><br></div><div>I use NCL version 6.3.0 on a Linux box.</div><div><br></div><div>It is quite difficult to reproduce this issue because it happens rarely and randomly. I notice that <a href="http://www.ncl.ucar.edu/current_release.shtml#KnownBugs6.3.0">http://www.ncl.ucar.edu/current_release.shtml#KnownBugs6.3.0</a>  notes a bug with cd_calendar when the units are specified as &quot;minutes since&quot; or &quot;seconds since&quot;.  In my case the units are </div><div>&quot;days since 1900-01-01&quot;.</div><div><br></div><div>I will use ut_calendar for the time being, but thought that I would notify the developers about this issue.</div><div><br></div><div>saji</div></div>