Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
leifdenby committed Sep 10, 2024
1 parent 66c663f commit 11a7978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neural_lam/weather_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def _sample_time(self, da, idx, n_steps: int, n_timesteps_offset: int = 0):
# this implies that the data will have both `analysis_time` and
# `elapsed_forecast_duration` dimensions for forecasts. We for now
# simply select a analysis time and the first `n_steps` forecast
# times (given no offset). Note that this means that we get one sample
# per forecast, always starting at forecast time 2.
# times (given no offset). Note that this means that we get one
# sample per forecast, always starting at forecast time 2.
da = da.isel(
analysis_time=idx,
elapsed_forecast_duration=slice(
Expand Down

0 comments on commit 11a7978

Please sign in to comment.