diff --git a/python/idsse_common/idsse/common/grid_proj.py b/python/idsse_common/idsse/common/grid_proj.py index e5128d72..282d98d8 100644 --- a/python/idsse_common/idsse/common/grid_proj.py +++ b/python/idsse_common/idsse/common/grid_proj.py @@ -118,8 +118,6 @@ def flip(self, flip: Flip = Flip.BOTH): elif flip is Flip.VERTICAL: _, self._y_offset = self.map_pixel_to_crs(0, self.height) self._dy *= -1 - else: - raise ValueError(f'Axis must be 0 or 1, but {axis} was given') def fliplr(self): """Reverse the order of the pixels left to right"""