-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test now changes OCN_BGC_CONFIG from latest -> with_cocco or from cesm2.1 -> cesm2.1+cocco Also added a C1850ECO_ECOCESM21 compset test with ecosys_add_cocco to aux_pop_MARBL test list.
- Loading branch information
1 parent
51ed91e
commit 89bd6d8
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
cime_config/testdefs/testmods_dirs/pop/ecosys_add_cocco/shell_commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
./xmlchange OCN_BGC_CONFIG=cesm2.1+cocco | ||
# Check current value of OCN_BGC_CONFIG | ||
ocn_bgc_config=(`./xmlquery OCN_BGC_CONFIG --value`) | ||
|
||
if [[ "${ocn_bgc_config}" == "latest" ]]; then | ||
./xmlchange OCN_BGC_CONFIG=with_cocco | ||
elif [[ "${ocn_bgc_config}" == "cesm2.1" ]]; then | ||
./xmlchange OCN_BGC_CONFIG=cesm2.1+cocco | ||
fi |