tai_from_utc_unix

lsst.ts.salobj.tai_from_utc_unix(utc_unix)

Return TAI in unix seconds, given UTC in unix seconds.

Parameters:
utc_unix : float

UTC time in unix seconds.

Returns:
tai_unix : float

TAI time in unix seconds.

Raises:
ValueError

If the date is earlier than 1972 (which is before integer leap seconds) or within one day of the expiration date of the leap second table (which is automatically updated).

Notes

See the notes for tai_from_utc for information about possibly unexpected behavior on the day before a leap second.