-
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.
Merge branch 'BGC_updates_for_cesm2_2'
- Loading branch information
Showing
7 changed files
with
73 additions
and
15 deletions.
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
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
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
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
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
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
12 changes: 11 additions & 1 deletion
12
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,11 @@ | ||
./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=latest+cocco | ||
elif [[ "${ocn_bgc_config}" == "cesm2.1" ]]; then | ||
./xmlchange OCN_BGC_CONFIG=cesm2.1+cocco | ||
elif [[ "${ocn_bgc_config}" != *"cocco"* ]]; then | ||
echo "ERROR: OCN_BGC_CONFIG=${ocn_bgc_config} does not have equivalent option with coccolithophores" | ||
exit 1 | ||
fi |