From 390f501221619a3e57ced0f3bd27be2302302f2a Mon Sep 17 00:00:00 2001 From: stella-bourdin Date: Mon, 25 Nov 2024 15:49:03 +0000 Subject: [PATCH 1/3] Add disclaimer about python 3.13 --- docs/user_guide/install.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/user_guide/install.rst b/docs/user_guide/install.rst index 8ef8444..0c56a84 100644 --- a/docs/user_guide/install.rst +++ b/docs/user_guide/install.rst @@ -5,6 +5,7 @@ To install the package, you can use ``pip``:: pip install huracanpy -This can fail with older python versions due to issues with installing cartopy through -pip. If this happens, use conda to install cartopy first -(e.g. ``conda install -c conda-forge cartopy``), then install huracanpy as normal \ No newline at end of file +Nota Bene: + +#. We support Python 3.8 to 3.12. In particular, Python 1.13 is not currently supported due to one of the dependencies not supporting it. +#. The installation may fail due to issues with installing cartopy through pip. If this happens, use conda to install cartopy first (e.g. ``conda install -c conda-forge cartopy``), then install huracanpy as normal. \ No newline at end of file From 94040953c60ff2426e5441056091226f0e3c6365 Mon Sep 17 00:00:00 2001 From: Leo Saffin Date: Tue, 19 Nov 2024 15:40:35 +0000 Subject: [PATCH 2/3] Add ipykernel to docs requirements (to allow readthedocs to run the notebooks) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index cf5197b..40bccdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ docs = [ "nbsphinx", "IPython", "sphinx-design", + "ipykernel" ] [build-system] From f6265cf2a391394b9e66ee4ab68b3e79a306093f Mon Sep 17 00:00:00 2001 From: stella-bourdin Date: Mon, 9 Dec 2024 16:41:58 +0000 Subject: [PATCH 3/3] Fix accessor pb by removing .copy() in init --- huracanpy/_accessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/huracanpy/_accessor.py b/huracanpy/_accessor.py index 8b07d42..467bd39 100644 --- a/huracanpy/_accessor.py +++ b/huracanpy/_accessor.py @@ -26,7 +26,7 @@ def nunique(self): @xr.register_dataset_accessor("hrcn") class HuracanPyDatasetAccessor: def __init__(self, dataset): - self._dataset = dataset.copy() + self._dataset = dataset # %% Save def save(self, filename):