simple_compare

simple_compare is a script in CIMEROOT/CIME/Tools.

$ ./simple_compare --help
usage: 
simple_compare <Path to gold namelist file> <Path to non-namelist file> [-c <CASEBASEID>] [--verbose]
OR
simple_compare --help

EXAMPLES:
    # Compare files
    > 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

options:
  -h, --help            show this help message and exit
  -c CASE, --case CASE  The case base id (<TESTCASE>.<GRID>.<COMPSET>). Helps
                        us normalize data. (default: None)

Logging options:
  -d, --debug           Print debug information (very verbose) to file /home/r
                        unner/work/cime/cime/CIME/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)