StateDMI / Command / CheckPenmanMonteith
Overview
The CheckPenmanMonteith
command (for StateCU)
checks the Penman-Monteith crop coefficient 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.
CheckPenmanMonteith
Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
CheckPenmanMonteith(Parameter="Value",...)
Command Parameters
Parameter | Description | Default |
---|---|---|
ID |
The name of the crop(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 example command file illustrates how Penman-Monteith coefficients can be defined, checked, and written to a StateCU file:
StartLog(LogFile="Crops_KPM.StateDMI.log")
#
# StateDMI commands to create the Penman-Monteith crop coefficients file
#
# Step 1 - read data from HydroBase
#
# Read the general ASCE standardized coefficients
ReadPenmanMonteithFromHydroBase(PenmanMonteithMethod="PENMAN-MONTEITH_ALFALFA")
#
# Step 3 - write the file
#
SortPenmanMonteith()
WritePenmanMonteithToStateCU(OutputFile="rg2007.kpm")
#
# Check the results
#
CheckPenmanMonteith(ID="*")
WriteCheckFile(OutputFile="Crops_KPM.StateDMI.check.html")
Troubleshooting
See Also
WriteCheckFile
command