def convert_time_units(t):
if t == <NUM_LIT:0>:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>order = log10(t)<EOL>if -<NUM_LIT:9> < order < -<NUM_LIT:6>:<EOL><INDENT>time_units = '<STR_LIT>'<EOL>factor = <NUM_LIT><EOL><DEDENT>elif -<NUM_LIT:6> <= order < -<NUM_LIT:3>:<EOL><INDENT>time_units = '<STR_LIT>'<EOL>factor = <NUM_LIT><EOL><DEDENT>elif -<NUM_LIT:3> <= order < -<NUM_LIT:1>:<EOL><INDENT>time_units = '<STR_LIT>'<EOL>factor = <NUM_LIT><EOL><DEDENT>elif -<NUM_LIT:1> <= order:<EOL><INDENT>time_units = '<STR_LIT:s>'<EOL>factor = <NUM_LIT:1><EOL><DEDENT>return "<STR_LIT>".format(factor * t, time_units)<EOL>
Convert time in seconds into reasonable time units.