truncate_hour

gdt.core.time.truncate_hour(time: Time)[source]

Truncates the given time object to the current hour.

Parameters:

time (astropy.time.Time) – Time object that will be truncated.

Returns:

(astropy.time.Time)