You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In SOBEK 3.4 and previous versions, results are written to the following file: *.dsproj_data/<flowmodel name>_output/work/morph-gr.his.

In this tutorial we will

  • use DeltaShell scripting to read this HIS file
  • export results to csv file

Before starting this tutorial you need:

  • to have successfully finished a morphological simulation with SOBEK
  • to have followed or understand this tutorial

Step-by-step guide

  1. Start DeltaShell and open your Flow model
  2. In the toolbox, open a new script
  3. Start your script by importing the necessary modules

    import os
    from ModellerFunctions import dsget
  4. Next, use dsget to retrieve your Flow model location of the hisfile:

    flow = dsget.GetFlow1DModel()
    print(dsget.GetMorHisFilePath(flow))

  • No labels