From 6fe5bd65719714dba30c6f106498b00709545ab3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 16:17:12 +0000 Subject: [PATCH 1/2] Initial plan From 9e033fb82004e770450cd0ee5d8fce1311b77d83 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 16:18:04 +0000 Subject: [PATCH 2/2] Fix missing space in IndexError message in select.py Co-authored-by: mcocdawc <15892408+mcocdawc@users.noreply.github.com> --- src/earthkit/data/core/select.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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