StateDMI / Command / ReadNetworkFromStateMod
Overview
The ReadNetworkFromStateMod
command (for StateMod)
reads the generalized network from a StateMod XML network file.
The network can then be manipulated and utilized by other commands.
Normally the generalized network is edited interactively in StateDMI
(or StateMod GUI) and is used to generate lists of stations, for further processing.
However, this command can be used to read the network and allow
manipulation based on river upstream/downstream connectivity.
See also commands like
ReadDiversionStationsFromNetwork
,
which read a subset of the network, to facilitate creation of specific model data files.
Command Editor
The following dialog is used to edit the command and illustrates the command syntax.
ReadNetworkFromStateMod
Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
ReadNetworkFromStateMod(Parameter="Value",...)
Command Parameters
Parameter | Description | Default |
---|---|---|
InputFile required |
The name of the StateMod XML network file to read. | None – must be specified. |
Examples
See the automated tests.
Troubleshooting
See the main troubleshooting documentation
See Also
ReadDiversionStationsFromNetwork
commandWriteNetworkToStateMod
command