-
(CIME tag I've designed a test that needs to do some pre-processing before submission if a certain CLM variable, Calling
I tried adding these to the bottom of
Is there any way to work around this? For example:
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
"case.setup --reset" will undo the action of "case.setup" |
Beta Was this translation helpful? Give feedback.
-
@samsrabin - without having looked carefully at the details, I think the easiest and most robust way to achieve what you want to do here is to make a custom test type, which lets you do custom actions at various stages in a python framework. This is probably easiest to show in person or by zoom call... would you like to schedule a time to go over this? Or if you want to look at some examples yourself, you can look in https://github.com/ESMCI/cime/tree/master/CIME/SystemTests and https://github.com/ESCOMP/CTSM/tree/master/cime_config/SystemTests - the latter for CTSM-specific tests, which I think is where yours would belong. See also https://github.com/ESCOMP/CTSM/blob/master/cime_config/config_tests.xml. By the way: thank you very much for working on adding a new test for the functionality you're adding! |
Beta Was this translation helpful? Give feedback.
@samsrabin - without having looked carefully at the details, I think the easiest and most robust way to achieve what you want to do here is to make a custom test type, which lets you do custom actions at various stages in a python framework. This is probably easiest to show in person or by zoom call... would you like to schedule a time to go over this? Or if you want to look at some examples yourself, you can look in https://github.com/ESMCI/cime/tree/master/CIME/SystemTests and https://github.com/ESCOMP/CTSM/tree/master/cime_config/SystemTests - the latter for CTSM-specific tests, which I think is where yours would belong. See also https://github.com/ESCOMP/CTSM/blob/master/cime_config/c…