|
times = pd.DatetimeIndex([dt_timestamp + timedelta(minutes=lm+60) for lm in lead_minutes]) |
This seems to be calculating max GHI for the forecast time + 60 minutes, rather than the current timestamp. Maybe there should separate columns for calculated GHI at current timestamp and at forecast timestamp? 60 min offset may be artifact of earlier code with DST issues.
SolarForecasting/code/scripted_processing/extract_features.py
Line 47 in e5c0d38
This seems to be calculating max GHI for the forecast time + 60 minutes, rather than the current timestamp. Maybe there should separate columns for calculated GHI at current timestamp and at forecast timestamp? 60 min offset may be artifact of earlier code with DST issues.