Skip to content

Commit

Permalink
Merge pull request #40 from EcoExtreML/fix_small_typo_notebooks
Browse files Browse the repository at this point in the history
Fix tiny bugs in `run_model_in_notebook.ipynb`
  • Loading branch information
Yang authored Oct 25, 2022
2 parents 3f0ec43 + e69a73e commit 321e64d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions notebooks/run_model_in_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,16 @@
}
],
"source": [
"from pathlib import Path\n",
"\n",
"forcing_filenames_list = [\n",
" \"ZA-Kru_2000-2002_FLUXNET2015_Met.nc\",\n",
" \"AR-SLu_2010-2010_FLUXNET2015_Met.nc\",\n",
"]\n",
"\n",
"full_run = False\n",
"if full_run:\n",
" forcing_filenames_list = [file.name for file in Path(model.configs[\"ForcingPath\"]).iterdir()]\n",
" forcing_filenames_list = [file.name for file in Path(model.config[\"ForcingPath\"]).iterdir()]\n",
"\n",
"for nc_file in forcing_filenames_list:\n",
" # setup the model\n",
Expand All @@ -270,13 +272,6 @@
" print(nc_file_name)\n",
" "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 321e64d

Please sign in to comment.