From 838e82b2d0fbe3d47ce77e0dce4be82ebf641020 Mon Sep 17 00:00:00 2001 From: Peter Dudfield <34686298+peterdudfield@users.noreply.github.com> Date: Tue, 6 May 2025 12:13:30 +0100 Subject: [PATCH 1/4] Restrict to 318 --- ocf_datapipes/load/gsp/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocf_datapipes/load/gsp/database.py b/ocf_datapipes/load/gsp/database.py index c400dcb44..8910f0590 100644 --- a/ocf_datapipes/load/gsp/database.py +++ b/ocf_datapipes/load/gsp/database.py @@ -59,7 +59,7 @@ def __init__( # This is becasue national is stored as '0' in PVLive self.gsp_ids = [0] else: - self.gsp_ids = list(range(1, N_GSP + 1)) + self.gsp_ids = list(range(1, 318)) def __iter__(self) -> xr.DataArray: """Get and return GSP data""" From 95344139396a2975b1957f639646e6ea59cd9dcc Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Tue, 6 May 2025 12:18:56 +0100 Subject: [PATCH 2/4] numcodecs==0.15.1 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index ebddff5ac..c302232aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,3 +26,4 @@ pytorch_lightning pvlive-api pydantic cftime +numcodecs==0.15.1 \ No newline at end of file From 596117e9200e627be56fe11b95bb316ba7322605 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 6 May 2025 11:19:34 +0000 Subject: [PATCH 3/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c302232aa..83b4cf6c0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,4 +26,4 @@ pytorch_lightning pvlive-api pydantic cftime -numcodecs==0.15.1 \ No newline at end of file +numcodecs==0.15.1 From b071b4edff2d059ac95b823c69b3a3ef87831dc9 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Tue, 6 May 2025 12:25:55 +0100 Subject: [PATCH 4/4] only test on 3.11 --- .github/workflows/workflows.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflows.yaml b/.github/workflows/workflows.yaml index 41974b65d..33666802d 100644 --- a/.github/workflows/workflows.yaml +++ b/.github/workflows/workflows.yaml @@ -18,4 +18,4 @@ jobs: sudo_apt_install: "libgeos++-dev libproj-dev proj-data proj-bin" # brew_install: "proj geos librttopo" os_list: '["ubuntu-latest"]' - python-version: "['3.10','3.11']" + python-version: "['3.11']"