From 493cab772ed9c8a8c4f71368fd36db503021f89b Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Wed, 28 Feb 2024 19:20:18 +0000 Subject: [PATCH 1/4] Remove xarray version specification --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index caa7d82..0917d51 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ dependencies: - jupyterlab - jupyter_server - zarr - - xarray==2022.12.0 + - xarray - geoviews - datashader - matplotlib From baddecdff449142ffd20452f9583ca288323eede Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Thu, 29 Feb 2024 16:43:52 +0000 Subject: [PATCH 2/4] Update environment for legacy sphinx-pythia-theme; add compute calls to both notebooks --- environment.yml | 13 +++++++++++-- notebooks/01BasicVisualization.ipynb | 2 +- notebooks/02InteractiveVisualization.ipynb | 4 ++-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/environment.yml b/environment.yml index 0917d51..7e2029f 100644 --- a/environment.yml +++ b/environment.yml @@ -1,8 +1,8 @@ -name: ERA5_interactive +name: ERA5-interactive channels: - conda-forge dependencies: - - python>=3.10 + - python<3.12 - jupyter-book - jupyterlab - jupyter_server @@ -20,6 +20,15 @@ dependencies: - geopandas - gcsfs - cf_xarray + - sphinx==4.5.0 + - sphinxcontrib-applehelp<1.0.7 + - sphinxcontrib-devhelp<1.0.5 + - sphinxcontrib-htmlhelp<2.0.4 + - sphinxcontrib-qthelp<1.0.6 + - sphinxcontrib-serializinghtml<1.1.9 + - pydata-sphinx-theme<=0.8 + - jsonschema-with-format-nongpl<4.19.1 + - docutils==0.16 - pip - pip: - sphinx-pythia-theme diff --git a/notebooks/01BasicVisualization.ipynb b/notebooks/01BasicVisualization.ipynb index 9ba686e..da24bd0 100644 --- a/notebooks/01BasicVisualization.ipynb +++ b/notebooks/01BasicVisualization.ipynb @@ -5568,7 +5568,7 @@ } ], "source": [ - "ds93 = msl.sel(time=slice('1993-03-13T18:00:00','1993-03-13T19:00:00')).pipe(mirror_point_at_360)\n", + "ds93 = msl.sel(time=slice('1993-03-13T18:00:00','1993-03-13T19:00:00')).compute().pipe(mirror_point_at_360)\n", "ds93" ] }, diff --git a/notebooks/02InteractiveVisualization.ipynb b/notebooks/02InteractiveVisualization.ipynb index 95f2eb7..5e206ec 100644 --- a/notebooks/02InteractiveVisualization.ipynb +++ b/notebooks/02InteractiveVisualization.ipynb @@ -170,8 +170,8 @@ "metadata": {}, "outputs": [], "source": [ - "msl93 = msl.sel(time=slice('1993-03-13T18:00:00','1993-03-14T00:00:00')).pipe(mirror_point_at_360)\n", - "t2m93 = t2m.sel(time=slice('1993-03-13T18:00:00','1993-03-14T00:00:00')).pipe(mirror_point_at_360)" + "msl93 = msl.sel(time=slice('1993-03-13T18:00:00','1993-03-14T00:00:00')).compute().pipe(mirror_point_at_360)\n", + "t2m93 = t2m.sel(time=slice('1993-03-13T18:00:00','1993-03-14T00:00:00')).compute().pipe(mirror_point_at_360)" ] }, { From ccaa7b54d54062d84765c9573e4df4974cc061f0 Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Thu, 29 Feb 2024 16:46:39 +0000 Subject: [PATCH 3/4] replace dash with underscore in environment name --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 7e2029f..e1bd752 100644 --- a/environment.yml +++ b/environment.yml @@ -1,4 +1,4 @@ -name: ERA5-interactive +name: ERA5_interactive channels: - conda-forge dependencies: From 7df5acf2ab92117cbdef66766592b6f2c6031b59 Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Thu, 29 Feb 2024 18:25:47 +0000 Subject: [PATCH 4/4] Document pinned versions in environment file --- environment.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/environment.yml b/environment.yml index e1bd752..798434b 100644 --- a/environment.yml +++ b/environment.yml @@ -20,6 +20,10 @@ dependencies: - geopandas - gcsfs - cf_xarray +# +# The balance of this environment file pins several libraries in order for +# to satisfy dependencies for the sphinx-pythia-theme 2022.3.22 package. +# - sphinx==4.5.0 - sphinxcontrib-applehelp<1.0.7 - sphinxcontrib-devhelp<1.0.5