You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to add a command-line interface, similar to wflow_cli.exe to the repository for linux users.
Implementation Description
This can be achieved by installing Julia plus the required packages, and a bash script that behaves similar to wflow_cli.exe. The following script already does what is needed.
#!/bin/bash# this is a simple wflow runner that behaves in a similar way as windows wflow_cli.exe# but calls the julia code directlysource~/.bash_profile
if [ -z$1 ]
thenecho"No .toml file is set, please define the .toml file as input argument"exit 1
fiexport toml=$1# check if .toml exists, if not return errorif [ !-f$toml ]
thenecho".toml file $toml cannot be found. Please check if the path is correctly set."exit 1
fi
julia_cmd="julia -e 'using Wflow; Wflow.run()' '$toml'"export julia_cmd
echo"Running Wflow julia with the following command:"echo$julia_cmdeval"$julia_cmd"
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. We do automatically create Linux binaries for every release, and their are stored on the (Deltares) P-drive. I believe that there is/was some internal discussion on sharing these binaries through official Deltares channels (legal aspects), and I don't know what the current status is. I'll share the path to the Linux binaries on the P drive with you.
Feature type
Adding new functionality
Improvement Description
It would be helpful to add a command-line interface, similar to
wflow_cli.exe
to the repository for linux users.Implementation Description
This can be achieved by installing Julia plus the required packages, and a bash script that behaves similar to
wflow_cli.exe
. The following script already does what is needed.Additional Context
No response
The text was updated successfully, but these errors were encountered: