Skip to content

StateDMI / Command / FillDiversionDemandTSMonthlyAverage


Overview

The FillDiversionDemandTSMonthlyAverage command (for StateMod) fills missing diversion demand time series (monthly) data, using average monthly values. The averages are computed immediately after reading time series (e.g., from HydroBase or a file) or calculation of the time series (e.g., from IWR/Effave). The average values that are used during data filling are printed to the log file.

Command Editor

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

FillDiversionDemandTSMonthlyAverage command editor

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

Command Syntax

The command syntax is as follows:

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

Command Parameters

Parameter             Description Default                    
ID A single diversion station identifier to match or a pattern using wildcards (e.g., 20*). None – must be specified.
FillStart The first year to fill. If not specified, fill the full period.
FillEnd The last year to fill. If not specified, fill the full period.
FillFlag If specified as a single character, data flags will be enabled for the time series and each filled value will be tagged with the specified character. The flag can then be used later to label graphs, etc. The flag will be appended to existing flags if necessary. No flag is assigned.
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