sunpy.instr.fermi.met_to_utc(timeinsec)[source] [edit on github]

Converts Fermi Mission Elapsed Time (MET) in seconds to a datetime object.


This function does not account for leap seconds and can not be fixed in SunPy’s 0.9.x series of releases. However, it is fixed in the next major version, 1.0.

Parameters:timeinsec (float) – time in seconds since 00:00 UT on 1st January 2001 (the Fermi MET format)
Returns:datetime.datetime – The input Fermi Mission Elapsed Time converted to a datetime object.