Skip to content

Commit 930a3af

Browse files
Incorporate suggestions from review
1 parent e05f34f commit 930a3af

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

doc/guide/Guide_Euler.ipynb

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@
4444
"cell_type": "markdown",
4545
"metadata": {},
4646
"source": [
47-
"\n",
48-
"## Climada installation in a virtual environment\n",
49-
"\n",
50-
"Climada is pre-installed and available in the default pip environment of Euler."
47+
"## Climada installation in a virtual environment"
5148
]
5249
},
5350
{
@@ -90,10 +87,10 @@
9087
"envname=climada_env\n",
9188
"\n",
9289
"# create environment\n",
93-
"python -m venv --system-site-packages ~/venv/$envname\n",
90+
"python -m venv --system-site-packages /cluster/project/climate/$USER/venv/$envname\n",
9491
"\n",
9592
"# acitvate it\n",
96-
". ~/venv/$envname/bin/activate\n",
93+
". /cluster/project/climate/$USER/venv/$envname/bin/activate\n",
9794
"\n",
9895
"# install python kernel (to be used in JupyterHub, s.b.)\n",
9996
"python -m ipykernel install --user --name $envname\n",
@@ -130,7 +127,9 @@
130127
"\n",
131128
"#### option A\n",
132129
"```bash\n",
133-
"cd path/to/local/git/climada_python\n",
130+
"cd /cluster/project/climate/$USER # or wherever you plan to download the repository\n",
131+
"git clone https://github.com/CLIMADA-project/climada_python.git # unless this has been done before\n",
132+
"cd climada_python\n",
134133
"pip install -e .\n",
135134
"```\n",
136135
"\n",
@@ -209,6 +208,7 @@
209208
"For using climada inside the jupyter notebook, you need to create a customized `jupyterlabrc` file by running the following lines:\n",
210209
"\n",
211210
"```bash\n",
211+
"mkdir -p ~/.config/euler/jupyterhub\n",
212212
"cat > ~/.config/euler/jupyterhub/jupyterlabrc <<EOF\n",
213213
"\n",
214214
"module purge\n",
@@ -453,11 +453,6 @@
453453
"\n",
454454
"Once the Jupyterlab has started, open a Python notebook and stick to the default kernel."
455455
]
456-
},
457-
{
458-
"cell_type": "markdown",
459-
"metadata": {},
460-
"source": []
461456
}
462457
],
463458
"metadata": {

0 commit comments

Comments
 (0)