Skip to content

Commit

Permalink
Merge pull request icenet-ai#257 from icenet-ai/256-first-lag-day-is-…
Browse files Browse the repository at this point in the history
…same-as-first-forecast-day

Resolve issue 256-first-lag-day-is-same-as-first-forecast-day
  • Loading branch information
JimCircadian authored May 10, 2024
2 parents f128536 + 879a317 commit 662882f
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 662882f

Please sign in to comment.