Skip to content

StateDMI / Command / CompareIrrigationPracticeTSFiles


Overview

The CompareIrrigationPracticeTSFiles command (for StateCU) compares two StateCU irrigation practice time series files (*.ipy) to determine data differences. Time series values are formatted as strings using the precision and are checked for differences. The list of objects from the first file is used as the "master". Currently, CU Locations and crops at a location that are found in the second file but are not in the first are ignored.

Output is printed to the log file.

Command Editor

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

CompareIrrigationPracticeTSFiles Command Editor

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

Command Syntax

The command syntax is as follows:

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

Command Parameters

Parameter               Description Default          
InputFile1
required
The name of the first file to read. None – must be specified.
InputFile2
required
The name of the second file to read. None – must be specified.
Precision The number of digits after the decimal point to compare for crop area values. Higher precision will result in more differences. The precision for efficiency values always defaults to 2. 3

Examples

See the automated tests.

Troubleshooting

See the main troubleshooting documentation

See Also