Skip to content

Commit

Permalink
Remove versioning from conda env in notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Nov 7, 2024
1 parent ecdb536 commit c48c413
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 2,120 deletions.
8 changes: 4 additions & 4 deletions docs/demos/1-25-23-cwss-seminar/introduction-to-xcdat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
"First, create the conda environment:\n",
"\n",
"```bash\n",
"conda create -n xcdat_notebook_0.7.3 -c conda-forge xcdat=0.7.3 xesmf matplotlib ipython ipykernel cartopy nc-time-axis gsw-xarray jupyter pooch\n",
"conda create -n xcdat_notebook -c conda-forge xcdat xesmf matplotlib ipython ipykernel cartopy nc-time-axis gsw-xarray jupyter pooch\n",
"```\n",
"\n",
"Then install the kernel from the `xcdat_notebook_0.7.3` environment using `ipykernel` and name the kernel with the display name (e.g., `xcdat_notebook_0.7.3`):\n",
"Then install the kernel from the `xcdat_notebook` environment using `ipykernel` and name the kernel with the display name (e.g., `xcdat_notebook`):\n",
"\n",
"```bash\n",
"python -m ipykernel install --user --name xcdat_notebook_0.7.3 --display-name xcdat_notebook_0.7.3\n",
"python -m ipykernel install --user --name xcdat_notebook --display-name xcdat_notebook\n",
"```\n",
"\n",
"Then to select the kernel `xcdat_notebook_0.7.3` in Jupyter to use this kernel.\n"
"Then to select the kernel `xcdat_notebook` in Jupyter to use this kernel.\n"
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions docs/examples/climatology-and-departures.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@
"First, create the conda environment:\n",
"\n",
"```bash\n",
"conda create -n xcdat_notebook_0.7.3 -c conda-forge xcdat=0.7.3 xesmf matplotlib ipython ipykernel cartopy nc-time-axis gsw-xarray jupyter pooch\n",
"conda create -n xcdat_notebook -c conda-forge xcdat xesmf matplotlib ipython ipykernel cartopy nc-time-axis gsw-xarray jupyter pooch\n",
"```\n",
"\n",
"Then install the kernel from the `xcdat_notebook_0.7.3` environment using `ipykernel` and name the kernel with the display name (e.g., `xcdat_notebook_0.7.3`):\n",
"Then install the kernel from the `xcdat_notebook` environment using `ipykernel` and name the kernel with the display name (e.g., `xcdat_notebook`):\n",
"\n",
"```bash\n",
"python -m ipykernel install --user --name xcdat_notebook_0.7.3 --display-name xcdat_notebook_0.7.3\n",
"python -m ipykernel install --user --name xcdat_notebook --display-name xcdat_notebook\n",
"```\n",
"\n",
"Then to select the kernel `xcdat_notebook_0.7.3` in Jupyter to use this kernel.\n"
"Then to select the kernel `xcdat_notebook` in Jupyter to use this kernel.\n"
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions docs/examples/general-utilities.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
"First, create the conda environment:\n",
"\n",
"```bash\n",
"conda create -n xcdat_notebook_0.7.3 -c conda-forge xcdat=0.7.3 xesmf matplotlib ipython ipykernel cartopy nc-time-axis gsw-xarray jupyter pooch\n",
"conda create -n xcdat_notebook -c conda-forge xcdat xesmf matplotlib ipython ipykernel cartopy nc-time-axis gsw-xarray jupyter pooch\n",
"```\n",
"\n",
"Then install the kernel from the `xcdat_notebook_0.7.3` environment using `ipykernel` and name the kernel with the display name (e.g., `xcdat_notebook_0.7.3`):\n",
"Then install the kernel from the `xcdat_notebook` environment using `ipykernel` and name the kernel with the display name (e.g., `xcdat_notebook`):\n",
"\n",
"```bash\n",
"python -m ipykernel install --user --name xcdat_notebook_0.7.3 --display-name xcdat_notebook_0.7.3\n",
"python -m ipykernel install --user --name xcdat_notebook --display-name xcdat_notebook\n",
"```\n",
"\n",
"Then to select the kernel `xcdat_notebook_0.7.3` in Jupyter to use this kernel.\n"
"Then to select the kernel `xcdat_notebook` in Jupyter to use this kernel.\n"
]
},
{
Expand Down
Loading

0 comments on commit c48c413

Please sign in to comment.