Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This is a tutorial of level 'beginner'. If you have not done so already, familiarise yourself with the DeltaShell User interface here before starting this tutorial.

This tutorial requires no knowledge of Python.

 

This tutorial is for users that want to run many computations automatically in a batch run. We are going to make use of the console interface of DeltaShell, a .bat script and a single Python script to do so. Finally we will discuss some ways in which this simple set-up can be expanded to more elaborate batch schemes.

This tutorial assumes that you have a SOBEK 3 model at your disposal. If you have not, follow this tutorial first to build one.

Step-by-step guide

  1. Navigate to the directory in which you model (*.dsproj) is located. If you have no model, follow this tutorial first to build one.
  2. Create a new .bat file in the same directory with your favorite text editor. In the bat file

    Code Block
    languagepowershell
    firstline1
    linenumberstrue
    collapsetrue
    echo 'a'

 

Info

Content by Label
showLabelsfalse
max5
spacesSobek
sortmodified
showSpacefalse
reversetrue
typepage
labelstutorial tut-scripting