Summary of changes and related issue
Modifying converting to local timezone function to account for daylight savings by interpolating for missing times and dropping first instance of repeated times (when daylight savings starts and ends).
Relevant motivation and context
We want a 8760 dataframe for locally-correct timezones for TMY, and for other potential use-cases in the future.
Dependencies required for this change?
None
Fixes # (issue), delete if not necessary
None
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Tested within TMY to ensure that there are no incorrect timestamps after adjusting to local time, but will add tests in back-end soon as well.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Closing this PR for now, as an alternative quicker-fix will be implemented for TMY notebooks. Converting to local time will be re-addressed in the back-end in the future.
Description of PR
Summary of changes and related issue Modifying converting to local timezone function to account for daylight savings by interpolating for missing times and dropping first instance of repeated times (when daylight savings starts and ends).
Relevant motivation and context We want a 8760 dataframe for locally-correct timezones for TMY, and for other potential use-cases in the future.
Dependencies required for this change? None
Fixes # (issue), delete if not necessary None
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Tested within TMY to ensure that there are no incorrect timestamps after adjusting to local time, but will add tests in back-end soon as well.
Checklist: