Skip to content

Commit

Permalink
Change sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Jun 2, 2023
1 parent a4b990e commit c2da777
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ocf_datapipes/load/nwp/nwp.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ def open_nwp(zarr_path) -> xr.DataArray:
concat_dim="init_time",
combine="nested",
chunks={},
)
.drop_duplicates("time")
.sortby("time")
).sortby("init_time")
)
else:
nwp = xr.open_dataset(
Expand Down

0 comments on commit c2da777

Please sign in to comment.