save_provenanceΒΆ

save_provenance is a script in CIMEROOT/scripts/Tools.

$ ./save_provenance --help
usage: 
save_provenance <MODE> [<casedir>] [--verbose]
OR
save_provenance --help

EXAMPLES:
    # Save run (timing) provenance for current case 
    > save_provenance postrun

This tool provide command-line access to provenance-saving functionality

positional arguments:
  {build,prerun,postrun}
                        Phase for which to save provenance. prerun is mostly
                        for infrastructure testing; it does not make sense to
                        store this information manually otherwise
  caseroot              Case directory (default:
                        /Users/sacks/cime/scripts/Tools)

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Print debug information (very verbose) to file
                        /Users/sacks/cime/scripts/Tools/save_provenance.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)
  -l LID, --lid LID     Force system to save provenance with this LID
                        (default: None)