Skip to content

Commit

Permalink
fix single day lag single day forecast overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersandmcd committed May 2, 2024
1 parent f128536 commit 879a317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icenet/data/loaders/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def generate_sample(forecast_date: object,
else:
channel_ds = var_ds
channel_dates = [
pd.Timestamp(forecast_date - dt.timedelta(days=n))
pd.Timestamp(forecast_date - dt.timedelta(days=n+1))
for n in range(num_channels)
]

Expand Down

0 comments on commit 879a317

Please sign in to comment.