[Numpy-discussion] timezones and datetime64
Wed Apr 3 23:17:30 CDT 2013
On 4/3/13, Benjamin Root <firstname.lastname@example.org> wrote:
> On Wed, Apr 3, 2013 at 7:52 PM, Chris Barker - NOAA Federal <
> email@example.com> wrote:
>> Personally, I never need finer resolution than seconds, nor more than
>> a century, so it's no big deal to me, but just wondering....
> A use case for finer resolution than seconds (in our field, no less!) is
> lightning data. At the last SciPy conference, a fellow meteorologist
> mentioned how difficult it was to plot out lightning data at resolutions
> finer than microseconds (which is the resolution of the python datetime
> objects). Matplotlib has not supported the datetime64 object yet (John
> passed before he could write up that patch).
> By the way, my 12th Rule of Programming is "Never roll your own datetime"
A rule on par with "never get involved in a land war in Asia": both
equally Fraught With Peril. :)
More information about the NumPy-Discussion