CIME.hist_utils.copy_histfiles

CIME.hist_utils.copy_histfiles(case, suffix, match_suffix=None)[source]

Copy the most recent batch of hist files in a case, adding the given suffix.

This can allow you to temporarily “save” these files so they won’t be blown away if you re-run the case.

case - The case containing the files you want to save suffix - The string suffix you want to add to saved files, this can be used to find them later.

returns (comments, num_copied)