Skip to content

Commit

Permalink
Add model.logs to user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
BSchilperoort committed Dec 10, 2024
1 parent 3aff820 commit 2aa47f3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/user_guide/03_models_obs_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,19 @@
"model_instance.initialize(cfg_file) # for some models, this step can take some time"
]
},
{
"cell_type": "markdown",
"id": "d94ad9b6",
"metadata": {},
"source": [
"Note that if anything goes wrong on the model side during initialization or at any other point in time you can inspect the model's logs. For example, if some input file is missing or corrupt.\n",
"In this case you would do:\n",
"\n",
"```py\n",
"print(model_instance.logs)\n",
"```"
]
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down

0 comments on commit 2aa47f3

Please sign in to comment.