StateDMI / Command / SetWellDemandTSMonthlyConstant
Overview
The SetWellDemandTSMonthlyConstant
command sets well demand time series (monthly) data to a constant value.
The output period can be set or will default to that defined by the most recent
SetOutputPeriod
command.
If a matching time series is not found, it can be added to the list of time series (at the end).
The values that are set are treated the same as observations from HydroBase.
To ensure that set values remain,
use the SetWellDemandTSMonthlyConstant
command after other commands that may modify the time series.
Command Editor
The following dialog is used to edit the command and illustrates the command syntax.
SetWellDemandTSMonthlyConstant
Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
SetWellDemandTSMonthlyConstant(Parameter="Value",...)
Command Parameters
Parameter | Description | Default |
---|---|---|
ID required |
A single well station identifier to match or a pattern using wildcards (e.g., 20* ). |
None – must be specified. |
Constant |
A constant well demand value. | None – must be specified. |
SetStart |
The start of the period for the set, in a standard date/time format for monthly data (e.g., YYYY-MM or MM/YYYY ). |
The output period start. |
SetEnd |
The end of the period for the set, in a standard date/time format for monthly data (e.g., YYYY-MM or MM/YYYY ). |
The output period end. |
RecalcLimits |
If True , then the constant values will be treated as observations and the historical averages will be recalculated with the values. False will result in the time series being set but the previous averages remaining. The averages are used with fill commands. |
True |
IfNotFound |
Used for error handling, one of the following:
|
Warn |
Examples
See the automated tests.
Troubleshooting
See Also
SetWellDemandTSMonthly
commandFillWellDemandTSMonthlyAverage
commandFillWellDemandTSMonthlyConstant
commandFillWellDemandTSMonthlyPattern
commandSetOutputPeriod
command