Closed jerabaul29 closed 4 years ago
The latest version uses an internal function to decode dates. This should normally solve the problem. Because the Python function that decodes performs date conversion from UNIX dates (number of seconds elapsed since 1970) is time zone sensitive...
It seems that problems with taking care of time zones may create some time shifts. For example:
Produces the figures:
How do you think this should be fixed? I think this is probably related to some points discussed in #5 , i.e. choosing between datetimes and timestamps, and making sure internal conversions are handled correctly. One thing I noticed: the
compute_nodal_modulations
function seems to accept only timezone unaware datetimes. Wonder if it may be simpler to use timezone aware datetimes, and maybe accept only UTC TZ? This way, the user cannot shoot himself / herself in the foot.Once we have discussed this and agree, I will be happy to work on a pull request, if you want.