Skip to content

StateDMI / Command / WriteWellStationsToList


Overview

The WriteWellStationsToList command (for StateMod) writes well stations data to a delimited file. In addition to the main station file, files with suffixes _Collections, _Depletions, and _ReturnFlows are written, containing secondary station information.

Command Editor

The following dialog is used to edit the command and illustrates the command syntax.

WriteWellStationsToList command editor

WriteWellStationsToList Command Editor (see also the full-size image)

Command Syntax

The command syntax is as follows:

WriteWellStationsToList(Parameter="Value",...)

Command Parameters

Parameter             Description Default                
OutputFile
required
The name of the output file to write. None – must be specified.
WriteHow OverwriteFile if the file should be overwritten or UpdateFile if the file should be updated, resulting in the previous header being carried forward. OverwriteFile
Delimiter The delimiter character to use between columns. , (comma)

Examples

See the automated tests.

The following example illustrates how to create a list of well stations from a network file:

ReadWellStationsFromNetwork(InputFile="rgtw.net")
WriteWellStationsToList(OutputFile="rgtw.wes.csv")

Troubleshooting

See the main troubleshooting documentation

See Also