Skip to content

Commit

Permalink
Run Black
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiesenberger committed Apr 29, 2024
1 parent f1022f6 commit 3a28e98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xfeltor/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def open_feltordataset(
datapath: str = "./*.nc",
chunks: Union[int, dict] = None,
restart_indices: bool = False,
concat_dim : str = "time",
concat_dim: str = "time",
**kwargs: dict,
) -> xr.Dataset:
"""Loads FELTOR output into one xarray Dataset. Can load either a single
Expand Down Expand Up @@ -59,5 +59,5 @@ def open_feltordataset(

_, index = np.unique(ds[concat_dim], return_index=True)

#return ds.isel(time=index)
return ds[{concat_dim : index}]
# return ds.isel(time=index)
return ds[{concat_dim: index}]

0 comments on commit 3a28e98

Please sign in to comment.