Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/openearth/delft3dfmpy
Browse files Browse the repository at this point in the history
  • Loading branch information
RuudHurkmans committed Dec 9, 2021
2 parents ba89ea9 + b1b7818 commit c6bdd1f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion notebooks/Usage_introduction_FM_only.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
"source": [
"# Set a default cross section\n",
"default = dfmmodel.crosssections.add_rectangle_definition(\n",
" height=5.0, width=5.0, closed=False, roughnesstype='Strickler', roughnessvalue=30)\n",
" height=5.0, width=5.0, closed=False, roughnesstype='Strickler', roughnessvalue=30, name='default')\n",
"dfmmodel.crosssections.set_default_definition(definition=default, shift=5.0)"
]
},
Expand Down
13 changes: 10 additions & 3 deletions notebooks/Usage_introduction_coupled_RRFM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"data_path = os.path.abspath('../data')\n",
"\n",
"# path to dflowfm for refining the mesh \n",
"dflowfm_path = r'D:\\3640.20\\software\\dflowfm-x64-1.2.105.67228M'\n",
"dflowfm_path = r'D:\\3640.20\\software\\dimrset_x64_3615'\n",
"\n",
"# path to write the models\n",
"output_path = r'D:\\3640.20\\modellen\\MGB_coupled_RRFM'\n",
Expand Down Expand Up @@ -426,7 +426,7 @@
"source": [
"# Set a default cross section\n",
"default = dfmmodel.crosssections.add_rectangle_definition(\n",
" height=5.0, width=5.0, closed=False, roughnesstype='Strickler', roughnessvalue=30)\n",
" height=5.0, width=5.0, closed=False, roughnesstype='Strickler', roughnessvalue=30, name='default')\n",
"dfmmodel.crosssections.set_default_definition(definition=default, shift=8.0)"
]
},
Expand Down Expand Up @@ -887,7 +887,7 @@
"outputs": [],
"source": [
"# all data and settings to create the RR-model\n",
"lu_file = os.path.join(data_path,'rasters/lgn250_greenhouse.tif')\n",
"lu_file = os.path.join(data_path,'rasters/lgn250.tif')\n",
"ahn_file = os.path.join(data_path,'rasters/ahn_250.tif')\n",
"soil_file = os.path.join(data_path,'rasters/soiltypes250.tif')"
]
Expand Down Expand Up @@ -1314,6 +1314,13 @@
"source": [
"Finished! Start the coupled model by clicking run.bat in the output model."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit c6bdd1f

Please sign in to comment.