Skip to content

Commit

Permalink
Fix model exec batfile (#1030)
Browse files Browse the repository at this point in the history
* updated notebook path

* updated path in create_model_exec_files

* updated whatsnew.md

* more appropriate hisinterval in example notebook
  • Loading branch information
veenstrajelmer authored Oct 18, 2024
1 parent 12e3830 commit 17e96bc
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 75 deletions.
4 changes: 2 additions & 2 deletions dfm_tools/modelbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ def generate_bat_file(dimr_model, dimrset_folder=None):
set partitions={nproc}
rem Partition the network and mdu
call %dimrset_folder%\x64\dflowfm\scripts\run_dflowfm.bat "--partition:ndomains=%partitions%:icgsolver=6" %MDU_file%
call %dimrset_folder%\x64\bin\run_dflowfm.bat "--partition:ndomains=%partitions%:icgsolver=6" %MDU_file%
rem Execute the simulation
call %dimrset_folder%\x64\dimr\scripts\run_dimr_parallel.bat %partitions% {dimr_name}
call %dimrset_folder%\x64\bin\run_dimr_parallel.bat %partitions% {dimr_name}
rem To prevent the DOS box from disappearing immediately: enable pause on the following line
pause
Expand Down
146 changes: 73 additions & 73 deletions docs/notebooks/modelbuilder_example.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fix
- fixed cmems-nrt insitu again by dropping station with varying coordinates again in [#1023](https://github.com/Deltares/dfm_tools/pull/1023)
- update executable paths in batfile created by `dfmt.create_model_exec_files()` in [#1030](https://github.com/Deltares/dfm_tools/pull/1030)


## 0.29.0 (2024-09-27)
Expand Down

0 comments on commit 17e96bc

Please sign in to comment.