diff --git a/src/earthkit/data/core/select.py b/src/earthkit/data/core/select.py index db04cc66c..16be9c3c5 100644 --- a/src/earthkit/data/core/select.py +++ b/src/earthkit/data/core/select.py @@ -61,6 +61,6 @@ def selection_from_index(coord_accessor, kwargs): except IndexError as e: raise IndexError( - (f"Invalid index={v}. Index for key={k} must be in the range of(0, {len(coord_accessor(k))}) {e}") + (f"Invalid index={v}. Index for key={k} must be in the range of (0, {len(coord_accessor(k))}) {e}") ) return _kwargs