Skip to content

StateDMI / Command / FillStreamEstimateStationsFromHydroBase


Overview

The FillStreamEstimateStationsFromHydroBase command (for StateMod) fills missing data in existing stream estimate stations, using HydroBase for data.

Command Editor

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

FillStreamEstimateStationsFromHydroBase command editor

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

Command Syntax

The command syntax is as follows:

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

Command Parameters

Parameter&nbs;&nbs;             Description Default          
ID A single stream estimate 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
CheckStructures The old convention in StateMod was to combine stream gage and stream estimate stations in the stream gage station file. A new convention that is being evaluated is to have separate stream gage and estimate station files. Because stream estimate stations are often at HydroBase structures, filling names requires checking HydroBase structures. Since this step is not needed in the new convention, it is included as an option. Specify True to check structures when filling data from HydroBase. False
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