Skip to content

Commit

Permalink
add else when geometry not implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaylor Wafflard committed Dec 5, 2024
1 parent 72392ae commit be1d66d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nonos/_readers/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@ def read(
grid_shape = n2, n1, n3
tuple_transposition = (1, 0, 2)
shift = n3 // 2
else:
raise NotImplementedError(f"Geometry {geometry_str!r} is not supported")

def _read_array(file: Path):
return np.roll(
Expand Down

0 comments on commit be1d66d

Please sign in to comment.