Skip to content

Commit e69a73e

Browse files
author
Yang
committed
one small typo and missing import
1 parent 3f0ec43 commit e69a73e

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

notebooks/run_model_in_notebook.ipynb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,16 @@
245245
}
246246
],
247247
"source": [
248+
"from pathlib import Path\n",
249+
"\n",
248250
"forcing_filenames_list = [\n",
249251
" \"ZA-Kru_2000-2002_FLUXNET2015_Met.nc\",\n",
250252
" \"AR-SLu_2010-2010_FLUXNET2015_Met.nc\",\n",
251253
"]\n",
252254
"\n",
253255
"full_run = False\n",
254256
"if full_run:\n",
255-
" forcing_filenames_list = [file.name for file in Path(model.configs[\"ForcingPath\"]).iterdir()]\n",
257+
" forcing_filenames_list = [file.name for file in Path(model.config[\"ForcingPath\"]).iterdir()]\n",
256258
"\n",
257259
"for nc_file in forcing_filenames_list:\n",
258260
" # setup the model\n",
@@ -270,13 +272,6 @@
270272
" print(nc_file_name)\n",
271273
" "
272274
]
273-
},
274-
{
275-
"cell_type": "code",
276-
"execution_count": null,
277-
"metadata": {},
278-
"outputs": [],
279-
"source": []
280275
}
281276
],
282277
"metadata": {

0 commit comments

Comments
 (0)