Skip to content

Commit 9e2681c

Browse files
committed
update text in the notebooks
1 parent 9f5dbd2 commit 9e2681c

4 files changed

Lines changed: 24 additions & 18 deletions

File tree

docs/notebooks/run_model_on_different_infra.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"cell_type": "markdown",
66
"metadata": {},
77
"source": [
8-
"# Running the STEMMUS_SCOPE model with different options\n",
9-
"## Which options are available?\n",
10-
"This notebook shows steps to run the STEMMUS_SCOPE model, including preprocessing and postprocessing. STEMMUS_SCOPE files are located in a repository https://github.com/EcoExtreML/STEMMUS_SCOPE. Then specify the path to a config file e.g.`config_file_template.txt`, executable file `STEMMUS_SCOPE` or source code `STEMMUS_SCOPE/src` in the cells below. There are already config files for users on Snellius and CRIB, see `config_file_snellius.txt`, `config_file_crib.txt`. Choose how do you want to run the model:\n",
8+
"# Running the STEMMUS_SCOPE model on a system\n",
9+
"\n",
10+
"This notebook shows steps to run the STEMMUS_SCOPE model, including preprocessing and postprocessing. STEMMUS_SCOPE files are located in a repository https://github.com/EcoExtreML/STEMMUS_SCOPE. Then specify the path to a config file e.g.`config_file_template.txt`, executable file `STEMMUS_SCOPE` or source code `STEMMUS_SCOPE/src` in the cells below. There are already config files for users on Snellius and CRIB, see `config_file_snellius.txt`, `config_file_crib.txt`. Depending on your system (OS, Matlab availability, etc.), there are a few ways you can run the model. Choose how do you want to run the model:\n",
1111
"\n",
1212
"\n",
1313
"[**Executable file**](#1-using-executable-file)\n",
@@ -229,7 +229,7 @@
229229
"cell_type": "markdown",
230230
"metadata": {},
231231
"source": [
232-
"Perform <echo $DISPLAY> in a terminal in the Remote Desktop (of Crib Platform), and check the output (should be similar to :1.0 ). Then execute the following line accordingly."
232+
"&emsp; If you are on CRIB, to use Jupyter interface and MATLAB license manager at the same time, first perform <echo $DISPLAY> in a terminal in the Remote Desktop of Crib Platform, and check the output which should be similar to :1.0 . Then execute the following line accordingly."
233233
]
234234
},
235235
{
@@ -238,6 +238,7 @@
238238
"metadata": {},
239239
"outputs": [],
240240
"source": [
241+
"# For CRIB users\n",
241242
"%env DISPLAY=:1.0"
242243
]
243244
},

