Skip to content

StateDMI / Command / CheckStreamEstimateStations


Overview

The CheckStreamEstimateStations command (for StateMod) checks stream estimate stations data for problems. The command should usually be used with a WriteCheckFile command at the end of a command file.

Command Editor

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

CheckStreamEstimateStations Command Editor

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

Command Syntax

The command syntax is as follows:

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

Command Parameters

Parameter             Description Default          
ID The identifier for the location(s) to check. Use * to match a pattern. None – must be specified.
IfNotFound One of the following:
  • Fail – generate a failure message if the location identifier is not matched
  • Ignore – ignore (don’t generate a message) if the location identifier is not matched
  • Warn – generate a warning message if the location identifier is not matched
Warn

Examples

See the automated tests.

The following excerpt from a command file illustrates how stream estimate stations can be checked and written to a StateMod file:

#
#  Create stream gage stations file
#
WriteStreamEstimateStationsToStateMod(OutputFile="..\STATEMOD\cm2005.ses")
#
# Check the results
CheckStreamEstimateStations (ID="*")
WriteCheckFile(OutputFile="ses.commands.StateDMI.check.html")

Troubleshooting

See the main troubleshooting documentation

See Also