Skip to content

Commit 8680668

Browse files
authored
Merge pull request #1029 from CLIMADA-project/feature/update_euler_guide_petals
Add instructions to install climada petals on Euler
2 parents 95052b2 + 25e4332 commit 8680668

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Code freeze date: YYYY-MM-DD
1111
### Dependency Changes
1212

1313
### Added
14+
- Added instructions to install Climada petals on Euler cluster in `doc.guide.Guide_Euler.ipynb` [#1029](https://github.com/CLIMADA-project/climada_python/pull/1029)
1415

1516
### Changed
1617
- `Hazard.local_exceedance_intensity`, `Hazard.local_return_period` and `Impact.local_exceedance_impact`, `Impact.local_return_period`, using the `climada.util.interpolation` module: New default (no binning), binning on decimals, and faster implementation [#1012](https://github.com/CLIMADA-project/climada_python/pull/1012)

doc/guide/Guide_Euler.ipynb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"cell_type": "markdown",
122122
"metadata": {},
123123
"source": [
124-
"### 4. Install climada\n",
124+
"### 4. Install Climada\n",
125125
"\n",
126126
"There are two options. Either install from the downloaded repository (option A), or use a particular released version (option B).\n",
127127
"\n",
@@ -132,6 +132,7 @@
132132
"cd climada_python\n",
133133
"pip install -e .\n",
134134
"```\n",
135+
"If you need to work with a specific branch of Climada, you can do so by checking out to the target branch `your_branch` by running `git checkout your_branch` after having cloned the Climada repository and before running `pip install -e .`.\n",
135136
"\n",
136137
"#### option B\n",
137138
"\n",
@@ -190,6 +191,21 @@
190191
"and the Wiki https://scicomp.ethz.ch/wiki/Transition_from_LSF_to_Slurm for a mapping of `lsf` commands to their `slurm` equivalents."
191192
]
192193
},
194+
{
195+
"cell_type": "markdown",
196+
"metadata": {},
197+
"source": [
198+
"### 7. Optional: Install Climada Petals\n",
199+
"\n",
200+
"To install Climada Petals, repeat the steps described in step 4A, but replacing the climada_python with the climada_petals repository:\n",
201+
"```bash\n",
202+
"cd /cluster/project/climate/$USER # or wherever you plan to download the repository\n",
203+
"git clone https://github.com/CLIMADA-project/climada_petals.git # unless this has been done before\n",
204+
"cd climada_petals\n",
205+
"pip install -e .\n",
206+
"```"
207+
]
208+
},
193209
{
194210
"cell_type": "markdown",
195211
"metadata": {},

0 commit comments

Comments
 (0)