Skip to content

Commit

Permalink
bugfix wrt slicing datetime in xarray
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Adamov committed Apr 28, 2024
1 parent 32f18ed commit df6b651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural_lam/weather_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(
if split == "train":
self.ds = self.ds.sel(time=slice("2015", "2019"))
else:
self.ds = self.ds.sel(time=slice("2020"))
self.ds = self.ds.sel(time=slice("2020-01-01", "2020-12-31"))

new_vars = {}
forcings = {}
Expand Down

0 comments on commit df6b651

Please sign in to comment.