CIME.user_mod_support.apply_user_mods
- CIME.user_mod_support.apply_user_mods(caseroot, user_mods_path, keepexe=None)[source]
Recursivlely apply user_mods to caseroot - this includes updating user_nl_xxx, updating SourceMods and creating case shell_commands and xmlchange_cmds files
First remove case shell_commands files if any already exist
If this function is called multiple times, settings from later calls will take precedence over earlier calls, if there are conflicts.
keepexe is an optional argument that is needed for cases where apply_user_mods is called from create_clone