Skip to content

StateDMI / Command / FillWellStationsFromNetwork


Overview

The FillWellStationsFromNetwork command (for StateMod) fills missing data in well stations, using a StateMod network for data. This command is usually used after filling from other sources (e.g., HydroBase), because the information in the network file may have been specified mainly for the diagram and therefore does not necessarily match official data sources. It is assumed that the network has been read in a previous command (e.g., when the list of well stations was originally read).

Command Editor

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

FillWellStationsFromNetwork command editor

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

Command Syntax

The command syntax is as follows:

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

Command Parameters

Parameter             Description Default          
ID A single well station identifier to match or a pattern using wildcards (e.g., 20*). None – must be specified.
IfNotFound Used for error handling, one of the following:
  • Fail – generate a failure message if the ID is not matched
  • Ignore – ignore (don’t add and don’t generate a message) if the ID is not matched
  • Warn – generate a warning message if the ID is not matched
Warn

Examples

See the automated tests.

The following example illustrates how to fill well station names from the network. A command to fill from HydroBase or another source will often be run before the second command below.

ReadWellStationsFromNetwork(InputFile="sp2005.net")
FillWellStationsFromNetwork(ID="*")

Troubleshooting

See the main troubleshooting documentation

See Also