From 4a10fb757c3ed9aedf6f47f3376db3b3cbec6a79 Mon Sep 17 00:00:00 2001 From: fkuehlein Date: Fri, 2 Feb 2024 12:02:33 +0100 Subject: [PATCH] CI/MAINT: fixup 1bd9ab8 - update filepaths - add `pandoc` dependency necessary for windows build --- examples/tutorials/ClimateNetworks.ipynb | 6 +++--- setup.cfg | 1 + tests/test_climate/test_map_plot.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/tutorials/ClimateNetworks.ipynb b/examples/tutorials/ClimateNetworks.ipynb index a6ad327..852f30e 100644 --- a/examples/tutorials/ClimateNetworks.ipynb +++ b/examples/tutorials/ClimateNetworks.ipynb @@ -130,7 +130,7 @@ "metadata": {}, "outputs": [], "source": [ - "DATA_FILENAME = \"./air.mon.mean.nc\"\n", + "DATA_FILENAME = \"./data/air.mon.mean.nc\"\n", "# Indicate data source (optional)\n", "DATA_SOURCE = \"ncep_ncar_reanalysis\"\n", "# Type of data file (\"NetCDF\" indicates a NetCDF file with data on a regular\n", @@ -448,7 +448,7 @@ "kernelspec": { "display_name": "pyunicorn", "language": "python", - "name": "pyunicorn" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -460,7 +460,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.7" + "version": "3.1.0" } }, "nbformat": 4, diff --git a/setup.cfg b/setup.cfg index 0538304..e8d4759 100644 --- a/setup.cfg +++ b/setup.cfg @@ -65,6 +65,7 @@ dev = Cython >= 3.0 docs = sphinx >= 7.0 + pandoc >= 2.3 ipython >= 8.4 nbsphinx >= 0.9.3 nbsphinx-link >= 1.3.0 diff --git a/tests/test_climate/test_map_plot.py b/tests/test_climate/test_map_plot.py index cd6f557..d08317a 100644 --- a/tests/test_climate/test_map_plot.py +++ b/tests/test_climate/test_map_plot.py @@ -33,7 +33,7 @@ def test_plot(): # prepare ClimateNetwork fixture # (select subset of data to speed up loading and calculation) title = "ncep_ncar_reanalysis" - file = 'notebooks/air.mon.mean.nc' + file = 'examples/tutorials/data/air.mon.mean.nc' window = { "time_min": 0., "time_max": 0., "lat_min": 30, "lon_min": 0,