Skip to content

Commit

Permalink
IP-242 - Update documentation notebook to Python 3.11.
Browse files Browse the repository at this point in the history
  • Loading branch information
owenlittlejohns committed Jun 20, 2024
1 parent 8680826 commit cd2d7da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
5 changes: 3 additions & 2 deletions docs/Harmony_Regridding_Service_User_Documentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"Other Python requirements are listed in `docs/pip_requirements.txt`. It is recommended to install all required packages via the following commands:\n",
"\n",
"```bash\n",
"$ conda create --name regridder-demo python=3.10 --channel conda-forge --channel defaults -y\n",
"$ conda create --name regridder-demo python=3.11 --channel conda-forge --channel defaults -y\n",
"$ conda activate regridder-demo\n",
"$ pip install -r pip_requirements.txt\n",
"```\n",
Expand Down Expand Up @@ -177,6 +177,7 @@
"player_grid = pnw.Player(\n",
" name='time', start=0, end=23, loop_policy='once', interval=200, width=900\n",
")\n",
"\n",
"ax = (\n",
" ds_grid.Q850.interactive(loc='bottom', width=900, height=600)\n",
" .isel(time=player_grid)\n",
Expand Down Expand Up @@ -291,7 +292,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.10"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down
17 changes: 9 additions & 8 deletions docs/pip_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
#
# Example conda environment creation:
#
# conda create --name regridder-docs python=3.10 --channel conda-forge \
# conda create --name regridder-docs python=3.11 --channel conda-forge \
# --channel defaults -y
#
# pip install -r pip_requirements.txt
#
###############################################################################
curlify~=2.2.1
harmony-py~=0.4.6
hvplot~=0.8.3
matplotlib~=3.7.1
netCDF4~=1.6.3
notebook~=6.5.3
panel~=0.14.4
xarray~=2023.1.0
harmony-py~=0.4.15
holoviews~=1.18.3 # Mitigates deprecation warning from hvplot
hvplot~=0.10.0
matplotlib~=3.7.5
netCDF4~=1.6.5
notebook~=7.2.1
panel~=1.4.4
xarray~=2024.5.0

0 comments on commit cd2d7da

Please sign in to comment.