Currently the repository has 31 uses of dt.datetime.utcnow() which is deprecated. In other Pytroll packages we've decided to use timezone aware datetimes, so we should do that also in Pytroll Collectors.
This might not be as simple as switching to dt.datetime.now(dt.timezone.utc) as previous and following stages of messaging might not be able to handle them.
Currently the repository has 31 uses of
dt.datetime.utcnow()which is deprecated. In other Pytroll packages we've decided to use timezone aware datetimes, so we should do that also in Pytroll Collectors.This might not be as simple as switching to
dt.datetime.now(dt.timezone.utc)as previous and following stages of messaging might not be able to handle them.