Repository: British-Oceanographic-Data-Centre/COAsT (language: python)

Issue:
correct release
correct release


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/markdown-general.yml b/.github/workflows/markdown-general.yml
index aa519520..76ffa1c5 100644
--- a/.github/workflows/markdown-general.yml
+++ b/.github/workflows/markdown-general.yml
@@ -42,5 +42,7 @@ jobs:
           sudo apt-get install -y libgeos-dev
           pip install cartopy==0.21.0
           pip install zarr
+          pip install xarray[complete]
+          pip install aiohttp requests
           mv config ./example_scripts/notebook_tutorials/runnable_notebooks/general/config
           bash notebook_to_md.sh general
diff --git a/.github/workflows/verify_package.yml b/.github/workflows/verify_package.yml
index cb78a262..86ad4cdf 100644
--- a/.github/workflows/verify_package.yml
+++ b/.github/workflows/verify_package.yml
@@ -34,4 +34,5 @@ jobs:
           sudo apt-get update
           sudo apt-get install -y libgeos-dev
           pip install cartopy==0.21.0
+          pip install zarr
           pytest tests
diff --git a/CITATION.cff b/CITATION.cff
index eae390c2..98910ad1 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -46,6 +46,6 @@ authors:
  - family-names: "de Mora"
    given-names: "Lee"
    orcid: "https://orcid.org/0000-0002-5080-3149"
-title: "British-Oceanographic-Data-Centre/COAsT: v3.2.2"
-version: v3.2.2
-date-released: 2023-12-06
+title: "British-Oceanographic-Data-Centre/COAsT: v3.3.0"
+version: v3.3.0
+date-released: 2023-12-11
diff --git a/example_scripts/notebook_tutorials/runnable_notebooks/general/zarr_files.ipynb b/example_scripts/notebook_tutorials/runnable_notebooks/general/zarr_files.ipynb
index 57d9806b..a45e128d 100644
--- a/example_scripts/notebook_tutorials/runnable_notebooks/general/zarr_files.ipynb
+++ b/example_scripts/notebook_tutorials/runnable_notebooks/general/zarr_files.ipynb
@@ -44,7 +44,7 @@
    "id": "761fde27-8ef4-4805-887c-d795da34902e",
    "metadata": {},
    "source": [
-    "`pip install zarr`"
+    "`pip install zarr xarray[complete] aiohttp requests`"
    ]
   },
   {
@@ -73,16 +73,26 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 16,
+   "execution_count": 1,
    "id": "582e5ae5-e61d-409d-aa33-206f6ff3c0bd",
    "metadata": {},
-   "outputs": [],
+   "outputs": [
+    {
+     "name": "stderr",
+     "output_type": "stream",
+     "text": [
+      "/mnt/code/.pyenv/versions/3.10.12/envs/coast-10/lib/python3.10/site-packages/utide/harmonics.py:16: RuntimeWarning: invalid value encountered in cast\n",
+      "/mnt/code/.pyenv/versions/3.10.12/envs/coast-10/lib/python3.10/site-packages/utide/harmonics.py:17: RuntimeWarning: invalid value encountered in cast\n"
+     ]
+    }
+   ],
    "source": [
     "import coast\n",
     "import matplotlib.pyplot as plt\n",
     "import datetime\n",
     "import numpy as np\n",
     "import xarray as xr\n",
+    "import zarr\n",
     "\n",
     "root = \"./\"\n",
     "fn_config_t_grid = root + \"./config/example_nemo_monthly_climate.json\"\n",
@@ -114,10 +124,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 43,
+   "execution_count": 2,
    "id": "289bbdfd-991c-41ed-9acd-7e9bb35f157c",
    "metadata": {},
-   "outputs": [],
+   "outputs": [
+    {
+     "name": "stderr",
+     "output_type": "stream",
+     "text": [
+      "/tmp/ipykernel_221474/396929176.py:1: RuntimeWarning: Failed to open Zarr store with consolidated metadata, but successfully read with non-consolidated metadata. This is typically much slower for opening a dataset. To silence this warning, consider:\n",
+      "1. Consolidating metadata in this existing store with zarr.consolidate_metadata().\n",
+      "2. Explicitly setting consolidated=False, to avoid trying to read consolidate metadata, or\n",
+      "3. Explicitly setting consolidated=True, to raise an error in this case instead of falling back to try reading non-consolidated metadata.\n"
+     ]
+    }
+   ],
    "source": [
     "dom = xr.open_zarr(fn_nemo_dom_mask)\n",
     "mesh_zgr = xr.open_zarr(fn_nemo_dom_mesh_zgr)\n",
@@ -126,7 +147,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 44,
+   "execution_count": 3,
    "id": "e1f12c20-4076-4ae0-9135-c95218347805",
    "metadata": {},
    "outputs": [],
@@ -139,7 +160,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 45,
+   "execution_count": 4,
    "id": "50b2cbb7-a1ad-4ebc-aebb-42a1b8286e58",
    "metadata": {},
    "outputs": [],
diff --git a/setup.py b/setup.py
index 9cc4c315..c9caa61e 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@
 PACKAGE = SimpleNamespace(
     **{
         "name": "COAsT",
-        "version": "3.2.2",
+        "version": "3.3.0",
         "description": "This is the Coast Ocean Assessment Tool",
         "long_description": long_description,
         "long_description_content_type": "text/markdown",


Test patch:
diff --git a/.github/workflows/unit_test_contents.yml b/.github/workflows/unit_test_contents.yml
index 68952e54..1c5d830d 100644
--- a/.github/workflows/unit_test_contents.yml
+++ b/.github/workflows/unit_test_contents.yml
@@ -22,6 +22,9 @@ jobs:
           sudo apt-get update
           sudo apt-get install -y libgeos-dev
           pip install cartopy==0.21.0
+          pip install zarr
+          pip install xarray[complete]
+          pip install aiohttp requests
           python unit_testing/generate_unit_test_contents.py
       - name: Commit changes
         run: |