[Numpy-discussion] timezones and datetime64
ben.root at ou.edu
Wed Apr 3 23:31:41 EDT 2013
On Wed, Apr 3, 2013 at 7:52 PM, Chris Barker - NOAA Federal <
chris.barker at noaa.gov> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion