...
- Check out the 'ModellerFunctions' package from the Open Earth repository (Direct link)
- Open your project in DeltaShell. Make sure that the model:
- has at least 1 observation point
- has 'Water level (op)' enabled as output
- has successfully completed a simulation run.
- In the toolbox window, add a new script.
...
First we will import the necessary modules from the ModellerFunctions packages:
Code Block language py linenumbers true from ModellerFunctions import dsget # This module contains convenience functions for quick access from ModellerFunctions import dsplot as dpl # This module provides a more 'matplotlib' like plotting interface
With the packages imported, we need to retrieve the flow model.
Code Block language py linenumbers true # Retrieve the flow model flow = dsget.GetFlow1DModel() # Check if you have the correct model: print 'Retrieving data from model: %s' % flow.Name
- asdf
...
Related articles
Content by Label | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|