You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function pytroll_collectors.helper_functions.align_time is supposed to round times. However, if there is a subsecond timestamp present, this one gets kept and the time is not rounded.
The function
pytroll_collectors.helper_functions.align_time
is supposed to round times. However, if there is a subsecond timestamp present, this one gets kept and the time is not rounded.This script:
results in an
AssertionError
:because the result of
align_time
isdatetime(2015, 10, 21, 22, 25, 0, 12345)
rather thandatetime(2015, 10, 21, 22, 25, 0, 0)
.The text was updated successfully, but these errors were encountered: