Skip to content

Commit

Permalink
Remove some useless statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
atrabattoni committed Dec 3, 2024
1 parent fdb8c83 commit f24278d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xdas/spectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ def func(x):
for name in da.coords:
if name == input_dim:
coords[input_dim] = time
elif name == output_dim:
coords[output_dim] = freqs
elif da[name].dim != input_dim: # TODO: keep non-dimensional coordinates
coords[name] = da.coords[name]
coords[output_dim] = freqs
Expand Down

0 comments on commit f24278d

Please sign in to comment.