Skip to content

StateDMI / Command / FillStreamGageStationsFromNetwork


Overview

The FillStreamGageStationsFromNetwork command (for StateMod) fills missing data in stream gage 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 stream gage stations was originally read).

Command Editor

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

FillStreamGageStationsFromNetwork command editor

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

Command Syntax

The command syntax is as follows:

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

Command Parameters

Parameter             Description Default          
ID A single stream gage station identifier to match or a pattern using wildcards (e.g., 20*). None – must be specified.
NameFormat The format to use when setting the name, one of:
  • StationName – use the station name from HydroBase
  • StationName_NodeType – use the first 20 characters of the name from Hydrobase + “_” + the node type.
StationName
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.

Troubleshooting

See the main troubleshooting documentation

See Also