Skip to content

Commit

Permalink
load: Removing unique t_array filter
Browse files Browse the repository at this point in the history
Seems it was removed in `master`, then the merge partly put
it back. Hopefully it's supposed to be removed...
  • Loading branch information
bendudson committed Dec 12, 2024
1 parent 7b166a8 commit 1b8986f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xbout/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,12 +724,6 @@ def _auto_open_mfboutdataset(
combine_attrs="override",
)

if not is_restart:
if "t_array" in ds.keys():
# Remove any duplicate time values from concatenation
_, unique_indices = unique(ds["t_array"], return_index=True)
ds = ds.isel(t=unique_indices)

return ds, remove_yboundaries


Expand Down

0 comments on commit 1b8986f

Please sign in to comment.