[Numpy-discussion] timezones and datetime64

Phil Hodge hodge@stsci....
Thu Apr 4 13:09:59 CDT 2013

On 04/04/2013 05:03 AM, Daniele Nicolodi wrote:
> I'm not aware of any library that handles the conversion from UTC to
> TAI. I would like to know if there is one. Furthermore, UTC cannot be
> computed unambiguously for times in the future because the leap second
> insertion is not scheduled regularly but it is based on the comparison
> between UT1 and UTC times.

The slalib function sla_DAT gives the offset to be added to UTC to give 
TAI.  According to the AstroPy web site there's a Python wrapper (pySLALIB).


More information about the NumPy-Discussion mailing list