StateDMI / Command / CheckDiversionHistoricalTSMonthly
Overview
The CheckDiversionHistoricalTSMonthly
command (for StateMod)
checks diversion historical monthly time series 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.
CheckDiversionHistoricalTSMonthly
Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
CheckDiversionHistoricalTSMonthly(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:
|
Warn |
Examples
See the automated tests.
The following excerpt from a command file illustrates how diversion historical time series can be checked and written to a StateMod file:
#
# Create diversion historical monthly time series file
#
WriteDiversionHistoricalTSMonthlyToStateMod(OutputFile="..\STATEMOD\rg2007.ddh")
#
# Check the results
CheckDiversionHistoricalTSMonthly(ID="*")
WriteCheckFile(OutputFile="ddh.commands.StateDMI.check.html")
Troubleshooting
See Also
WriteCheckFile
command