compare_namelistsΒΆ

compare_namelists is a script in CIMEROOT/scripts/Tools.

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

EXAMPLES:
    # Compare namelist files
    > compare_namelists baseline_dir/test/namelistfile mytestarea/namelistfile -c <CASE>

Compare namelists. Should be called by an ACME test. Designed to not be
sensitive to order or whitespace.

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
                        /glade/work/turuncu/APPS/ufs-mrweather-
                        app/cime/scripts/Tools/compare_namelists.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)