StateDMI / Command / CompareCropPatternTSFiles
Overview
The CompareCropPatternTSFiles
command (for StateCU)
compares two StateCU crop pattern time series files (*.cds
) 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.
CompareCropPatternTSFiles
Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
CompareCropPatternTSFiles(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. | 3 |
Examples
See the automated tests.
Troubleshooting
See Also
CompareFiles
commandCompareIrrigationPracticeTSFiles
command