simple_compareΒΆ
simple_compare is a script in CIMEROOT/scripts/Tools.
$ ./simple_compare --help
usage:
simple_compare <Path to gold namelist file> <Path to non-namelist file> [-c <CASEBASEID>] [--verbose]
OR
simple_compare --help
[1mEXAMPLES:[0m
[1;32m# Compare files[0m
> simple_compare baseline_dir/test/file mytestarea/file -c <CASE>
Compare files in a normalized way. Used by create_test for diffing non-
namelist files.
positional arguments:
gold_file Path to gold file
new_file Path to file to compare against gold
optional arguments:
-h, --help show this help message and exit
-d, --debug Print debug information (very verbose) to file
/Users/sacks/cime/scripts/Tools/simple_compare.log
(default: False)
-v, --verbose Add additional context (time and file) to log messages
(default: False)
-s, --silent Print only warnings and error messages (default:
False)
-c CASE, --case CASE The case base id (<TESTCASE>.<GRID>.<COMPSET>). Helps
us normalize data. (default: None)