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
Why this feature is necessary:
Dylan Harrison-Atlas is using the Temporal Aggregation Module to aggregate wind and solar CF profiles to daily values. The code is currently written to do the aggregation in UTC but he needs the ability to aggregate each site in local time.
A possible solution is:
add a boolean kwarg local_time to the class
Update the _aggregate_sites method to roll the timeseries to local time before creating the DataFrame (specifically modify line 129).
Additional context
NOTE: Its probably worth it to add in logic to determine if all sites in a given chunk have the same timezone or not as the later (not) case will require different logic to roll different sites different amounts. I know I've tried to do this before and can't remember what the solution was....
Charge code
GMLC.10246.09.05.03
Urgency / Timeframe
11/12/2021
The text was updated successfully, but these errors were encountered:
Why this feature is necessary:
Dylan Harrison-Atlas is using the Temporal Aggregation Module to aggregate wind and solar CF profiles to daily values. The code is currently written to do the aggregation in UTC but he needs the ability to aggregate each site in local time.
A possible solution is:
local_time
to the classAdditional context
NOTE: Its probably worth it to add in logic to determine if all sites in a given chunk have the same timezone or not as the later (not) case will require different logic to roll different sites different amounts. I know I've tried to do this before and can't remember what the solution was....
Charge code
GMLC.10246.09.05.03
Urgency / Timeframe
11/12/2021
The text was updated successfully, but these errors were encountered: