Skip to content

Commit

Permalink
traj: more debug when confusing dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Nov 20, 2024
1 parent 3e22fa7 commit d6ec966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trajan/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def __new__(cls, ds):

else:
raise ValueError(
f'Time variable has more than two dimensions: {ds[time_varname].shape}'
f'Time variable has more than two dimensions: {time_varname}: {ds[time_varname].shape} / {ds[time_varname].dims}'
)

# TODO: The provided attributes could perhaps be added here before returning
Expand Down

0 comments on commit d6ec966

Please sign in to comment.