docs/notebooks/run_model_with_different_dataset.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77
"source": [
88
"# Running the STEMMUS_SCOPE model with different dataset\n",
99
"\n",
10-
"This notebook shows how to run the STEMMUS_SCOPE model uisng the Executable file, including preprocessing and postprocessing. For postprocesisng, the file required_netcdf_variables.csv can be found at https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/utils/csv_to_nc/required_netcdf_variables.csv.\n",
10+
"This notebook shows how to run the STEMMUS_SCOPE model uisng the `Executable` file, including preprocessing and postprocessing. For postprocesisng, the file `required_netcdf_variables.csv` can be found at https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/utils/csv_to_nc/required_netcdf_variables.csv.\n",
1111
"\n",
12-
"## Which options are available?\n",
13-
"\n",
14-
"See the [Run the model with different options](./run_model_with_different_options.ipynb) for avialbale options e.g. Executable file, Matlab, Octave.\n",
15-
"The STEMMUS_SCOPE executable file is located in a repository https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/run_model_on_snellius/exe/STEMMUS_SCOPE.\n",
12+
"See the [Running the STEMMUS_SCOPE model on a system](./run_model_on_different_infra.ipynb) for different ways e.g. Executable file, Matlab, Octave.\n",
13+
"The `STEMMUS_SCOPE` executable file is located in a repository https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/run_model_on_snellius/exe/STEMMUS_SCOPE.\n",
1614
"\n",
1715
"## Which datasets are available?\n",
1816
"The config file shows how to set the paths to different data needed by the model. Check the data source on Snelius and CRIB and modify the config file accordingly:\n",

docs/notebooks/run_model_with_different_dataset_on_CRIB.ipynb

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
"\n",
99
"This notebook shows how to run the STEMMUS_SCOPE model uisng source code, including preprocessing and postprocessing. For postprocesisng, the file required_netcdf_variables.csv can be found at https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/utils/csv_to_nc/required_netcdf_variables.csv.\n",
1010
"\n",
11-
"## Which options are available?\n",
12-
"\n",
13-
"See the [Run the model with different options](./run_model_with_different_options.ipynb) for available options e.g. Executable file, Matlab, Octave.\n",
14-
"The STEMMUS_SCOPE executable file is located in a repository https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/run_model_on_snellius/exe/STEMMUS_SCOPE.\n",
11+
"See the [Running the STEMMUS_SCOPE model on a system](./run_model_on_different_infra.ipynb) for different ways e.g. Executable file, Matlab, Octave.\n",
1512
"\n",
1613
"## Which datasets are available?\n",
1714
"The config file shows how to set the paths to different data needed by the model. Check the data source on Snelius and CRIB and modify the config file accordingly:\n",
@@ -115,7 +112,7 @@
115112
"cell_type": "markdown",
116113
"metadata": {},
117114
"source": [
118-
"Perform <echo $DISPLAY> in a terminal in the Remote Desktop (of Crib Platform), and check the output (should be similar to :1.0 ). Then execute the following line accordingly."
115+
"&emsp; If you are on CRIB, to use Jupyter interface and MATLAB license manager at the same time, first perform <echo $DISPLAY> in a terminal in the Remote Desktop of Crib Platform, and check the output which should be similar to :1.0 . Then execute the following line accordingly."
119116
]
120117
},
121118
{
@@ -132,6 +129,7 @@
132129
}
133130
],
134131
"source": [
132+
"# For CRIB users\n",
135133
"%env DISPLAY=:1.0"
136134
]
137135
},
@@ -241,15 +239,24 @@
241239
"cell_type": "markdown",
242240
"metadata": {},
243241
"source": [
244-
"Perform <echo $DISPLAY> in a terminal in the Remote Desktop (of Crib Platform), and check the output (should be similar to :1.0 ). Then execute the following line accordingly."
242+
"&emsp; If you are on CRIB, to use Jupyter interface and MATLAB license manager at the same time, first perform <echo $DISPLAY> in a terminal in the Remote Desktop of Crib Platform, and check the output which should be similar to :1.0 . Then execute the following line accordingly."
245243
]
246244
},
247245
{
248246
"cell_type": "code",
249-
"execution_count": null,
247+
"execution_count": 1,
250248
"metadata": {},
251-
"outputs": [],
249+
"outputs": [
250+
{
251+
"name": "stdout",
252+
"output_type": "stream",
253+
"text": [
254+
"env: DISPLAY=:1.0\n"
255+
]
256+
}
257+
],
252258
"source": [
259+
"# for CRIB users\n",
253260
"%env DISPLAY=:1.0"
254261
]
255262
},

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav:
66
- Getting started: index.md
77
- Installation: installation_instructions.md
88
- Run the model:
9-
- Different ways to run the model: notebooks/run_model_with_different_options.ipynb
9+
- Different ways to run the model: notebooks/run_model_on_different_infra.ipynb
1010
- Site and global datasets with the executable file: notebooks/run_model_with_different_dataset.ipynb
1111
- Site and global datasets on CRIB: notebooks/run_model_with_different_dataset_on_CRIB.ipynb
1212

0 commit comments

Comments
 (0)